summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* <chromium> Add FirstVisuallyNonEmptyLayout support for RenderViewObserverHEAD33.0.1750.170-basedSzabolcs David2014-07-312-0/+5
| | | | | | | This is needed by the implementation of loadVisuallyCommitted in the QtWebEngine. Change-Id: Ic0fcdc00f7963ea1088a1ae910bb2dbe26e9e12c Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
* <chromium> Make localized_error work for usPierre Rossi2014-07-302-0/+16
| | | | | | | | Essentially cutting away the unnecessary part that depends on extensions. Change-Id: I8adbc77dca393ab8480e9cdea3c5c953b52c8aef Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
* Add files to the snapshot for error pages supportPierre Rossi2014-07-304-0/+998
| | | | | | | As we'll be using a few more files from the chrome layer. Change-Id: I8008b44d0dba42d7531e6c8fbc0ec050ecca736a Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
* <chromium> Fix autogenerated env.bat files for Windows builds.Michael Brüning2014-07-172-5/+3
| | | | | | | | Removes the addition of 'component=share_library' from GYP_DEFINES. This caused a build error due to missing files. Change-Id: I062e7f8ba7d28f298df4bee289e24b495875dc5f Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
* <third_party/angle> Fix crash in TSymbolTableLevel::~TSymbolTableLevel with ↵Andras Becsi2014-07-041-1/+2
| | | | | | | | | | | | | | | | | | | gcc 4.9 WebGL crashes when chromium is compiled with gcc 4.9, because TSymbolTableLevel::~TSymbolTableLevel does double delete of e.g. TFunctions because they are inserted in the table with both their name and mangled name. The fix for this should reach stable with m37. https://code.google.com/p/angleproject/issues/detail?id=651 Patch by Mike Hommey <mh+mozilla@glandium.org> https://bugzilla.mozilla.org/show_bug.cgi?id=1025576 Change-Id: I0571478759666bcb55633dd4e630c5b42216d949 Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
* <third_party/angle> Disable building libEGL.dll and libGLESv2.dll.Michael Brüning2014-07-011-1/+1
| | | | | | | This is part of using the ANGLE that is built / installed by Qt. Change-Id: Ib71d47392690dab6cf874aec13db9e98710de684 Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* <chromium> Use ANGLE libraries from the Qt build / installation.Michael Brüning2014-07-013-6/+29
| | | | | | | | | | | This moves libEGL and libGLESv2 from dependencies to libraries where needed. This also adds support for using the correct configuration of the ANGLE libraries for linking and runtime loading. Change-Id: I8c3a5eb11517bf03e921b257eeb3a34b7bc841ea Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* <chromium> Only enable robustness if the shared context is using itJocelyn Turcotte2014-06-162-2/+4
| | | | | | | | | | | | | | | | | Chromium currently assumes that all GLContexts are checking the availability of robustness on the system through the same code path. Since we're passing it a context created by Qt, and that Qt never uses EGL_EXT_create_context_robustness, the context creation fails when trying to share a non-robustness-enabled context with one that does. Fix the issue by asking the shared GLContext if it was allocated using the extension, Chromium's contexts currently always return true and the Qt context will return false. This relies on the fact that the Qt context is always the first one added to the ShareGroup and that it is going to be the one queried, but this should be reasonably reliable. Change-Id: I6456429db678f077cd8a72032711361da01e72ea Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* <third_party/WebKit> Fix key event crash on Windows.Michael Brüning2014-06-131-1/+1
| | | | | | | | | | | | This fixes the ASSERT that was triggerd on Windows in PlatformKeyboardEvent::disambiguateKeyDownEvent because we do our own conversion from native events to web events. This is the same way it was handled in the Qt specific PlatformKeyboardEvent in WebKit. Change-Id: I177c238bde1e0101b6abe9d5bbe3ba2e47908f1a Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* <chromium> [Backport] Enable icu_use_data_file on Windowsjshin@chromium.org2014-06-124-21/+38
| | | | | | | | BUG=72633,337116 Review URL: https://codereview.chromium.org/99473012 Change-Id: I70c2a17ec8a69542c850089b09e19c5873470a1a Reviewed-by: Michael Bruning <michael.bruning@digia.com>
* <third_party/icu> [Backport] Add support for icu_use_data_file=1 to icu.gyp ↵jshin@chromium.org2014-06-121-15/+14
| | | | | | | | | | on Windows BUG=72633 Review URL: https://codereview.chromium.org/111723007 Change-Id: If07088b902b8039ee109e744e46199fd9d13dc46 Reviewed-by: Michael Bruning <michael.bruning@digia.com>
* <v8> fix ARMv6 detection for v8.Zeno Albisser2014-06-041-1/+3
| | | | | | | | | | | | | The linux kernel now reports the processor information in "model name" and not in "Processor" anymore. Both should be checked for backwards compatibility. As described by: https://code.google.com/p/v8/issues/detail?id=3112#c16 Reviewed-by: Andras Becsi <andras.becsi@digia.com> Change-Id: I567a72c18f43a483e7576e880c2d383873f5660f Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <v8> Prevent V8 from overridding the RuntimeLibrary cflagsJocelyn Turcotte2014-06-041-4/+4
| | | | | | | | | | Since we're never going to statically link to the runtime library on Windows (unlink Chromium when built as a monolitic chrome.exe), make sure that our /M flag setting is also properly set for V8. Reviewed-by: Michael Bruning <michael.bruning@digia.com> Change-Id: I755c3c0bfa27e45b897a2d4d5496103913d1c6c4 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <tools/grit> GRIT: Allow grd files outside of chromium source dir.Zeno Albisser2014-06-041-0/+6
| | | | | | | | | | | | | | | | | When replacing substrings with values from a dictionary, the replacements should not be truncated to the length of src_root_dir. If the basename does not exist as a key in the resource_ids file, then fall back to an absolute path. The precedence is like: file in chromium > file basename > absolute file name. THIS SHOULD BE UPSTREAMABLE. Change-Id: I7d1da8c04515807000742aac4a6fa4db7616fd13 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com> Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* <tools/gyp> Allow letting qmake do the link stepJocelyn Turcotte2014-06-041-0/+43
| | | | | | | | | | | This adds a let_qmake_do_the_linking target variable to tell ninja not to link but rather dump the linking information from gyp in a file that we'll parse with qmake. Reviewed-by: Zoltan Arvai <zarvai@inf.u-szeged.hu> Reviewed-by: Andras Becsi <andras.becsi@digia.com> Change-Id: I753888776679e449d7a64b6bf5b47e7a60dfa827 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <tools/gyp> Add support for libc++ to xcode_emulation.pyZeno Albisser2014-06-041-0/+3
| | | | | | Change-Id: Ifbe063950d14d8388e3c8c1d6cebdfae5cbdb8ae Reviewed-by: Zeno Albisser <zeno.albisser@digia.com> Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* <tools/gyp> Fix build with toplevel-dirPierre Rossi2014-06-041-1/+6
| | | | | Change-Id: I3fcbf166978cf20f7a07d7e6bda135864054e9c1 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <third_party/icu> Do not use icu-config on eLinuxAndras Becsi2014-06-041-0/+4
| | | | | | | We require that the icu libs are in the default library seach path. Change-Id: Ia4981781f4239617831909da1250a61191a8c7dd Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <third_party/openssl> Use chacha_vec.c to avoid hard/soft float mismatch.Zeno Albisser2014-06-041-1/+12
| | | | | | | | | | But fall back to chacha_vec_arm.S when arm_neon_optional is used. Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com> Change-Id: I1ea1f03d687c4b39fe4a322abb8ddb91113a1828 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com> Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* <third_party/libvpx> LIBVPX: Add path for QtWebEngine build in Windows ↵Zoltan Arvai2014-06-041-0/+2
| | | | | | | | specific actions Change-Id: I1bcc9cbb77b10e9e60d60900b9cfd8ce283947b0 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com> Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* <third_party/WebKit> Use compositor for page popups.jbauman@chromium.org2014-06-042-0/+100
| | | | | | | | | | | | | This is essentially the last user of the legacy 2d path. BUG=271140 Review URL: https://codereview.chromium.org/171343003 git-svn-id: svn://svn.chromium.org/blink/trunk@167552 bbb929c8-8fbe-4397-9dbb-9b2b20218538 Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com> Change-Id: I131a9b5ea7487d093c716b9d50933d1ff609c1a9 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <third_party/WebKit> Use compositor with select popups.jbauman@chromium.org2014-06-042-24/+104
| | | | | | | | | | | | BUG=271575 Review URL: https://codereview.chromium.org/132173005 git-svn-id: svn://svn.chromium.org/blink/trunk@165977 bbb929c8-8fbe-4397-9dbb-9b2b20218538 Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com> Change-Id: Ic26c7821ba5bb5c377c324423d63090ed2f31ffe Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <third_party/WebKit> Disable "rubber-banding" on MacAndras Becsi2014-06-041-1/+0
| | | | | | | | | Rubber-banding is the scrolling effect on Mac when overscrolling which does not work with Qt and also causes a crash with branch 1750. Disable the feature for now. Change-Id: I89f315c2dbb1ed4362b96201566acc784e4bdf96 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <third_party/WebKit> Add missing dependency to khronos_headersAndras Becsi2014-06-041-0/+2
| | | | | | | | | This is needed since https://codereview.chromium.org/106503003 and because of our chromium patch that fixes the build with a GL ES2 configured Qt. Change-Id: I2dfa1afe1bb58227656fee798a5d2549f88c3f9d Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <third_party/WebKit> Overrideable path for perl, gperf and bison.Zoltan Arvai2014-06-041-3/+3
| | | | | | Change-Id: I9997c3dead0f7d37c2a3c45082d5114d0f1632cf Reviewed-by: Zeno Albisser <zeno.albisser@digia.com> Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* <third_party/WebKit> Remove leftovers from WebKitSystemInterfaceZeno Albisser2014-06-041-5/+0
| | | | | Change-Id: I4a494bcda0e963430ab997664728d2a96f72188f Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Fix Renderer and GPU threads on windowsPeter Varga2014-06-044-2/+10
| | | | | | | | | | | | | These threads are using the UI message loop on Windows per default. This won't work since the UI message loop is handled by Qt and the Renderer and GPU threads won't work with it properly. Force these threads for using the default message loop as they use it on Linux platform. Reviewed-by: Andras Becsi <andras.becsi@digia.com> Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com> Change-Id: I8b04ba9070912378cf1d13173ddff48e98f9a49b Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Adjust gyp defines for eLinux.Zeno Albisser2014-06-047-5/+21
| | | | | | | | | | | | | - Add Raspberry PI chipset to list of defined platforms. - Make sure to include sources for xdg support. - Do not use pkg-config-wrapper, as our sysroot pkg-config already returns absolute paths. - Use openssl for eLinux. - Use fontconfig and freetype2 for eLinux. Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com> Change-Id: Ic5266f818432b4432ed1d8a1ac07f434cb5b86e6 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Do not directly override libc symbols from the library.Zeno Albisser2014-06-042-35/+1
| | | | | | | | | Instead we export _override symbols and add the symbol renaming directly into the QtWebEngineProcess source. Reviewed-by: Andras Becsi <andras.becsi@digia.com> Change-Id: I15049609dd77be6de2a2398f25a37fff1b6f5519 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> fixup select elements.Pierre Rossi2014-06-042-3/+3
| | | | | | | | | | | We use RenderWidgetHostViewQt, not RWHVMac, even on Mac. Since some platform decisions seem to have transpired all the way to the content layer, we should simply use the web ui for select elements on mac for the time being. Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com> Change-Id: Ib430f8686862cf0958ccdbfefb8bfa36af590e97 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Cherry-pick https://codereview.chromium.org/137433002 from upstreamAndras Becsi2014-06-041-1/+3
| | | | | | | | | | | | | | This fixes the build with a cross compiler toolchain. We do not require the functionality of this script but gyp tries to run it and fails if the specified file does not exist. As the upstream issue mentions, this script is "going away soonish", until then we can keep this patch around. Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com> Change-Id: I5de88fcaf750bad4eec2d72a134a86f75a30453e Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Get rid of the gtk/pango/cairo dependencyAndras Becsi2014-06-044-4/+7
| | | | | | | | This also removes the aura dependency to chrome resources since we repack the needed resources ourselves. Reviewed-by: Zeno Albisser <zeno.albisser@digia.com> Change-Id: I0368bb36948ba9612040ed869ef818d4b8471b9b
* <chromium> Update clipboard.h to allow building clipboard_qt.cpp on all ↵Jocelyn Turcotte2014-06-041-2/+9
| | | | | | | | platforms Reviewed-by: Simon Hausmann <simon.hausmann@digia.com> Change-Id: I5fecc09e245b75d0fec16756f8d6e6b8f71a143e Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Remove the Running without renderer sandbox error messageJocelyn Turcotte2014-06-041-1/+0
| | | | | | | | | We are currently not planing to enable the sandbox and the error pollutes the auto tests output. Reviewed-by: Andras Becsi <andras.becsi@digia.com> Change-Id: I2675aa2e03394f1c03e4df6bd1b21764ed19206a Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Blacklist the skypebuttons pluginJocelyn Turcotte2014-06-041-0/+1
| | | | | | | | | | | | | | | Even though plugins are disabled it happens that the libraries are loaded and cause a crash since skypebuttons pulls Qt4 with it on Linux and creates a dynamic linking error conflicting with Qt5 symbols. Add the plugin library name to the blacklist to avoid it being loaded altogether. We have a similar fix in QtWebKit doing the same thing. Reviewed-by: Andras Becsi <andras.becsi@digia.com> Change-Id: I45abf31c4e94a8b61aff85765a91436dabae1b2e Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Declare a Qt IPC message classJocelyn Turcotte2014-06-041-0/+1
| | | | | | | | This allows Qt-specific IPC messages to be declared in QtWebEngine. Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com> Change-Id: I1b401c9c05efc8339c5cacf50f087890447b68a6 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Add seams to setup GL contexts sharing with QtQuick.Jocelyn Turcotte2014-06-044-3/+20
| | | | | | | | | This will allow us to know right before the first GL context is instantiated by Chromium so that we can install those contexts to be shared with QtQuick GL contexts as well. Change-Id: Id55337a7b42d25ac084698a23dbfab06cb273505 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Add accessors for the Qt delegated renderer integration.Jocelyn Turcotte2014-06-043-0/+14
| | | | | | | | This is needed to fetch the MessageLoop, the MailboxManager and the SyncPointManager of the GPU in-process host. Change-Id: I7f38e32b2df11da5b046f16643841d34260c11fb Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Hide the definition of MessagePumpX11::GetDefaultXDisplayAndras Becsi2014-06-041-0/+3
| | | | | | | | This should replace patch 0011 since we do not build GTK code any more. Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com> Change-Id: I08ba240fd24e2bd644229458a316fb5886dbd82b Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Fix the build with a GL ES2 configured Qt.Jocelyn Turcotte2014-06-046-1/+29
| | | | | | | | | | | | | | | | | | | | GLES/gl2.h is included through Qt public headers and the copy of Chromium is used since its include path comes before /usr/include. The problem is that this header is incompatible for some reasons, one of them being that it converts all GL function symbols from gl* to GLES2*. Qt layer code should always need to go through GL directly, so make sure that only GYP targets that depend directly on gpu.gyp, khronos.gyp or webkit_gpu.gyp will have an include path pointing to those headers. Replace all_dependent_settings with direct_dependent_settings and control which target inherits this include_dirs from its dependencies by using export_dependent_settings. Change-Id: I82ae8a5a62f7d968375b971757b2126670a02461 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Solve conflicts when including both QtOpenGL headers and ↵Jocelyn Turcotte2014-06-047-33/+41
| | | | | | | | | | resource_provider.h If resource_provider.h is going to be used to integrate delegated frame to external compositors, it should avoid conflicting with the system's gl.h. Change-Id: Ie37d6cde263157e6717cc006a0896f0b9ebdaa5d Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Build files necessary for touch and gestures.Jocelyn Turcotte2014-06-043-4/+14
| | | | | | | | Also guard the use of MessagePumpAuraX11 in events_x.cc. We need to build it to get symbols depending on base::NativeEvent. Change-Id: Ib7bb4fb1fc8692df1b8151c3d159de3d0f73076f Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Do not modify the child path.Zeno Albisser2014-06-041-1/+1
| | | | | | | | | | We currently only have a single process binary for Qt. Therefore we should not choose a different binary based on required privileges. However, this patch can only be a preliminary solution. May be we should instead implement our own ChildProcessHost. Change-Id: I03af6257c7be04ab09c9828d707d30430961a17c Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Mac: Use libc++ instead of stdlibc++.Zeno Albisser2014-06-043-15/+44
| | | | | | | | | | | | | - Add a missing include file to process_iterator_mac.cc. - Disable Chromium clang plugins. - Add a use_libcpp variable to common.gypi that can be used to build with libc++ instead of libstdc++. In this case several warnings also must be disabled. - ext/hash_map and ext/hash_set are deprecated. Use unordered containers as a replacement. Change-Id: Ief9e8901d0463f2bb62a5960cde03543b3999be1 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Add WebEngineContext to RunLoop's friends.Jocelyn Turcotte2014-06-041-0/+3
| | | | | Change-Id: I2bb2600637ac5a3473273789cd61c257d682b702 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* Update Chromium snapshot to stable version 33.0.1750.170Andras Becsi2014-06-04171-1084/+1593
| | | | | | | | | | | | | | | This is meant as a baseline commit hence it does not include the patches we need to apply for QtWebEngine. All patches should be rebased on top of this commit so we can get rid of the external patches directory. In future these baseline commits always have to include the exact Chromium version returned by version_resolver.py's currentVersion() in their first line, so that we can retrieve the patches on top to apply on the upstream repository. This also includes a ninja update. Change-Id: I60abeadb785a3b7d149c58b65ddb5a823fed3083 Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
* fix ARMv6 detection for v8.Zeno Albisser2014-05-191-1/+3
| | | | | | | | | | | | The linux kernel now reports the processor information in "model name" and not in "Processor" anymore. Both should be checked for backwards compatibility. As described by: https://code.google.com/p/v8/issues/detail?id=3112#c16 Change-Id: I8828c1a567281e0d7000106338a2033627e8e397 Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* Fix Renderer and GPU threads on windowsPeter Varga2014-05-163-1/+9
| | | | | | | | | | | | These threads are using the UI message loop on Windows per default. This won't work since the UI message loop is handled by Qt and the Renderer and GPU threads won't work with it properly. Force these threads for using the default message loop as they use it on Linux platform. Change-Id: Ie3582583e5d1644faa2875e015a0908ba148d91f Reviewed-by: Andras Becsi <andras.becsi@digia.com> Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
* Fix chrome_FileThread crash on windowsPeter Varga2014-05-141-1/+1
| | | | | | | | | The file thread won't do anyting if it uses the Qt event loop therefore it won't quit properly and this behavior leads to a crash. Thus the chromium's IO message loop should be used on Windows too. Change-Id: Ieea0ceb8bd732ed6c9ca172620511d78b0a5d95c Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* Fix the QtWebEngine build with the new yocto toolchain.Andras Becsi2014-05-141-1/+1
| | | | | | | Gyp needs pkg-config-wrapper now also on eLinux. Change-Id: Ib4dc7661cde6cd28d156b9a23845aa36f772b55e Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>