summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [ios] Removed RequestTracker dependency from WebLoadParams.HEADmastereugenebut2016-03-265-63/+5
| | | | | | | | | | | WKWebView does not allow controlling the cache so cache_mode load param is not used. BUG=597990 Review URL: https://codereview.chromium.org/1836543002 Cr-Commit-Position: refs/heads/master@{#383452}
* Revert of Make GraphicsLayer the DisplayItemClient for scrollbars composited ↵nednguyen2016-03-265-43/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | via PaintLayerCompositor. (patchset #6 id:100001 of https://codereview.chromium.org/1825193002/ ) Reason for revert: Speculative revert: this may cause crash for rasterize_and_record_micro benchmark. BUG=597391 Original issue's description: > Make GraphicsLayer the DisplayItemClient for scrollbars composited via PaintLayerCompositor. > > Currently, the DisplayItemClient is LayoutScrollbarPart. This has two > problems: the mapping between the LayoutScrollbarPart and its backing > is hard to reverse-engineer given the way the scrollbar code is set > up (LayoutScrollbarPart vs Scrollbar vs ScrollableArea), and the > fact that LayoutScrollbarPart can be painted in both non-composited > and composited modes. This distinction is important for computation > of correct visual rects. > > This can be cleaned up by replaying the painted scrollbar content > with the GraphicsLayer backing as the DisplayItemClient, which > has the correct visualRect() (i.e. bounds of GraphicsLayer). > > BUG=529938 > > Committed: https://crrev.com/8460ef8fc6125185abc1486eb61b0ca7fc9298ad > Cr-Commit-Position: refs/heads/master@{#382778} TBR=chrishtr@chromium.org,wkorman@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=529938 Review URL: https://codereview.chromium.org/1839533002 Cr-Commit-Position: refs/heads/master@{#383451}
* (reland) media: Enable Unified Media Pipeline for MSE and EME on Androidxhwang2016-03-2614-60/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | This relands commit 92d0fffc36695c099005bf05862145a89d918f28. The test failure is fixed in https://chromiumcodereview.appspot.com/1837673002/. Original Description: Enables Mojo Media on Android to support EME in the unified media pipeline. This introduces MojoCdm, MojoAudioDecoder and encrytped stream support in AndroidVideoDecodeAccelerator. This CL also enables MSE in the unified media pipeline. The fallback logic for MSE (IsUnifiedMediaPipelineEnabledForMse()) is removed. Also partially reverts f92f4e5c849c028db73fbe06912685a77b978ee4 which added "LoadType" in createMediaPlayer() to implement the fallback logic for MSE. TBR=dalecurtis@chromium.org,ddorwin@chromium.org,pfeldman@chromium.org,wolenetz@chromium.org BUG=455905,521731 TEST=Encrypted audio/video plays in default Chrome for Android build with and without unified media pipeline. Review URL: https://codereview.chromium.org/1838703002 Cr-Commit-Position: refs/heads/master@{#383450}
* Automated Commit: Committing new LKGM version 8108.0.0 for chromeos.chromeos-commit-bot2016-03-261-1/+1
| | | | Cr-Commit-Position: refs/heads/master@{#383449}
* [DevTools] Debugger::currentCallFrames returns array instead linked listkozyatinskiy2016-03-269-162/+92
| | | | | | | | | | | | We can return array instead linked list since V8JavaScriptCallFrame wrapper was removed. Method callFrameByIndex was removed because we can use currentCallFrames instead: cached when DevTools is paused and with getter when we check stack trace for DOM breakpoint. BUG=595206 R=dgozman@chromium.org Review URL: https://codereview.chromium.org/1838683002 Cr-Commit-Position: refs/heads/master@{#383448}
* Revert of Disable 2 rasterize_and_record_micro benchmarks on Linux (patchset ↵nednguyen2016-03-261-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | #1 id:1 of https://codereview.chromium.org/1831023002/ ) Reason for revert: See if the revert in https://codereview.chromium.org/1839533002/ fix the crash. Original issue's description: > Disable 2 rasterize_and_record_micro benchmarks on Linux > > BUG=597391 > CQ_EXTRA_TRYBOTS=tryserver.chromium.perf:winx64_10_perf_cq;tryserver.chromium.perf:mac_retina_perf_cq;tryserver.chromium.perf:linux_perf_cq > TBR=nednguyen@google.com > > Committed: https://crrev.com/1b9ba3a73f704481805e775df401a5bfd21ee3a9 > Cr-Commit-Position: refs/heads/master@{#383130} TBR=zhenw@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=597391 Review URL: https://codereview.chromium.org/1834043003 Cr-Commit-Position: refs/heads/master@{#383447}
* Roll src/third_party/skia/ fdc88b5aa..92271fc31 (1 commit).skia-deps-roller2016-03-261-1/+1
| | | | | | | | | | | | | | https://chromium.googlesource.com/skia.git/+log/fdc88b5aa636..92271fc31494 $ git log fdc88b5aa..92271fc31 --date=short --no-merges --format='%ad %ae %s' 2016-03-25 bsalomon Don't crash when resource path is omitted CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel TBR=bsalomon@google.com Review URL: https://codereview.chromium.org/1835763002 Cr-Commit-Position: refs/heads/master@{#383446}
* add SK_SUPPORT_LEGACY_XFERMODE_PTR for future skia CLreed2016-03-261-0/+4
| | | | | | | | | | | see skia CL https://codereview.chromium.org/1832223002/ BUG= TBR= Review URL: https://codereview.chromium.org/1835163002 Cr-Commit-Position: refs/heads/master@{#383445}
* Revert of Refine ash shelf tooltip closing on non-mash ChromeOS. (patchset ↵msw2016-03-263-76/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #4 id:60001 of https://codereview.chromium.org/1828133004/ ) Reason for revert: Memory failures, eg. https://build.chromium.org/p/chromium.memory.fyi/builders/Linux%20ChromeOS%20MSan%20Tests/builds/8340 Original issue's description: > Refine ash shelf tooltip closing on non-mash ChromeOS. > > Fixes a regression from: https://codereview.chromium.org/1816753002 > Also reverse expected behavior for touching tooltips. > (closes on stable, tests expected them to stay open...) > > Inline bubble function definitions. > Call WillDeleteShelf earlier to fix a test crash... > TODO: Encapsulate more ShelfLayoutManager code. > > BUG=595853 > TEST=ChromeOS tooltips stay open on hover; close for external touches. > R=sky@chromium.org > > Committed: https://crrev.com/1a0d283fa81e19b47fb85523f28c4a03f7dc1d24 > Cr-Commit-Position: refs/heads/master@{#383404} TBR=sky@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=595853 Review URL: https://codereview.chromium.org/1836753002 Cr-Commit-Position: refs/heads/master@{#383444}
* Switch to use download GUID to indentify download itemsqinmin2016-03-2627-512/+752
| | | | | | | | | | | | | | | | | | | | | | | | Download GUID is introduced by http://crrev.com/eef62b0282ec19ebc040785d0b7ac36de398cbc1 Unlike download Id, the GUID can live across browser sessions and will not be reused. This change switches the java class to also use the GUID. Chrome will temporarily use the old download Id as the notification Id. This is because the android notification requires an int to identify it, rather than a string. In the future, we will generate the notification Id from java side. The download Ids generated by the Android DownloadManager are not affected by this CL. However, they are only used in OMA downloads and when we call addCompletedDownload(). BUG=593020 Review URL: https://codereview.chromium.org/1809203006 Cr-Commit-Position: refs/heads/master@{#383443}
* media: Use "all_dependent_configs" for "mojo_media_config"xhwang2016-03-261-4/+4
| | | | | | | | | | | | | | | | | I saw an isssue where "content/renderer:renderer" depends on "media/mojo/services:proxy". Then content_browsertests depends on "content/renderer:renderer". Since mojo_media_config is only a public_config, when content_browsertests includes render_frame_impl.h, the defines in mojo_media_config is not defined. But when "content/renderer:renderer" includes render_frame_impl.h, those defines are defined, causing header file mismatch and weird test failures. BUG=521731 TEST=No test failure. Review URL: https://codereview.chromium.org/1837673002 Cr-Commit-Position: refs/heads/master@{#383442}
* Split ImageResourceClient into ResourceClient and ImageResourceObserver [2/2]hiroshige2016-03-2613-48/+114
| | | | | | | | | | | | | | | This CL makes LayoutImage to be no longer ResourceClient by adding imageNotifyFinished() to ImageResourceObserver, which is called around when ResourceClient::notifyFinished() would be called. This CL adds |ImageResource::m_finishedObservers| in order to avoid imageNotifyFinished() from being called multiple times. BUG=587663 Review URL: https://codereview.chromium.org/1728313003 Cr-Commit-Position: refs/heads/master@{#383441}
* Roll src/third_party/skia/ 73557f6c3..fdc88b5aa (1 commit).skia-deps-roller2016-03-261-1/+1
| | | | | | | | | | | | | | https://chromium.googlesource.com/skia.git/+log/73557f6c3f98..fdc88b5aa636 $ git log 73557f6c3..fdc88b5aa --date=short --no-merges --format='%ad %ae %s' 2016-03-25 halcanary rm src/animator/SkTime.cpp CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel TBR=bsalomon@google.com Review URL: https://codereview.chromium.org/1833353002 Cr-Commit-Position: refs/heads/master@{#383440}
* Updating trunk VERSION from 2691.0 to 2692.0chrome-cron2016-03-261-1/+1
| | | | Cr-Commit-Position: refs/heads/master@{#383439}
* Disable v8.todomvc-ignition on reference buildsoysteine2016-03-261-0/+1
| | | | | | | | | | R=nednguyen@google.com BUG=598096 CQ_EXTRA_TRYBOTS=tryserver.chromium.perf:android_s5_perf_cq;tryserver.chromium.perf:winx64_10_perf_cq;tryserver.chromium.perf:mac_retina_perf_cq;tryserver.chromium.perf:linux_perf_cq Review URL: https://codereview.chromium.org/1838663002 Cr-Commit-Position: refs/heads/master@{#383438}
* Make the test NPAPI plugin not handle pngpiman2016-03-266-15/+9
| | | | | | | | | | This is not a feature we have/need in PPAPI BUG=493212 Review URL: https://codereview.chromium.org/1829293002 Cr-Commit-Position: refs/heads/master@{#383437}
* Make myself a wtf/OWNER.esprehn2016-03-261-1/+2
| | | | | | Review URL: https://codereview.chromium.org/1839483002 Cr-Commit-Position: refs/heads/master@{#383436}
* Roll src/native_client/ fb2c685d1..746353ccd (1 commit).nacl-deps-roller2016-03-261-1/+1
| | | | | | | | | | | | | | https://chromium.googlesource.com/native_client/src/native_client.git/+log/fb2c685d12b5..746353ccd9c9 $ git log fb2c685d1..746353ccd --date=short --no-merges --format='%ad %ae %s' 2016-03-25 phosek PNaCl: Update llvm revision in pnacl/COMPONENT_REVISIONS CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_dbg_32_ng,linux_nacl_sdk_build TBR=mseaborn@chromium.org Review URL: https://codereview.chromium.org/1837543003 Cr-Commit-Position: refs/heads/master@{#383435}
* Add const support to wtf/RefCountedleviw2016-03-262-8/+20
| | | | | | | | This gets us to parity with base/ref_counted Review URL: https://codereview.chromium.org/1836693002 Cr-Commit-Position: refs/heads/master@{#383434}
* v4_update_protocol_manager: Basic implementation with TODOsvakh2016-03-2611-65/+815
| | | | | | | | BUG=543161 Review URL: https://codereview.chromium.org/1727033003 Cr-Commit-Position: refs/heads/master@{#383433}
* Roll src/third_party/catapult/ 497a60ed1..a8a6fb7ea (2 commits).catapult-deps-roller2016-03-261-1/+1
| | | | | | | | | | | | | https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git/+log/497a60ed10d6..a8a6fb7ea065 $ git log 497a60ed1..a8a6fb7ea --date=short --no-merges --format='%ad %ae %s' CQ_INCLUDE_TRYBOTS= TBR=catapult-sheriff@chromium.org Review URL: https://codereview.chromium.org/1837633002 Cr-Commit-Position: refs/heads/master@{#383432}
* cast: Add window activity tracker for macisheriff2016-03-2611-144/+314
| | | | | | | | | | | | | | | | | This adds window activity detector for mac which enables the following features to be enabled on tab mirroring: - Low latency interactive mode will be turned on when user is interactive with non-animating content - Frame subscriber will enable frame capture in response to mouse events resulting in smooth rendering of mouse while mirroring BUG=567735 Review URL: https://codereview.chromium.org/1835493002 Cr-Commit-Position: refs/heads/master@{#383431}
* Move all fast-path paint invalidation mapping into PaintInvalidationStatewangxianzhu2016-03-2652-478/+496
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove the optional const PaintInvalidationState* parameter from paint invalidation mapping methods and move fast-path mapping code into PaintInvalidationState. - PaintLayer::computePaintInvalidationRect() is now PaintInvalidationState::computePaintInvalidationRectInBacking(); PaintLayer::positionFromPaintInvalidationBacking() is now PaintInvalidationState::positionFromPaintInvalidationBacking(); PaintLayer::mapRectToPaintInvalidationBacking() is now PaintInvalidationState::mapLocalRectToPaintInvalidationBacking(). - Change LayoutObject::clippedOverflowRectForPaintInvalidationBacking() to: * Non-SVG objects and LayoutSVGRoot: LayoutObject::localOverflowRectForPaintInvalidation() which doesn't map the rect to paint invalidation backing; * SVG objects except LayoutSVGRoot: Using existing paintInvalidationRectInLocalSVGCoordinates() PaintInvalidationState::computePaintInvalidationRectInBacking(), calls the above functions to get the local paint invalidation rect, and map to paintInvalidationContainer using fast path if possible, or slow path by calling LayoutObject::mapToVisibleRectToAncestor(). - Let selection paint invalidation go through fast-path if possible. BUG=591199 Review URL: https://codereview.chromium.org/1813383002 Cr-Commit-Position: refs/heads/master@{#383430}
* Add object ownership comments to widget.hjamescook2016-03-261-4/+13
| | | | | | | | | | | Just comments. BUG=none TEST=none Review URL: https://codereview.chromium.org/1828273005 Cr-Commit-Position: refs/heads/master@{#383429}
* Reduce failsafe time for animation events. This makes the lock-time more ↵jdufault2016-03-262-8/+19
| | | | | | | | | | | | | | | | | | | | | | | | | consistent. This animation delay compensates for the amount of time it takes the native animation to run so the user pods are not shown while the native windows are flying out of the screen. This approach has a few problems, however: 1. If the WebUI takes a long time to load (such as on slow devices), then the CSS animation here will still be running even after the native animation has completed. 2. If the screen is locked via some cancellable lock mechanism, such as the power button, then the native animation has already completed and the wait is unnecessary. A better approach is to intead have the lock screen emit an event that notifies the webui that has finished the native animation. Doing so is tricky, however, as there are various states that the webui and lock screen can be in. BUG=452599 Review URL: https://codereview.chromium.org/1811113003 Cr-Commit-Position: refs/heads/master@{#383428}
* Make sure we have a scrollable area before delegating visual rect call.wkorman2016-03-261-1/+1
| | | | | | | | BUG=598016 Review URL: https://codereview.chromium.org/1833313002 Cr-Commit-Position: refs/heads/master@{#383427}
* Add frame refresh to VideoCaptureDevice, and buffer pool resurrection.miu2016-03-2612-253/+539
| | | | | | | | | | | | | | | | | | This is the first in a series of changes to solve the problems related to VideoCaptureDevices that can pause (i.e., basically, screen capture devices). This introduces new optional-to-implement methods to the media::VideoCaptureDevice interface, and the supporting functionality in content::VideoCaptureBufferPool. This change should not result in any end-user-visible differences, as it is just laying the groundwork for future changes. For more details on the overall plan, please see the crbug. BUG=486274 Review URL: https://codereview.chromium.org/1826643003 Cr-Commit-Position: refs/heads/master@{#383426}
* Split ImageResourceClient into ResourceClient and ImageResourceObserver [1/2]hiroshige2016-03-2641-215/+284
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We are planning to move ResourceClient to on-heap, but LayoutObject (an ImageResourceClient subclass) is hard to move to on-heap. This series of CLs splits ImageResourceClient into - ResourceClient (notified via Resource, to be moved to Oilpan heap) and - ImageResourceObserver (notified via ImageObserver, to remain non-heap) and makes LayoutObject to be ImageResourceObserver but not ResourceClient. This is the [1/2] CL that - Splits ImageResourceClient into ResourceClient and ImageResourceObserver, - Makes LayoutObject and all of its subclasses (except for LayoutImage and its subclasses) to be ImageResourceObserver but not ResourceClient. LayoutImage will be made non-ResourceClient by the [2/2] CL: https://codereview.chromium.org/1728313003/. Original CL: https://codereview.chromium.org/1697713002/ by Nate Chapin. In addition to Nate's original CL (Patch Set 1), this CL: - Fixes layout test (Patch Set 2). - Reuses ResourceClientWalker to iterate ImageResourceObserver (Patch Set 3). - Handles ResourceClient and ImageResourceObserver more similarly (Patch Set 4). - Renames methods to reflect whether they are for both ResourceClient and ImageResourceObserver (Patch Set 6). BUG=587663 Review URL: https://codereview.chromium.org/1706083002 Cr-Commit-Position: refs/heads/master@{#383425}
* Roll src/third_party/skia/ 2176f75b0..73557f6c3 (2 commits).skia-deps-roller2016-03-261-1/+1
| | | | | | | | | | | | | | | https://chromium.googlesource.com/skia.git/+log/2176f75b066d..73557f6c3f98 $ git log 2176f75b0..73557f6c3 --date=short --no-merges --format='%ad %ae %s' 2016-03-25 halcanary SkPDF: remove margin foolishness 2016-03-25 bsalomon Don't crash when resource path isn't specified CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel TBR=bsalomon@google.com Review URL: https://codereview.chromium.org/1838643002 Cr-Commit-Position: refs/heads/master@{#383424}
* Settings People Revamp: Address CSS wrongdoings.tommycli2016-03-267-39/+40
| | | | | | | | | | This also fixes the subheader of all subpages. BUG=597868 Review URL: https://codereview.chromium.org/1832253002 Cr-Commit-Position: refs/heads/master@{#383423}
* MD Downloads: make inactive downloads less gloomy!dbeam2016-03-262-6/+12
| | | | | | | | | R=asanka@chromium.org BUG=592682 Review URL: https://codereview.chromium.org/1834913003 Cr-Commit-Position: refs/heads/master@{#383422}
* Request frame for new sinks from MediaStreamVideoTrackemircan2016-03-2611-2/+97
| | | | | | | | | | | | | | | | | This CL adds a series of RequstFrame() calls propagated from MediaStreamVideoTrack when a new sink is added. MediaStreamVideoTrack -> MediaStreamVideoCapturerSource which is a MediaStreamVideoSource -> media::VideoCapturerSource This addresses the issues when a new sink is added but doesn't receive a frame because it wasn't added on time. BUG=597876, 587789, 486274 Review URL: https://codereview.chromium.org/1829193003 Cr-Commit-Position: refs/heads/master@{#383421}
* Disable incremental linking for gn osmesabrucedawson2016-03-261-0/+5
| | | | | | | | | | | | | | | | Due to a VS 2015 linker bug the linker sometimes crashes when incrementally linking osmesa.dll. The bug is understood by Microsoft and will be fixed but while waiting for the fix it would be nice to avoid the crash. This disables incremental linking for gn builds only. I could not get disabling for gyp builds to work so this is a partial fix. gn FTW! BUG=440500,482671 Review URL: https://codereview.chromium.org/1833263002 Cr-Commit-Position: refs/heads/master@{#383420}
* Roll src/native_client/ ca842a9f0..fb2c685d1 (1 commit).nacl-deps-roller2016-03-261-1/+1
| | | | | | | | | | | | | | https://chromium.googlesource.com/native_client/src/native_client.git/+log/ca842a9f091e..fb2c685d12b5 $ git log ca842a9f0..fb2c685d1 --date=short --no-merges --format='%ad %ae %s' 2016-03-25 mseaborn x86 validator: Implement rewriting "movntq" to "movq" on x86-64 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_dbg_32_ng,linux_nacl_sdk_build TBR=mseaborn@chromium.org Review URL: https://codereview.chromium.org/1833133003 Cr-Commit-Position: refs/heads/master@{#383419}
* Correct visual rect for PageOverlay to reflect size of graphics layer.wkorman2016-03-263-21/+40
| | | | | | | | BUG=529938,569211 Review URL: https://codereview.chromium.org/1833233002 Cr-Commit-Position: refs/heads/master@{#383418}
* Move base::FreeDeleter into its own header.dcheng2016-03-2650-16/+78
| | | | | | | | | | Final blocker to wholly deleting base/memory/scoped_ptr.h. BUG=554298 Review URL: https://codereview.chromium.org/1837483003 Cr-Commit-Position: refs/heads/master@{#383417}
* [iOS/GN] Fix compilation of ios_chrome_unittests with gn.sdefresne2016-03-2611-28/+91
| | | | | | | | | | | | | | | | | | | | | | | Get GN in sync with gyp by adding missing dependencies, removing the obsoletes dependencies and adding missing files and targets. Change the toolchain when targetting iOS devices to not build fat binaries as this break the "gn gen"-time selection of the level of optimisation to use from skia and libwebp. Instead, building for devices on iOS is now similar to other platforms (i.e. the arch is selected via "target_cpu" with "arm" an alias for "armv7"). Fixes the following errors: Undefined symbols for architecture arm64: "_VP8DspInitNEON", referenced from: _VP8DspInit in dec.o ... BUG=459705,596237 Review URL: https://codereview.chromium.org/1810423002 Cr-Commit-Position: refs/heads/master@{#383416}
* Remove unneeded using Base::capacity in WTF::Vector definition.dcheng2016-03-261-1/+0
| | | | | | | | | | | | | | | | | | | Redundant since Vector already defines capacity() as a public method, and it confuses the Chrome style rewriter. From C++11 [namespace.udecl/15]: When a using-declaration brings names from a base class into a derived class scope, member functions and member function templates in the derived class override and/or hide member functions and member function templates with the same name, parameter-type-list (8.3.5), cv-qualification, and ref-qualifier (if any) in a base class (rather than conflicting). BUG=584105 Review URL: https://codereview.chromium.org/1837583002 Cr-Commit-Position: refs/heads/master@{#383415}
* Web shell integration test suite.justincohen2016-03-269-92/+527
| | | | | | | | | | | | | | | | Integration test suite for the web shell, based on EarlGrey. This includes the suite and gyp configurations to build and run two sample tests. build/common.gypi change is a revert of https://codereview.chromium.org/1538973002, TBRed BUG=583736 TBR=dpranke@chromium.org Review URL: https://codereview.chromium.org/1828143007 Cr-Commit-Position: refs/heads/master@{#383414}
* Roll src/third_party/catapult/ 72d786bdb..497a60ed1 (5 commits).catapult-deps-roller2016-03-251-1/+1
| | | | | | | | | | | | | https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git/+log/72d786bdb93d..497a60ed10d6 $ git log 72d786bdb..497a60ed1 --date=short --no-merges --format='%ad %ae %s' CQ_INCLUDE_TRYBOTS= TBR=catapult-sheriff@chromium.org Review URL: https://codereview.chromium.org/1834013002 Cr-Commit-Position: refs/heads/master@{#383413}
* Add UsbChooserDialog.java to //chrome/android/java_sources.gnijuncai2016-03-251-0/+1
| | | | | | | | | | This patch added UsbChooserDialog.java to //chrome/android/java_sources.gni BUG=591735 Review URL: https://codereview.chromium.org/1827243005 Cr-Commit-Position: refs/heads/master@{#383412}
* [DevTools] Add DebuggerScript.js compilation to compile_frontend.pykozyatinskiy2016-03-253-29/+729
| | | | | | | | | | Added debugger_script_externs.js with V8 types and output DebuggerScript types. R=dgozman@chromium.org Review URL: https://codereview.chromium.org/1833893002 Cr-Commit-Position: refs/heads/master@{#383411}
* Roll PDFium a560806..b5e8f14ochang2016-03-251-1/+1
| | | | | | | | | | https://pdfium.googlesource.com/pdfium.git/+log/a560806..b5e8f14 TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1836523005 Cr-Commit-Position: refs/heads/master@{#383410}
* Revert of media: Enable Unified Media Pipeline for MSE and EME on Android ↵dfalcantara2016-03-2514-53/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (patchset #3 id:40001 of https://chromiumcodereview.appspot.com/1825763002/ ) Reason for revert: Android tests on many bots started failing right after this; these are the most obvious: https://build.chromium.org/p/chromium.android/builders/Lollipop%20Phone%20Tester/builds/3714 * RenderFrameImplTest.LoFiNotUpdatedOnSubframeCommits * RenderViewImplTest.OnSetAccessibilityMode I reverted locally multiple times to make sure, but RenderFrameImplTest.LoFiNotUpdatedOnSubframeCommits only starts failing when this CL is committed, AFAICT. Original issue's description: > media: Enable Unified Media Pipeline for MSE and EME on Android > > Enables Mojo Media on Android to support EME in the unified media > pipeline. This introduces MojoCdm, MojoAudioDecoder and encrytped > stream support in AndroidVideoDecodeAccelerator. > > This CL also enables MSE in the unified media pipeline. The fallback > logic for MSE (IsUnifiedMediaPipelineEnabledForMse()) is removed. > > Also partially reverts f92f4e5c849c028db73fbe06912685a77b978ee4 which > added "LoadType" in createMediaPlayer() to implement the fallback > logic for MSE. > > BUG=455905,521731 > TEST=Encrypted audio/video plays in default Chrome for Android build > with and without unified media pipeline. > > Committed: https://crrev.com/92d0fffc36695c099005bf05862145a89d918f28 > Cr-Commit-Position: refs/heads/master@{#383331} TBR=dalecurtis@chromium.org,ddorwin@chromium.org,timav@chromium.org,wolenetz@chromium.org,pfeldman@chromium.org,xhwang@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=455905,521731 Review URL: https://codereview.chromium.org/1840563002 Cr-Commit-Position: refs/heads/master@{#383409}
* aw: Remove WindowAndroid cachingboliu2016-03-251-21/+5
| | | | | | | | | | | | | | | | | Caching sCachedWindowAndroid is incorrect since it is possible for the one Application context to be wrapped differently. There is no point in caching ActivityWindowAndroid either due to the way ResourcesContextWrapperFactory works. So remove caching altogether and always create a new WindowAndroid instance. BUG=597526 Review URL: https://codereview.chromium.org/1831373003 Cr-Commit-Position: refs/heads/master@{#383408}
* [cronet] Switch CronetTestInstrumentation from lighttpd to EmbeddedTestServer.jbudorick2016-03-256-61/+118
| | | | | | | | BUG=589637 Review URL: https://codereview.chromium.org/1834583005 Cr-Commit-Position: refs/heads/master@{#383407}
* Add pathway to auto-migrate users when Chrome launchesdfalcantara2016-03-2514-44/+348
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * For now, a command line flag is required to trigger this pathway: --enable-forced-migration * UpgradeActivity kicks off the DocumentModeAssassin and waits for it to finish. This Activity can only be launched via other ChromeActivities, and can be passed an Intent to refire when the migration finishes. * A MAIN Intent or Intent to start a new DocumentActivity that goes through ChromeLauncherActivity will force users through UgpradeActivity, instead. This causes document mode to be flipped off, and anything going down the ChromeLauncherActivity pathway again should no longer trigger migration. This pathway catches new tabs created via VIEW Intents, MAIN Intents, CCT Intents, and (sometimes) WebappActivity Intents. * AsyncInitializationActivity watches for the need for the migration pathway to be triggered when a ChromeActivity subclass starts up. This pathway catches Intents that skip ChromeLauncherActivity, which includes ChromeTabbedActivity, DocumentActivity, CustomTabActivity, and WebappActivity. These can be launched directly by selecting them from Android Recents, or by firing Intents to bring them back specifically. * The look of this Activity is a stand-in for when we get redlines. The animation is also kind of janky, but I'm aiming for functionality at this point. * TabDelegate is no longer allowed to create new DocumentActivities, instead deferring down the ChromeLauncherActivity pathway. This catches cases with push notifications triggering a tab to be created when they're clicked. * The preference to enable document mode is hidden once the user has migrated. BUG=582539 Review URL: https://codereview.chromium.org/1817083003 Cr-Commit-Position: refs/heads/master@{#383406}
* Revert of Turn on seamless cubemap by default on Desktop GL for ES3. ↵zmo2016-03-252-15/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (patchset #3 id:40001 of https://codereview.chromium.org/1831833006/ ) Reason for revert: This doesn't work on Mac Intel (most likely a driver bug) Original issue's description: > Turn on seamless cubemap by default on Desktop GL for ES3. > > BUG=597794 > TEST=deqp/texturefiltering_cube_* > R=piman@chromium.org > CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel > > Committed: https://crrev.com/39a22dc8028987efa3ca24135922841d2d2d387c > Cr-Commit-Position: refs/heads/master@{#383362} TBR=piman@chromium.org,piman@google.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=597794 Review URL: https://codereview.chromium.org/1840553002 Cr-Commit-Position: refs/heads/master@{#383405}
* Refine ash shelf tooltip closing on non-mash ChromeOS.msw2016-03-253-73/+76
| | | | | | | | | | | | | | | | | | Fixes a regression from: https://codereview.chromium.org/1816753002 Also reverse expected behavior for touching tooltips. (closes on stable, tests expected them to stay open...) Inline bubble function definitions. Call WillDeleteShelf earlier to fix a test crash... TODO: Encapsulate more ShelfLayoutManager code. BUG=595853 TEST=ChromeOS tooltips stay open on hover; close for external touches. R=sky@chromium.org Review URL: https://codereview.chromium.org/1828133004 Cr-Commit-Position: refs/heads/master@{#383404}
* Routes setting focus through WindowServer so it can notify other displayssky2016-03-2514-114/+326
| | | | | | | | | | | | This way we only have one Display with focus. BUG=none TEST=none R=ben@chromium.org Review URL: https://codereview.chromium.org/1833873004 Cr-Commit-Position: refs/heads/master@{#383403}