Publish DEPS for Chromium 41.0.2252.2
Incrementing VERSION to 41.0.2252.2
Cr-Commit-Position: refs/branch-heads/2252@{#2}
Cr-Branched-From: 8074902d32c9f36d3be05610229f4041d1bc5b80-refs/heads/master@{#308772}
Incrementing VERSION to 41.0.2252.1
Cr-Commit-Position: refs/branch-heads/2252@{#1}
Cr-Branched-From: 8074902d32c9f36d3be05610229f4041d1bc5b80-refs/heads/master@{#308772}
Allows OnAppTerminating at AshTestBase::TearDown().
Adding OnAppTerminating causes some failures. This CL also includes
the fixes for them.
OverlayEventFilterTest.CancelAtActivating:
- OverlayEventFilter::Cancel() is called, but that does not cleanup
|delegate_|, therefore further OnAppTerminating() invokes Cancel()
to already canceled delegate_.
PartialScreenshotViewTest.DontStartOverOverlay:
- delegate should be deactivated before it's removed.
RootWindowControllerTest.DontDeleteWindowsNotOwnedByParent:
- this test case explicitly invokes CloseAllChildWindows(), therefore
it cleans up all of the containers.
- SessionStateAnimatorImpl assumed containers still exist when
OnAppTerminating() is invoked.
WindowManagerTest.TestCursorClientObserver:
- observer_a is added to cursor_manager, but not destructed without
calling RemoveObserver().
BUG=None
[email protected]
TEST=ash_unittests
Review URL: https://codereview.chromium.org/809603008
Cr-Commit-Position: refs/heads/master@{#308772}
Credential Manager: Pipe federated credentials through to UI layer.
This patch adjusts the credential manager dispatcher's filters for responses
to 'request()' which attempt to grab federated credentials, and lays the
groundwork for doing something useful with them in the UI layer.
Currently that groundwork just consists of piping the values around and
ensuring that nothing explodes. Future CLs will adjust the UI to ensure
that users can make a meaningful choice.
BUG=400674
[email protected],[email protected]
Review URL: https://codereview.chromium.org/809693002
Cr-Commit-Position: refs/heads/master@{#308771}
Fixed StyledLabel size caching
StyledLabel size caching was not really working due to width check
did not take control insets into account. So any call to
GetHeightForWidth or Layout caused full layout recalculation.
When view with StyledLabel is created CalculateAndDoLayout that
does all layouting job is called for five or six times with same
arguments. And each call caused StyledLabel reset and controls removal
[email protected]
Review URL: https://codereview.chromium.org/734923003
Cr-Commit-Position: refs/heads/master@{#308770}
Revert "Pass through the CONVERT/NONCONVERT/HANKAKU_ZENKAKU keys."
I followed Windows's behavior but it does not make sense to Chrome OS and this
causes a regression: Zenkaku_Hankaku key on browser tab unexpectedly triggered
twice.
This reverts commit f5be2173f9794fdf121d80646740d6deced63c10.
BUG=438089
TEST=N/A
[email protected]
[email protected]
[email protected]
Review URL: https://codereview.chromium.org/813683003
Cr-Commit-Position: refs/heads/master@{#308769}
ServiceWorker: Remove unused functions from ServiceWorkerHandle
BUG=437677
TEST=compile
Review URL: https://codereview.chromium.org/795933004
Cr-Commit-Position: refs/heads/master@{#308768}
Fix sandbox target in Windows GN build and enable it.
Re-land of https://codereview.chromium.org/804993003/ .
Review URL: https://codereview.chromium.org/808513005
Cr-Commit-Position: refs/heads/master@{#308767}
Update WebGL CTS expectations; enable tex-image-and-sub-image-2d-with-webgl-canvas-* on Win.
tex-image-and-sub-image-2d-with-webgl-canvas-* were marked because of
BlitFramebufferANGLE restriction of color conversion.
http://src.chromium.org/viewvc/blink?view=revision&revision=187151 changes
WebGL not to use BlitFramebufferANGLE anymore. So unmark them.
BUG=420357
Review URL: https://codereview.chromium.org/807603005
Cr-Commit-Position: refs/heads/master@{#308766}
Update autofill CC icons.
Also remove diners and jcb
BUG=440592
Review URL: https://codereview.chromium.org/803223002
Cr-Commit-Position: refs/heads/master@{#308765}
metrics: Move cryptohome histograms into chromium repo.
BUG=None
TEST=pretty_print, validate_format
Review URL: https://codereview.chromium.org/807883003
Cr-Commit-Position: refs/heads/master@{#308764}
Fixing OWNERS email address.
[email protected]
BUG=None
NOTRY=True
Review URL: https://codereview.chromium.org/806163002
Cr-Commit-Position: refs/heads/master@{#308763}
Update V8 to version 3.31.60 (based on 978f41a1da57132f97fbfd9b6592cc99689e18ed).
[email protected]
Review URL: https://codereview.chromium.org/811563007
Cr-Commit-Position: refs/heads/master@{#308762}
Files.app: Stop to cache data: URL in ImageLoderClient.
BUG=442614
TEST=ImageLoaderJsTest.ImageLoaderClientTest
[email protected]
Review URL: https://codereview.chromium.org/802373003
Cr-Commit-Position: refs/heads/master@{#308761}
Pull out a base class from DumpAccessibilityTree
This is in preparation for the following change that will add
DumpAccessibilityEvents tests, sharing a lot of common code.
BUG=440579
Review URL: https://codereview.chromium.org/787813006
Cr-Commit-Position: refs/heads/master@{#308760}
Automated Commit: Committing new LKGM version 6588.0.0 for chromeos.
Cr-Commit-Position: refs/heads/master@{#308759}
Update the upstream version of asan_symbolize.py to r222535,
which introduces support for the --dsym-hint option.
Add a dSYM hint producer to tools/valgrind/asan/asan_symbolize.py,
which builds paths to .dSYM files for executables and frameworks inside the
.app bundles, assuming the dSYM files are in the product dir.
BUG=148383, 242503, 170739, 166857
[email protected]
NOTRY=true
Review URL: https://codereview.chromium.org/797253002
Cr-Commit-Position: refs/heads/master@{#308758}
vda/vea_unittest - Support hangout scenario performance test.
1. Add a switch "num_play_throughs" to vda_unittest to play the video
for the specified times.
2. Add a switch "num_frames_to_encode" to vea_unittest to specify the
number of frames to be encoded. We will loop the input stream if
frames are not enough.
3. Override the number of concurrent decoders/encoders to the number
of input stream unless there is only one input stream.
BUG=350255
TEST=Run the test on peach-pit
Review URL: https://codereview.chromium.org/775123003
Cr-Commit-Position: refs/heads/master@{#308757}
Exclude ComponentLoaderTest which is causing crash on other tests
BUG=442834
[email protected]
NOTRY=true
Review URL: https://codereview.chromium.org/806393003
Cr-Commit-Position: refs/heads/master@{#308756}
Remove hard-coded font families in WebUI.
This is done by the following steps:
1) Remove hard-coded font-family from all css/html files in chrome/browser/resources, except 'monospace', 'Courier New, monospace' and 'inherit' font types.
2) Add <link rel="stylesheet" href="chrome://resources/css/text_defaults.css"> to all html files in chrome/browser/resources which not include chrome_shared.css file, and removed all the i18n-content="fontFamily:fontfamily;fontSize:fontSize" inside of the <body> and <html> tags.
BUG=303849
Review URL: https://codereview.chromium.org/786023002
Cr-Commit-Position: refs/heads/master@{#308755}
Mac: Enable compositor thread elastic overscroll for main thread events
This patch has no effects because the feature is behind a flag.
When an input wheel event is passed to the main thread to be handled,
observe the result of Blink's handleInputEvent, and pass the event and
its result back to the InputScrollElasticityController (aka troll) on
the compositor thread. Do this passing via the InputHandlerManager,
which can reach the InputHandlerProxy for a renderer, and its
InputScrollElasticityController.
For now, construct an artifical scroll result based on whether or not
the event was handled.
Also, fix two bugs that were noticed. First, add the missed
rubber_banding_on_compositor_thread to content::WebPreferences'
IPC. Second, make ScrollElasticityHelper damage the root layer of
the LayerTreeHostImpl, so its frames aren't skipped.
BUG=133097
Review URL: https://codereview.chromium.org/806473002
Cr-Commit-Position: refs/heads/master@{#308754}
webui: make action link focus behavior more correcter.
tl;dr - I was totally wrong, <a href> does get focused when the mouse is
pressed, it just inconveniently doesn't show a focus outline in this case.
This CL actually focuses action links on mouse press, but hides the outline if
focus is initiated via mouse press. It also adds behavior to prevent text
selection when the mouse is dragged (to match more odd <a href> behavior).
[email protected]
BUG=441233
Review URL: https://codereview.chromium.org/805423003
Cr-Commit-Position: refs/heads/master@{#308753}
Introduction of DevToolsBridgeServiceBase based on MultiplexingGcmListener.
MultiplexingGcmListener used in Chrome for several features an this should use it as well.
Moreover it solves the problem with GDCReceiver. Because MultiplexingGcmListener is a GDCReceiver
and does it's work this service doesn't have to handle messages it is not interested in. It
could be done in a Service (not necessary a IntentService with it's lifetime complications).
BUG=383418
Review URL: https://codereview.chromium.org/806913005
Cr-Commit-Position: refs/heads/master@{#308752}
Chromecast: IPC messages for browser-based media pipeline.
[email protected],[email protected],[email protected]
BUG=408189
Review URL: https://codereview.chromium.org/797793004
Cr-Commit-Position: refs/heads/master@{#308751}
Combine resources at gallery/js/compiled_resources.gyp for Closure Compiler.
Previously javascript files are combined at gallery_scripts.js, and the compiler used the file to check types. But in the file, scripts of gallery are included inside an anonymous function to enable strict mode for them, and it causes some problems with closure compiler.
In order to remove anonymous function for type checking, thic CL changes to combile resources at compiled_resources.gyp for type checking.
BUG=432728
TEST=GYP_GENERATORS=ninja tools/gyp/gyp --depth . ui/file_manager/gallery/js/compiled_resources.gyp && ninja -C out/Default
Review URL: https://codereview.chromium.org/806393002
Cr-Commit-Position: refs/heads/master@{#308750}
Tweak style of button preference.
BUG=414438
Review URL: https://codereview.chromium.org/807173004
Cr-Commit-Position: refs/heads/master@{#308749}
Fix RenderWidgetHostViewAuraTest.Resize with Surfaces
https://crrev.com/4660fe0284ce27d8501364e0df450516f9f9625d changed the behavior to ack earlier, so fix this test.
Review URL: https://codereview.chromium.org/796193005
Cr-Commit-Position: refs/heads/master@{#308748}
Initialize metrics_service in CastMetricsServiceClient::Initialize().
metrics_service ctor calls CastMetricsServiceClient::IsReportingEnabled() which calls PlatformIsReportingEnabled(cast_service).
BUG=
Review URL: https://codereview.chromium.org/798063003
Cr-Commit-Position: refs/heads/master@{#308747}
[Video Player] Replace background page with BackgroundBase class
BackgroundBase is the common class for background page of Files.app related apps. The Files.app and the audio player already use it.
This patch makes the video player use it.
BUG=442212
TEST=browser test passes
Review URL: https://codereview.chromium.org/800393004
Cr-Commit-Position: refs/heads/master@{#308746}
Add avi as OWNER for Cocoa stuff in components/bookmarks
Specifically, for bookmarks/browser/bookmark_pasteboard_helper_mac.*
NOTRY=true
Review URL: https://codereview.chromium.org/812593003
Cr-Commit-Position: refs/heads/master@{#308745}
Add a ForkWithFlags wrapper using the libc clone wrapper.
sys_clone directly invokes the syscall, which does not update
libc's PID cache in the child. Although the libc wrapper function
updates the PID cache, it unfortunately requires that the child run on a
different stack, even if CLONE_VM is not specified. We work around this
by briefly switching stacks in the child, then using longjmp to switch
back. This gives us a version of clone with fork-like behavior, which is
what we need for starting processes in new namespaces.
This is a 2nd attempt at crrev.com/801033002, which caused failures
under valgrind and FORTIFY_SOURCE.
BUG=312380, 442817, 442912
Review URL: https://codereview.chromium.org/800183004
Cr-Commit-Position: refs/heads/master@{#308744}
app_list: Added test suite for OmniboxResult.
In particular, tests that it correctly performs its special behaviour
regarding voice queries.
BUG=442593
Review URL: https://codereview.chromium.org/807083002
Cr-Commit-Position: refs/heads/master@{#308743}
Switch MediaImportHandler over to use TaskQueue.
This CL does the following:
- transition the Task over to an Observer model, which allows clients more flexibility in tracking tasks.
- make the ImportTask a subclass of TaskQueue.Task
- switch the MediaImportHandler over to use the TaskQueue
- fix all unit tests.
BUG=420680
Review URL: https://codereview.chromium.org/809563004
Cr-Commit-Position: refs/heads/master@{#308742}
[Ozone-DRI] Make sure to reply to all configuration requests
If we're not replying the browser side will continue waiting for responses
delaying other configuration requests.
BUG=none
NOTRY=true
Review URL: https://codereview.chromium.org/811633005
Cr-Commit-Position: refs/heads/master@{#308741}
Reland: [Ozone-Demo] Extract rendering parts into separate renderer classes
Makes it easier to abstract the part that renders to buffers and add
new ones.
BUG=none
NOTRY=true
Review URL: https://codereview.chromium.org/808833002
Cr-Commit-Position: refs/heads/master@{#308740}
cc: Adding a CommitEarlyOutReason enum to replace bool in BeginMainFrameAbort method.
The bool is confusing and has meant a bunch of tests have ended up not testing
what they thought they were testing. The new enum clearly delineates between
cases were we abort without handing the commit and when we abort because the
commit was an effective nop.
This also allows new early out reasons to be easily added.
Using a C++ "enum class" to make sure all BeginMainFrameAborted cases are
converted by preventing implicit conversion to bool. Allowed on;
https://chromium-cpp.appspot.com/
BUG=416749
Review URL: https://codereview.chromium.org/793243006
Cr-Commit-Position: refs/heads/master@{#308739}
ui/wm: Cleanup usage of scoped_ptr.
* Return nullptr whenever possible.
* Use make_scoped_ptr() when possible (less typing/noise).
Entries found with the following command line:
$ git grep -E '(=|\breturn)\s*scoped_ptr<.*?>([^)]+)' ui/wm
BUG=None
[email protected]
Review URL: https://codereview.chromium.org/792603003
Cr-Commit-Position: refs/heads/master@{#308738}
Remove disabled tests session_restore.cold.startup_urls and session_restore.warm.startup_urls.
These are adding to the maintenance burden. If they need to be brought back to life, the measurement will need a substitute for CanRunForPage because that method is going away. https://codereview.chromium.org/808893002/
The CL that disabled the tests: https://codereview.chromium.org/738663002
BUG=389142,405386,440101
Review URL: https://codereview.chromium.org/809653004
Cr-Commit-Position: refs/heads/master@{#308737}
ui/base: Mark DataPack's ctor explicit.
BUG=318840
TEST=ui_base_unittests
[email protected]
Review URL: https://codereview.chromium.org/798143003
Cr-Commit-Position: refs/heads/master@{#308736}
Remove unnecessary arithmetic operations.
It is not necessary to subtract the remainder before an integer
division.
Add the delay < 0 check back, so that we don't rely on the fact that
static_cast<snd_pcm_uframes_t>(-1) is a huge positive value.
[email protected]
BUG=none
Review URL: https://codereview.chromium.org/807973003
Cr-Commit-Position: refs/heads/master@{#308735}
Trace the TimeoutMonitor
Instrument the TimeoutMonitor with trace events and switch the time base
from Time::Now() to TimeTicks::Now().
BUG=436379
Review URL: https://codereview.chromium.org/806343002
Cr-Commit-Position: refs/heads/master@{#308734}
Blink roll 994eb22650691379d1a14137f567ba8473d22aaa:eabe8e63be5972a48f0b7f1f63dce19caf839bf1
[email protected]
BUG=
Review URL: https://codereview.chromium.org/813633002
Cr-Commit-Position: refs/heads/master@{#308733}
Don't return a favicon for native pages.
The default favicon that chrome returns is not necessarily the one we want to use on Android
for native pages.
BUG=411155
Review URL: https://codereview.chromium.org/797083002
Cr-Commit-Position: refs/heads/master@{#308732}
Rename the hardware_params constructor argument.
Make the constructor argument name in match the member name and the
argumet's name in the .cc file.
[email protected]
BUG=none
Review URL: https://codereview.chromium.org/801193003
Cr-Commit-Position: refs/heads/master@{#308731}
build: make about:credits have proper inputs.
[email protected]
BUG=none
TEST=touch about_credits.tmpl && rebuild # actually works
Review URL: https://codereview.chromium.org/807713003
Cr-Commit-Position: refs/heads/master@{#308730}
Revert of [telemetry] - Tear down replay server when browser is lost. (patchset #1 id:1 of https://codereview.chromium.org/808803002/)
Reason for revert:
Didn't fix tests :(
Original issue's description:
> [telemetry] - Tear down replay server when browser is lost.
>
> Speculative fix for crbug.com/439598. When browser is lost/crashes mid test, we don't unmap all the forwarded ports, and host_forwarder seems to get into a state where it can't communicate with the device anymore.
>
> BUG=439598
>
> Committed: https://crrev.com/b8135064c7535c42949a7e7e05962b78d87a5cdb
> Cr-Commit-Position: refs/heads/master@{#308652}
[email protected],[email protected],[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=439598
Review URL: https://codereview.chromium.org/812753002
Cr-Commit-Position: refs/heads/master@{#308729}
Clip quads in surfaces to the SurfaceDrawQuad's clip_rect and visible_rect.
They should be clipped to the clip_rect for correctness, and to the visible_rect for performance in the case of partially-overlapping surfaces.
BUG=439933,339260
Review URL: https://codereview.chromium.org/787763012
Cr-Commit-Position: refs/heads/master@{#308728}
Convert EventRouter to use ProcessMap::GetMostLikelyContextType rather than
implementing its own process checking logic, and (double) check on event
dispatch that the context has permission to receive the event. Currently we
only check on event registration.
BUG=441789
[email protected]
Review URL: https://codereview.chromium.org/802653003
Cr-Commit-Position: refs/heads/master@{#308727}
ui/gfx: Complete the list of unit tests for GN version of gfx_unittests target.
GYP version of gfx_unittests contains 535 test cases on Linux.
Now with this change GN version of gfx_unittests also contains 535 test
cases.
BUG=None
TEST=gn gen out_gn/Debug && ninja -C out_gn/Debug gfx_unittests && out_gn/Debug gfx_unittests
[email protected]
Review URL: https://codereview.chromium.org/797823004
Cr-Commit-Position: refs/heads/master@{#308726}
Disabling AX test for html br element temporarily.
After blink changes for html br element is merged, then it'd be enabled.
BUG=116181
Review URL: https://codereview.chromium.org/812513002
Cr-Commit-Position: refs/heads/master@{#308725}
Introduce Property Trees
Based of Andrew's work: crrev.com/642833002
This patch creates a transform and a clip tree and computes
visual content rects based on those.
BUG=386786
Review URL: https://codereview.chromium.org/687873004
Cr-Commit-Position: refs/heads/master@{#308724}
Don't consider JWK's {"use": "enc"} as allowing key derivation.
BUG=442007
Review URL: https://codereview.chromium.org/809613002
Cr-Commit-Position: refs/heads/master@{#308723}
aria-pressed on a button should expose checked on android.
When aria-pressed is defined as {true/mixed} on button, then class android.widget.togglebutton is
exposed, and its state on should be checked.
BUG=171625
Review URL: https://codereview.chromium.org/795233004
Cr-Commit-Position: refs/heads/master@{#308722}
ozone: suppress TTC when the cursor is hidden
The CL temporarily disables the tap-to-click feature when the cursor
is hidden no matter whether it is enabled or not. This is to improve
the user experience in some use cases (e.g., typing, watching video).
Contributed by [email protected]
BUG=440656
TEST=link_freon ChromeOS build
Review URL: https://codereview.chromium.org/790583003
Cr-Commit-Position: refs/heads/master@{#308721}
net: add HSTS preload for login.(ubuntu.com|launchpad.net) by request.
Cr-Commit-Position: refs/heads/master@{#308720}
Fixing initialization order of |MemoryPressureObserverChromeOS|
Due to some overlapping CL's the initialization order required to be changed so that the message_loop exists before the MemoryPressureObserver gets created.
BUG=-
TEST=upcoming test revealed this. Will be in next CL.
Review URL: https://codereview.chromium.org/805383002
Cr-Commit-Position: refs/heads/master@{#308719}
Roll src/third_party/skia e1869ca:a86a233
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/e1869ca..a86a233
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/808703003
Cr-Commit-Position: refs/heads/master@{#308718}
net: add batch of HSTS preloads.
Cr-Commit-Position: refs/heads/master@{#308717}
ozone: evdev: Plumb keyboard repeat settings into KeyboardEvdev
This allows ChromeOS settings to disable repeat & change the rate.
BUG=441856
TEST=adjust settings on link_freon & check rate changes
Review URL: https://codereview.chromium.org/800203002
Cr-Commit-Position: refs/heads/master@{#308716}
GuestView: Cleanup Zoom
This CL does the following:
1. Update the zoom observation when owner_web_contents changes.
2. Disable Zoom Propogation for MIME Handlers.
3. Cleanup zoom code a bit in GuestViewBase.
BUG=442861
Review URL: https://codereview.chromium.org/806223003
Cr-Commit-Position: refs/heads/master@{#308715}
ARIA state/property aria-autocomplete should expose IA2_STATE_SUPPORTS_AUTOCOMPLETION.
According to specs http://rawgit.com/w3c/aria/master/core-aam/core-aam.html
aria-autocomplete {"inline", "list","both"} set IA2_STATE_SUPPORTS_AUTOCOMPLETION.
aria-autocomplete {"none"} Not Mapped
Also, expose object attribute autocomplete: <value>.
This CL depends on https://codereview.chromium.org/779513007/
BUG=169559, 169563
Review URL: https://codereview.chromium.org/785943002
Cr-Commit-Position: refs/heads/master@{#308714}
Plumb maximum rectangle texture size into TextureManager.
This allows MaxSizeForTarget() to return correct values for
GL_TEXTURE_RECTANGLE targets, which is necessary for copying large
rectangle textures (such as those produced by the new Mac hardware
decoder).
BUG=425708
Review URL: https://codereview.chromium.org/797843002
Cr-Commit-Position: refs/heads/master@{#308713}
Linux: Change the RPM installer to use XZ compression.
This results in a 20% smaller file vs BZ compression.
The RPM package is then approximately the same size as the DEB package.
Tested on OpenSUSE 12.2, and Fedora claims support since F12.
Review URL: https://codereview.chromium.org/809703004
Cr-Commit-Position: refs/heads/master@{#308712}
Fix few targets in UI during GN build on Windows.
BUG=None
TEST=gn gen out_gn/Debug && ninja -C out_gn/Debug
[email protected]
[email protected]
Review URL: https://codereview.chromium.org/806183002
Cr-Commit-Position: refs/heads/master@{#308711}
Fix EasyUnlockTpmKeyManager test leaks
BUG=442600
TEST=Run EasyUnlockTpmKeyManagerTest under valgrind
Review URL: https://codereview.chromium.org/789683003
Cr-Commit-Position: refs/heads/master@{#308710}
Fix ChromeRenderViewObserver::DidStopLoading to be OOPIF compatible.
BUG=442955
Review URL: https://codereview.chromium.org/807583006
Cr-Commit-Position: refs/heads/master@{#308709}
Add comment to RendererFrameManager
BUG=None
Review URL: https://codereview.chromium.org/798513003
Cr-Commit-Position: refs/heads/master@{#308708}
Move make_javascript_deterministic to UserStory.
BUG=439512,439700
Review URL: https://codereview.chromium.org/806513002
Cr-Commit-Position: refs/heads/master@{#308707}
Don't reset ended_cb_ after ending in the MojoRendererImpl.
It's still valid for a client to seek to the beginning and restart
playback without reinitializing the renderer.
BUG=none
TEST=pipeline_integration_tests \o/
Review URL: https://codereview.chromium.org/809603006
Cr-Commit-Position: refs/heads/master@{#308706}
MacViews: Make clipboard simplified string data for bookmarks consistent with other platforms
Note the unflattened "BookmarkDictionaryListPboardType" clipboard format
which preserves folder hierarchies is not changed.
This is covered by BookmarkNodeDataTest.* which is not currently run at
all on Mac. The tests have a toolkit-views dependency.
Currently on Mac BookmarkNodeData::WriteToClipboard descends into
folders when writing "simple" formats and emits no simple string data
for folders.
This changes Mac to emit only top-level data when creating the NSString
pasteboard format, and to include folder titles, making it consistent
with other platforms (i.e. with BookmarkNodeData::WriteToClipboard()
defined !OS_MACOSX in bookmark_node_data.cc )
After this CL, BookmarkNodeDataTest.* all run (and pass) in a
toolkit-views build on Mac. (3 of these tests would previously fail).
BUG=412234
TEST=components_unittests BookmarkNodeDataTest.*
Review URL: https://codereview.chromium.org/804813003
Cr-Commit-Position: refs/heads/master@{#308705}
Move DidChangeScrollOffset to RenderFrameObserver
BUG=433486
Review URL: https://codereview.chromium.org/812663002
Cr-Commit-Position: refs/heads/master@{#308704}
Fix broken config change handling in the mojo demuxers.
The null buffers were not handled correctly. The config change
queue system was also incorrect. OnBufferReady() may be in the
process of handling a Read() call, so the read_cb_ can't be reset
immediately once the OnXXXConfigChanged() message is received, it
must wait for the kConfigChange status buffer.
BUG=none
TEST=pipeline integration tests \o/
Review URL: https://codereview.chromium.org/791983004
Cr-Commit-Position: refs/heads/master@{#308703}
Instrumenting opening password database to find jank.
This database opening happens in UI thread. Checking what jankiness this causes.
Background: one of jankiness investigations (crbug.com/426272) came to a conclusion that the jank is actually caused by this issue. Instrumenting to get the numbers.
BUG=138903
Review URL: https://codereview.chromium.org/807263003
Cr-Commit-Position: refs/heads/master@{#308702}
Roll src/third_party/skia 41b4d77:e1869ca
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/41b4d77..e1869ca
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/807163004
Cr-Commit-Position: refs/heads/master@{#308701}
ozone: evdev: Implement key repeat internally
Ignore repeated kernel events & do it internally. This prevents each
keyboard from having its own repeat.
Parameters are 500ms initial delay and 50ms repeat, same as CrOS
defaults. Using prefs is a followup.
BUG=441856
TEST=manual on link_freon
Review URL: https://codereview.chromium.org/798193002
Cr-Commit-Position: refs/heads/master@{#308700}
ozone: layout: Export USE_XKBCOMMON to dependents
We're using this define in the dri & gbm platforms to create the correct
layout engine. Also some deps fixes in the GN build.
BUG=430194
Review URL: https://codereview.chromium.org/808873002
Cr-Commit-Position: refs/heads/master@{#308699}
Linux Video Capture: small cleanup
I took the liberty to bundle a bunch of cleanups:
- Some loops of the form while(...){... increment_variable} are passed to
for loops, this IMHO brings closer the loop-specific actions.
- Const added to many local variables.
- 1 Const auto and range based loop.
- GetListOfUsableFourCCs -> changed to return a std::list<int>
instead of filling up a pointer parameter; IMHO this reflects
better the method name.
- Renamed V4l2ColorToVideoCaptureColorFormat() ->
V4l2FourCcToChromiumPixelFormat() to reflect better what is doing.
- Removed superfluous comments and added refs to crbug.coms.
BUG=441836
Review URL: https://codereview.chromium.org/804473007
Cr-Commit-Position: refs/heads/master@{#308698}
Supports layout switch in Ozone by xkbcommon library.
BUG=430194
Review URL: https://codereview.chromium.org/811523003
Cr-Commit-Position: refs/heads/master@{#308697}
Extending the memory pressure system by adding one more state to denote a lack of memory pressure.
This CL is adding one more state to the resource pressure states to allow a system state query to use the pressure value.
Please see go/chromeosresourcepressure for more information.
BUG=439493
TEST=Since there are no users of the new state, this cannot be "tested" yet.
Review URL: https://codereview.chromium.org/782053002
Cr-Commit-Position: refs/heads/master@{#308696}
[Extensions Toolbar Mac] Fix style mistakes in BrowserActionsContainerView
[email protected]
Review URL: https://codereview.chromium.org/787313003
Cr-Commit-Position: refs/heads/master@{#308695}
Remove temp file should not fail if file is not on the device.
On post-ICS versions of Android 'rm -f' accomplishes this, but the -f option
does not exist on ICS leading to this error on the bots:
'rm failed for -f, No such file or directory'
Thus, instead of using -f, the script will let the rm fail and ignore it if the
file does not exist.
BUG=433143
Review URL: https://codereview.chromium.org/813543002
Cr-Commit-Position: refs/heads/master@{#308694}
Make grit <include> de-duping clearer.
[email protected]
BUG=none
TEST=code is easier to read and more thoroughly tested
NOTRY=true
Review URL: https://codereview.chromium.org/800043003
Cr-Commit-Position: refs/heads/master@{#308693}
Reenable the CryptoToken extension in guest mode.
BUG=442783
Review URL: https://codereview.chromium.org/807663004
Cr-Commit-Position: refs/heads/master@{#308692}
clang/win: Fix two "expression which evaluates to zero treated as a null pointer constant" warnings
They were caused by https://codereview.chromium.org/725723002
BUG=432550
[email protected]
[email protected]
Review URL: https://codereview.chromium.org/807293002
Cr-Commit-Position: refs/heads/master@{#308691}
Delete dead PushMessaging code.
BUG=389194
Review URL: https://codereview.chromium.org/811483004
Cr-Commit-Position: refs/heads/master@{#308690}
Accumulate content_to_target_transform for nested Surfaces.
All the transforms need to be combined together if there are multiple layers in the nesting.
Review URL: https://codereview.chromium.org/804903007
Cr-Commit-Position: refs/heads/master@{#308689}
Instrumenting QuicStreamFactory::Job::DoLoop and HttpCache::Transaction::DoLoop for jank.
Prior instrumentations showed that:
QuicStreamFactory::Job::DoLoop = 38 jph
HttpCache::Transaction::DoLoop = 8 jph
Instrumenting further
BUG=422516
Review URL: https://codereview.chromium.org/803073003
Cr-Commit-Position: refs/heads/master@{#308688}
Update handling of easy unlock icon tooltip for error state
Error state tooltips should be automatically shown (i.e. even if user
does not hover over the icon) with 1 second delay. Also, they should be
hidden after 5 seconds. Though, tooltip state caused by user hovering
over the icon should override the 'autoshow' state. The tooltip is
considered autoshown only if user was not already hovering over the icon
when the icon tooltip was set.
The tooltip state handling is refactored so the hover and autoshow states
are handled separately (though, autoshow state changes depend on hover
state, specifically on whether the tooltip is already shown due to hover
state).
Also, to simplify cleanup for timeouts, different private UserPodCustomIcon
class members are used for tracking timeouts set for hover state and
autoshow state changes.
BUG=422004
Review URL: https://codereview.chromium.org/807583004
Cr-Commit-Position: refs/heads/master@{#308687}
Fix compilation error.
BUG=
Review URL: https://codereview.chromium.org/811893002
Cr-Commit-Position: refs/heads/master@{#308686}
Enabling Auth browser test for Chromoting on Windows.
I have tried running the Windows build of the Auth test
locally and on a swarming bot and it consistently passes
(both for v1 and v2 webapp). Therefore, as discussed with Anand
I will enable Auth test for Windows, for v2 webapp.
In the long-term we should extend coverage to v1 webapp,
but this requires refactoring how parameters are passed to the tests
(and is tracked by chromium issue here:
https://code.google.com/p/chromium/issues/detail?id=423581).
BUG=431488
Review URL: https://codereview.chromium.org/809803002
Cr-Commit-Position: refs/heads/master@{#308685}
Add dontUseSummaryAsTitle attribute to ChromeSwitchPreference.
This attribute prevents the summary text from being styled like title
text in the case that the title is empty. Normally, we want the summary
text to be styled like title text, but this allows us to disable that
behavior in certain cases.
BUG=442845
Review URL: https://codereview.chromium.org/807273002
Cr-Commit-Position: refs/heads/master@{#308684}
Add logging, fix double-logging, fix uirobot results
Add more logging messages.
Remove appurifys logging handler after it is added.
Have uirobot parse its results to return simple pass/fail.
BUG=428729
Review URL: https://codereview.chromium.org/792663005
Cr-Commit-Position: refs/heads/master@{#308683}
Roll WebRTC 7905:7914, Libjingle 7905:7908
WebRTC 7905:7914
Changes: https://chromium.googlesource.com/external/webrtc/trunk/webrtc.git/+log/25834b8..3b44b3c
Libjingle 7905:7908
Changes: https://chromium.googlesource.com/external/webrtc/trunk/talk.git/+log/f99af5c..33d17ee
[email protected]
Review URL: https://codereview.chromium.org/796363004
Cr-Commit-Position: refs/heads/master@{#308682}
Changed macros to UMA and updating histograms file.
First patch of LOCAL_ was to be safe, where the histograms are only stored locally. Switching to UMA_ macros to start uploading the data.
BUG=439529
Review URL: https://codereview.chromium.org/794313003
Cr-Commit-Position: refs/heads/master@{#308681}
Upstream DocumentTabModelImpl and related classes
Moves the DocumentTabModelImpl and its associated tests/utility classes upstream
from the downstream directories.
Updates the findbugs to remove obsolete ones and add
temporary new ones (until more is upstreamed).
Setting NOTRY to true to get around findbugs changes.
BUG=415747
TEST=DocumentTabModelImplTest, OffTheRecordDocumentTabModelTest
NOTRY=true
Review URL: https://codereview.chromium.org/802343003
Cr-Commit-Position: refs/heads/master@{#308680}
Mark PrefServiceBridge.isAcceptCookiesEnabled @VisibleForTesting.
BUG=149400
[email protected]
[email protected]
Review URL: https://codereview.chromium.org/791633009
Cr-Commit-Position: refs/heads/master@{#308679}
Organize source lists in chrome_browser_ui.gypi
This make chrome_browser_ui.gypi use the same organizational structure
for sources lists as chrome_browser.gypi now uses, with an alphabetical
list of platform-y lists, followed by an alphabetical list of feature-y
lists (ignoring 'non_' when alphabetizing).
BUG=None
Review URL: https://codereview.chromium.org/811573003
Cr-Commit-Position: refs/heads/master@{#308678}
Roll src/third_party/skia 3f801cb:41b4d77
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/3f801cb..41b4d77
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/807103003
Cr-Commit-Position: refs/heads/master@{#308677}
Upstream components/translate/ios
Review URL: https://codereview.chromium.org/809693003
Cr-Commit-Position: refs/heads/master@{#308676}
Use rect-circle hit testing for touch selection handles
Using a rect for the touch contact point can result in false positive
intersections with the touch selection handle. Instead, use a circular
representation of the touch contact point when hit testing.
Review URL: https://codereview.chromium.org/806303002
Cr-Commit-Position: refs/heads/master@{#308675}
Add a license for third_party/ply/__init__.py.
Review URL: https://codereview.chromium.org/810633002
Cr-Commit-Position: refs/heads/master@{#308674}
More explicit thread checking in SafeBrowsingDatabase.
As part of trying to understand threading rules for SafeBrowsingDatabase
I added these explicit checks which helps documenting the expected flow.
Also replaced old checks with modern Chromium synchronization constructs
and explicitly mark SafeBrowsingStoreFile non-thread-safe.
These new checks helped catch issue 438754 and issue 442891.
More robust thread safety coming in https://codereview.chromium.org/790703003/
BUG=438754, 440517, 338486
Review URL: https://codereview.chromium.org/744183002
Cr-Commit-Position: refs/heads/master@{#308673}
Fix a race condition in SafeBrowsingDatabaseNew::IsCsdWhitelistKillSwitchOn()
Extracted from https://codereview.chromium.org/744183002/
TBR=mattm
BUG=442891
Review URL: https://codereview.chromium.org/793663003
Cr-Commit-Position: refs/heads/master@{#308672}
cc: Stop passing layer bounds to PictureLayerTilingSet
Get the bounds from the RasterSource directly.
R=enne, vmpstr
BUG=387116
Review URL: https://codereview.chromium.org/810853002
Cr-Commit-Position: refs/heads/master@{#308671}
Changed identification level to anonymous for windows IPC channel
This patch makes some changes to impersonation levels for pipes used
in IPC. It changes the default level for the IPC channel client to
use SECURITY_ANONYMOUS and also modified the sandbox's file policy
code to always pass a SecurityAnonymous QOS structure to all file
creations and opens. This was done to avoid modifying the IPC calls
themselves to add the QOS information. The aim of the patch is to
reduce the possibility of impersonation tokens leaking to less trusted
processes during normal operation.
This is a counterpart to CL 799943002
BUG=440694
Review URL: https://codereview.chromium.org/811763002
Cr-Commit-Position: refs/heads/master@{#308670}
Windows 10/ MetroUI - Added validation for ui_channel during size change event.
With new StartChromeOSMode function we keep on retrying channel connection in
posted/delayed task. Meanwhile metro enviroment sends us size change, which we try
to pass-on ui_channel_ without validating.
BUG=440475
R=cpu, ananta
Review URL: https://codereview.chromium.org/809653002
Cr-Commit-Position: refs/heads/master@{#308669}
Move virtual setSurfaceReady to non-virtual StartCompositor.
This method is no longer part of the blink APIs that
RenderWidgetCompositor implements, so make it non-virtual and follow
chromium style.
Review URL: https://codereview.chromium.org/812553003
Cr-Commit-Position: refs/heads/master@{#308668}
session: Add callback-based notification for session restore
Part of the effort to remove NotificationService.
For now, the only observer of the notification that is
updated is perf_provider_chromeos. The other observers will
be updated later, and the old notification will be removed
at that point.
BUG=chromium:268984
TEST=none
Signed-off-by: Simon Que <[email protected]>
Review URL: https://codereview.chromium.org/795143003
Cr-Commit-Position: refs/heads/master@{#308667}
Change CHECK to DCHECK for crash due to touch exploration with eager GR.
TEST=manual testing to make sure no crash occurs.
BUG=442773
Review URL: https://codereview.chromium.org/805353002
Cr-Commit-Position: refs/heads/master@{#308666}
Changed YUV decoding enable flag to disable flag
GPU YUV decoding will now be ON by default, when GPU Rasterization is enabled. The most recent benchmarks show little to no difference on desktop, but significant improvements on Android, so this should be worth it. Also, currently, this change will only affect Android, on pages with the appropriate 'meta' tag.
BUG=413001,419718
Review URL: https://codereview.chromium.org/799463004
Cr-Commit-Position: refs/heads/master@{#308665}
Upstream Protected Content settings.
BUG=428869
Review URL: https://codereview.chromium.org/787133003
Cr-Commit-Position: refs/heads/master@{#308664}
[Android] Add AppMenu touch duration metric.
We want to monitor touch duration on AppMenu to decide optimal timeout
for single tap vs dragging.
BUG=434501
Review URL: https://codereview.chromium.org/763253005
Cr-Commit-Position: refs/heads/master@{#308663}
Fix race between SetVisible and CreateOutputSurface
If SetVisible(false) happens before a posted CreateOutputSurface, then
it can end up deferencing a null LayerTreeHost. An early out avoids
this.
[email protected]
BUG=442359
Review URL: https://codereview.chromium.org/806053004
Cr-Commit-Position: refs/heads/master@{#308662}
Instrumenting URLRequestJob::ReadRawDataHelper for jank.
We know that URLRequestJob::ReadRawDataHelper causes 22.3 jph.
Instrumenting further.
BUG=423948
Review URL: https://codereview.chromium.org/808483004
Cr-Commit-Position: refs/heads/master@{#308661}
Revert of Make grit <include> de-duping clearer. (patchset #1 id:20001 of https://codereview.chromium.org/800043003/)
Reason for revert:
http://build.chromium.org/p/chromium.fyi/builders/Closure%20Compilation%20Linux/builds/9077
Original issue's description:
> Make grit <include> de-duping clearer.
>
> [email protected]
> BUG=none
> TEST=code is easier to read and more thoroughly tested
> NOTRY=true
>
> Committed: https://crrev.com/8963f1b0fa101c1bd3fea60c8bca46da2cf44d30
> Cr-Commit-Position: refs/heads/master@{#308658}
[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=none
Review URL: https://codereview.chromium.org/803173005
Cr-Commit-Position: refs/heads/master@{#308660}
Instrumenting InitializeInternal to find jank.
Prior instrumentations showed that ProfileIOData::Init's jank happens in the call to InitializeInternal (8.6 jph).
Instrumenting InitializeInternal.
BUG=436671
Review URL: https://codereview.chromium.org/790853007
Cr-Commit-Position: refs/heads/master@{#308659}
Make grit <include> de-duping clearer.
[email protected]
BUG=none
TEST=code is easier to read and more thoroughly tested
NOTRY=true
Review URL: https://codereview.chromium.org/800043003
Cr-Commit-Position: refs/heads/master@{#308658}
Revert of Suppress uninitialized read in drmemory bot (patchset #1 id:1 of https://codereview.chromium.org/802983003/)
Reason for revert:
The suppression will suppress almost all errors, and make Dr.Memory bots useless.
The bad callstack is caused by the VS producing corrupted pdb, clobber to builder.
Original issue's description:
> Suppress uninitialized read in drmemory bot
>
> BUG=442850
> [email protected]
> NOTRY=true
>
> Committed: https://crrev.com/2a589da939ba026ff87559885c1dc17ed236f89d
> Cr-Commit-Position: refs/heads/master@{#308648}
[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=442850
Review URL: https://codereview.chromium.org/802983004
Cr-Commit-Position: refs/heads/master@{#308657}
easy-unlock: Use a dedicated UMA for missing screenlock state handler.
Password sign-in with service-not-active UMA number is too high. It is
currently counted with two events: service-not-active and missing screenlock
state handler. This CL use a dedicated UMA for the later case.
BUG=none.
Review URL: https://codereview.chromium.org/812633002
Cr-Commit-Position: refs/heads/master@{#308656}
Roll src/third_party/WebKit 002ccb2:994eb22 (svn 187276:187283)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/002ccb2..994eb22
[email protected],[email protected]
Review URL: https://codereview.chromium.org/804943004
Cr-Commit-Position: refs/heads/master@{#308655}
[Extensions Toolbar Mac] Fix BrowserActionsContainerView animationEndFrame.
It looks like, in completely undocumented behavior, the animator proxy for
NSViews does return the frame at the end of the animation for some systems, but
not others. Change the BrowserActionsContainerView to use a NSViewAnimation
instead to solve this.
BUG=442225
Review URL: https://codereview.chromium.org/798693005
Cr-Commit-Position: refs/heads/master@{#308654}
Componentize AutocompleteSyncableService
Move AutocompleteSyncableService into autofill component and fix the
WebDataServiceWrapper initialization to start the syncable services
since it can now depend on them.
BUG=437508
Review URL: https://codereview.chromium.org/781793002
Cr-Commit-Position: refs/heads/master@{#308653}
[telemetry] - Tear down replay server when browser is lost.
Speculative fix for crbug.com/439598. When browser is lost/crashes mid test, we don't unmap all the forwarded ports, and host_forwarder seems to get into a state where it can't communicate with the device anymore.
BUG=439598
Review URL: https://codereview.chromium.org/808803002
Cr-Commit-Position: refs/heads/master@{#308652}
Another attempt to fix the ContentAutofillDriver::DidNavigateFrame crash.
Since 2bab69317231378 didn't work, my theory is that some use of frame_driver_map_[] created a null entry. Eliminate the two places where that could occur.
Also expand the scope of the paper-over fix. If the crash disappears after this patch, we can try removing the paper-over.
BUG=438951
[email protected]
Review URL: https://codereview.chromium.org/793073004
Cr-Commit-Position: refs/heads/master@{#308651}
Switch calls of PageSet.AddPage to AddUserStory in DRP telemetry tests
After https://codereview.chromium.org/800863003/, PageSet.AddPage has
been removed in favor of PageSet.AddUserStory. This sudden removal
caused all the chrome-proxy tests to fail.
This change makes the DRP telemetry tests use PageSet.AddUserStory
instead of AddPage.
BUG=442820
Review URL: https://codereview.chromium.org/801783005
Cr-Commit-Position: refs/heads/master@{#308650}
Fix releasing capture in Ozone
In CrOS Ozone, WindowTreeHost::SetCapture() is not a no-op (unlike CrOS X11).
This CL makes CaptureController::SetCapture() release capture on the
WindowTreeHost which has native capture regardless of which WindowTreeHost
the aura::Window with capture is currently in.
BUG=423383
TEST=None
Review URL: https://codereview.chromium.org/780273003
Cr-Commit-Position: refs/heads/master@{#308649}
Suppress uninitialized read in drmemory bot
BUG=442850
[email protected]
NOTRY=true
Review URL: https://codereview.chromium.org/802983003
Cr-Commit-Position: refs/heads/master@{#308648}
[NetInfo] Add a MaxBandwidthChangeObserver and Android implementation
* Add a MaxBandwidthChangeObserver to NetworkChangeNotifier
* Android notifies of max bandwidth changes at two points:
1. On connection type change (if the bandwidth changes)
2. On wifi signal strength change
BUG=433370
Review URL: https://codereview.chromium.org/780293003
Cr-Commit-Position: refs/heads/master@{#308647}
Temporarily disable the flaky PasswordManagerBrowserTest.ReCreatedFormsGetFilled
This test has been reported as flaky on all platforms.
BUG=442704
[email protected]
Review URL: https://codereview.chromium.org/809813002
Cr-Commit-Position: refs/heads/master@{#308646}
Put screenshot.py back to work
build/android/screenshot.py does not work anymore if you have only one
device attached and do not specify device id.
Review URL: https://codereview.chromium.org/804963003
Cr-Commit-Position: refs/heads/master@{#308645}
Disable service_worker.service_worker_micro_benchmark
This test has been causing the waterfall on chromium.perf to go red. I couldn't
narrow it down to any CLs in the revision range.
BUG=442752
NOTRY=true
TBR=
Review URL: https://codereview.chromium.org/807843004
Cr-Commit-Position: refs/heads/master@{#308644}
Push API: Persist Sender ID to enable registration from workers
Unfortunately, until https://crbug.com/437677 is fixed, it's not possible to
actually register from a worker, so adding tests (and marking
https://crbug.com/437298 as fixed) is blocked on that.
BUG=437298
Review URL: https://codereview.chromium.org/807043003
Cr-Commit-Position: refs/heads/master@{#308643}
Make about:credits' code a little bit spiffier.
[email protected]
BUG=none
TEST=no console errors nor eye burning
Review URL: https://codereview.chromium.org/803743002
Cr-Commit-Position: refs/heads/master@{#308642}
Instrumenting TransportConnectJobHelper::DoLoop for jank
This TransportConnectJobHelper::DoLoop causes 9.1 jps, hence we need to instrument it.
BUG=436634
Review URL: https://codereview.chromium.org/811653002
Cr-Commit-Position: refs/heads/master@{#308641}
Roll src/third_party/skia 478dd72:3f801cb
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/478dd72..3f801cb
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/807153003
Cr-Commit-Position: refs/heads/master@{#308640}
ozone: layout: Add exports to layout_util
Some of these functions are used from the xkb unit test and need to be
exported.
BUG=none
TEST=build events_unittests with use_xkbcommon=1
Review URL: https://codereview.chromium.org/808823002
Cr-Commit-Position: refs/heads/master@{#308639}
[Extension Toolbar] Refactor and finish pop out logic for actions
* Pull out the logic to "pop out" actions when they want to act
into a separate inner class of ToolbarActionsBar.
* Make unit tests for ToolbarActionsBar also test the overflow
container.
* Turn off "popping out" actions by default.
UI has decided that, for the time being, we want to hold off
on popping out actions. Since this is still in heavy flux,
keep it in the code base (and tested) to prevent code rot.
BUG=417441
Review URL: https://codereview.chromium.org/766263003
Cr-Commit-Position: refs/heads/master@{#308638}
Move Syzygy build related things to their own directory with an OWNERS file, and add an allocation filter file.
BUG=
Review URL: https://codereview.chromium.org/773253004
Cr-Commit-Position: refs/heads/master@{#308637}
Revert "Use the libc clone wrapper in sys_clone."
This reverts commit d8a593bceaf0a4b38d06a8c13b948202d205f1b6.
Reason for revert: see crbug.com/442817
> Previously, we directly invoked the syscall, which would not update
> libc's PID cache in the child. Although the libc wrapper function
> updates the PID cache, it unfortunately requires that the child run on a
> different stack, even if CLONE_VM is not specified. We work around this
> by briefly switching stacks in the child, then using longjmp to switch
> back. This gives us a version of clone with fork-like behavior, which is
> what we need for starting processes in new namespaces.
>
> BUG=312380
> Committed: https://crrev.com/d8a593bceaf0a4b38d06a8c13b948202d205f1b6
> Cr-Commit-Position: refs/heads/master@{#308510}
BUG=312380, 442817
[email protected]
Review URL: https://codereview.chromium.org/807213002
Cr-Commit-Position: refs/heads/master@{#308636}
Move IDS_PASSWORD_MANAGER_EMPTY_LOGIN to component resources
The string "(No username)" is currently used in the password manager bubble, but became useful also for password-field suggestions introduced by https://codereview.chromium.org/773573004/.
This CL ensures, that when a user gets a suggestions pop-up in a password field, and has an empty username saved with a password, the suggestion explicitly mentions the username is missing, instead of displaying a blank suggestion. This is consistent with the bubble.
As a side-effect, the corresponding string is moved from chrome to components resources.
BUG=442191,410963
[email protected]
Review URL: https://codereview.chromium.org/785233009
Cr-Commit-Position: refs/heads/master@{#308635}
Exclude failing DisplayInfoProviderChromeosTest on chromeos bot
BUG=442834
[email protected]
NOTRY=true
Review URL: https://codereview.chromium.org/810863002
Cr-Commit-Position: refs/heads/master@{#308634}
[Extensions] Improve access safety for injecting extension scripts.
Since extension scripts can block and cause a nested message loop, it's possible
for the list of pending injections to be modified while we're traversing it (if,
e.g., an extension is reloaded). Protected against this.
BUG=401701
Review URL: https://codereview.chromium.org/807693002
Cr-Commit-Position: refs/heads/master@{#308633}
[chromedriver] testDownloadDirectoryOverridesExistingPreferences is flaky
BUG=chromedriver:992
Review URL: https://codereview.chromium.org/805913003
Cr-Commit-Position: refs/heads/master@{#308632}
Wait for cryptohomed before showing enable-dev-features UI.
Enabling debug features requires cryptohomed to be ready so wait
on it as well.
BUG=440506
Review URL: https://codereview.chromium.org/797053003
Cr-Commit-Position: refs/heads/master@{#308631}
[Hotword, Audio] Remove bad include that was not needed and caused compile error.
BUG=442640
[email protected]
Review URL: https://codereview.chromium.org/805333002
Cr-Commit-Position: refs/heads/master@{#308630}
Revert of [Ozone-Demo] Extract rendering parts into separate renderer classes (patchset #1 id:1 of https://codereview.chromium.org/805843003/)
Reason for revert:
Broke Linux compile (unused vbl): http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Ozone%20Builder/builds/8640/steps/compile/logs/stdio
FAILED: /b/build/goma/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/ui/ozone/demo/ozone_demo.ozone_demo.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DCHROMIUM_BUILD -DCR_CLANG_REVISION=223108 -DTOOLKIT_VIEWS=1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_ASH=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_OZONE=1 -DUSE_DEFAULT_RENDER_THEME=1 -DIMAGE_LOADER_EXTENSION=1 -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DUSE_PROPRIETARY_CODECS -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DUSE_UDEV -DDONT_EMBED_BUILD_METADATA -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_GOOGLE_NOW=1 -DCLD_VERSION=2 -DENABLE_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DSK_ENABLE_INST_COUNT=0 -DSK_SUPPORT_GPU=1 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' -DSK_ENABLE_LEGACY_API_ALIASING=1 -DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1 -DGR_GL_IGNORE_ES3_MSAA=0 -DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT -DSK_SUPPORT_LEGACY_TEXTRENDERMODE -DSK_IGNORE_GPU_LAYER_HOISTING -DSK_SUPPORT_LEGACY_NewRasterPMColor -DSK_LEGACY_ENCODE_BITMAP -DSK_USE_POSIX_THREADS -DMESA_EGL_NO_X11_HEADERS -DUSE_LIBPCI=1 -DUSE_NSS=1 -DOS_CHROMEOS=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen -I../.. -I../../skia/config -I../../third_party/khronos -I../../gpu -I../../third_party/skia/src/core -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/pdf -I../../third_party/skia/include/gpu -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../skia/ext -Igen/ui/gl -I../../third_party/mesa/src/include -Werror -pthread -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-reserved-user-defined-literal -Xclang -load -Xclang /b/build/slave/Linux_ChromiumOS_Ozone_Builder/build/src/third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so -Xclang -add-plugin -Xclang find-bad-constructs -fcolor-diagnostics -B/b/build/slave/Linux_ChromiumOS_Ozone_Builder/build/src/third_party/binutils/Linux_x64/Release/bin -Wheader-hygiene -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register -Wno-inconsistent-missing-override -m64 -march=x86-64 -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare -std=gnu++11 -c ../../ui/ozone/demo/ozone_demo.cc -o obj/ui/ozone/demo/ozone_demo.ozone_demo.o
../../ui/ozone/demo/ozone_demo.cc:25:11: error: unused variable 'kAnimationSteps' [-Werror,-Wunused-const-variable]
const int kAnimationSteps = 240;
^
1 error generated.
ninja: build stopped: subcommand failed.
Original issue's description:
> [Ozone-Demo] Extract rendering parts into separate renderer classes
>
> Makes it easier to abstract the part that renders to buffers and add
> new ones.
>
> BUG=none
> NOTRY=true
>
> Committed: https://crrev.com/c0411a00aebc99400e293fd9beca14d1acb6d4af
> Cr-Commit-Position: refs/heads/master@{#308613}
[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=none
Review URL: https://codereview.chromium.org/808553005
Cr-Commit-Position: refs/heads/master@{#308629}
Mac: Fix for key up events not getting forwarded to web contents.
This was broken by https://codereview.chromium.org/740533003.
It only keeps track of the last key code, so it doesn't properly handle the case
where multiple keys are down simultaneously.
Fixed by keeping track of all key down codes using a set.
BUG=439934
Review URL: https://codereview.chromium.org/805823003
Cr-Commit-Position: refs/heads/master@{#308628}
No longer do the libudev loading hack in MSan builds.
Our LKGR builders have been upgraded to Trusty, so we no longer need this.
BUG=438427
[email protected]
Review URL: https://codereview.chromium.org/807203002
Cr-Commit-Position: refs/heads/master@{#308627}
Pass CastMetricsServiceClient to CastService instead of OptIn callback.
1) Split ctor and init of CastMetricsServiceClient.
2) Specify CastService's dependency on CastMetricsServiceClient clearly.
3) Call FinalizeInternal in CastService::Stop.
BUG=
Review URL: https://codereview.chromium.org/807603004
Cr-Commit-Position: refs/heads/master@{#308626}
Autofill - Add (failing) test case for mobile LL Bean checkout.
BUG=442552
Review URL: https://codereview.chromium.org/805713007
Cr-Commit-Position: refs/heads/master@{#308625}
Add device policy to disallow shutdown
This CL introduces a new boolean device policy kDeviceShutdownIsReboot.
BUG=312541
TESTS=unit_tests
Review URL: https://codereview.chromium.org/776093004
Cr-Commit-Position: refs/heads/master@{#308624}
Roll src/third_party/WebKit 41076b8:002ccb2 (svn 187267:187276)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/41076b8..002ccb2
[email protected],[email protected]
Review URL: https://codereview.chromium.org/798383004
Cr-Commit-Position: refs/heads/master@{#308623}
Move mojo gypfiles to toplevel mojo
These files are owned by chromium now. It would not only be weird
to inject them into the rolled mojo directory structure, but doing
so would unnecessarily complicate the mojo up-rev procedure.
BUG=None
[email protected]
Review URL: https://codereview.chromium.org/807773002
Cr-Commit-Position: refs/heads/master@{#308622}
Disable MediaSource renderer
MediaSource rendering is not reliable in the remoting client.
The plan is to replace it with a new renderer that uses
Pepper decode API. This CL disables it, I'm going to remove
it completely later.
BUG=440922
[email protected]
Review URL: https://codereview.chromium.org/803523004
Cr-Commit-Position: refs/heads/master@{#308621}
Move Chromium Ozone tests to swarming.
BUG=chromium:440882
TEST=None
Review URL: https://codereview.chromium.org/789373003
Cr-Commit-Position: refs/heads/master@{#308620}
Revert of Report PasswordManager.OsPasswordStatus on a background thread with a delay. (patchset #1 id:1 of https://codereview.chromium.org/800723004/)
Reason for revert:
Reverting because DCHECK is hit 40s after startup.
Original issue's description:
> Report PasswordManager.OsPasswordStatus on a background thread with a delay.
>
> The histogram was revived in https://codereview.chromium.org/772413004/ but caused jankiness on the UI thread.
>
> BUG=441428
>
> Committed: https://crrev.com/08cd707154a8b1ca7869c5b410d98acb8a6ed3e7
> Cr-Commit-Position: refs/heads/master@{#308128}
[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=441428
Review URL: https://codereview.chromium.org/802923003
Cr-Commit-Position: refs/heads/master@{#308619}
Isolate ui_touch_selection_unittests
It was added to ui/ while I isolated all other unittests in ui/
BUG=98637
[email protected]
Review URL: https://codereview.chromium.org/794903004
Cr-Commit-Position: refs/heads/master@{#308618}
Using chromium API keys in DevTools bridge.
In DevTools bridge API keys and secrets used to be hardcoded (as a temporary solution for simplicity).
Now we need to use regular API key retreiving mechaninsm to be able to make the DevTools bridge working in Clank.
Hardcoded keys will be revoked after commiting this CL.
BUG=383418
Review URL: https://codereview.chromium.org/806803002
Cr-Commit-Position: refs/heads/master@{#308617}
Catch failure to capture collection information from IOHIDDevice.
This is another case where OS X can report failure and we do not
properly check the return code from an IOHIDDevice function before using
the value.
BUG=442360
Review URL: https://codereview.chromium.org/807063002
Cr-Commit-Position: refs/heads/master@{#308616}
Introduce CompositorDependencies for RenderWidgetCompositor.
This interface provides whatever RenderWidgetCompositor requires
instead of going directly to RenderThreadImpl which may or may not
exist in tests.
[email protected]
BUG=384381
Review URL: https://codereview.chromium.org/801973002
Cr-Commit-Position: refs/heads/master@{#308615}
cc: Remove the PostCommitInitialization from PictureLayerImpl.
This code no longer does anything at all, except track a bool that says
if we should do it. So let's remove it!
BUG=387116
Review URL: https://codereview.chromium.org/807193002
Cr-Commit-Position: refs/heads/master@{#308614}
[Ozone-Demo] Extract rendering parts into separate renderer classes
Makes it easier to abstract the part that renders to buffers and add
new ones.
BUG=none
NOTRY=true
Review URL: https://codereview.chromium.org/805843003
Cr-Commit-Position: refs/heads/master@{#308613}
Password Manager: Fix 'Show' button margin.
Blink r176850 [1] removed intrinsic margin for form controls without explit
sizes. The 'Show' button relied on the intrinsic margin.
[1] http://src.chromium.org/viewvc/blink?revision=176850&view=revision
BUG=430022
Review URL: https://codereview.chromium.org/806723002
Cr-Commit-Position: refs/heads/master@{#308612}
app_shell: Move chrome.audio extensions API to //extensions
This allows app_shell to use chrome.audio. Extend the stub PrefHandler
to support get/set of volume so the audio API tests still pass. In a
later CL the audio code will be refactored to allow app_shell to use the
real AudioDevicePrefHandler.
BUG=442401
TEST=app_shell_browsertests AudioApiTest
Review URL: https://codereview.chromium.org/804173003
Cr-Commit-Position: refs/heads/master@{#308611}
cc: Only show GPU status if fps or paint time is up
The GPU status is currently showing if "Show paint rectangles" or
"Show potential scroll bottlenecks" is up, but was only meant to
be displayed for the fps and paint time meters.
This was caused by my previous change:
https://codereview.chromium.org/774943005
BUG=
Review URL: https://codereview.chromium.org/805293002
Cr-Commit-Position: refs/heads/master@{#308610}
Roll src/third_party/skia 9a5380d:478dd72
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/9a5380d..478dd72
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/807163002
Cr-Commit-Position: refs/heads/master@{#308609}
Revert of Revert of telemetry: Clean up SurfaceFlinger statistics (patchset #1 id:1 of https://codereview.chromium.org/809753002/)
Reason for revert:
Relanding, this patch was not the culprit. Sorry.
Original issue's description:
> Revert of telemetry: Clean up SurfaceFlinger statistics (patchset #8 id:140001 of https://codereview.chromium.org/765773004/)
>
> Reason for revert:
> Perf sheriff here, speculatively reverting due to crbug.com/442752, it shows up in many blamelists (but not all as the test wasn't running due to another bug). Sorry if unrelated.
>
> Original issue's description:
> > PERF-SHERIFFS: This patch will change all smoothness and SurfaceFlinger metrics on Android. Some metrics may go up or down significantly, with the new values being more accurate.
> >
> > This patch cleans up the integration of SurfaceFlinger statistics by pulling the
> > raw timestamps into the timeline and calculating all metrics in
> > SmoothnessMetric. This approach also improves the metrics, because the
> > timeline ranges can now be properly bounded (no more percentiles!) and the
> > existing smoothness metrics can also use the more accurate SurfaceFlinger
> > timestamps.
> >
> > BUG=351916
> >
> > Committed: https://crrev.com/ebae600f54ed1e77eeba916635310fb176c0fb6c
> > Cr-Commit-Position: refs/heads/master@{#308488}
>
> [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
> NOTREECHECKS=true
> NOTRY=true
> BUG=351916
>
> Committed: https://crrev.com/3dfc4e90757197efe0855fd4889d32bc52cb4cf9
> Cr-Commit-Position: refs/heads/master@{#308594}
[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=351916
Review URL: https://codereview.chromium.org/804413002
Cr-Commit-Position: refs/heads/master@{#308608}
Replaced @benchmark.Enabled/Disabled and @test.Enabled/Disabled with @decorators.Enabled/Disabled in all unit tests
BUG=
Review URL: https://codereview.chromium.org/797003002
Cr-Commit-Position: refs/heads/master@{#308607}
Roll src/third_party/WebKit 90948d3:41076b8 (svn 187257:187267)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/90948d3..41076b8
[email protected],[email protected]
Review URL: https://codereview.chromium.org/804393002
Cr-Commit-Position: refs/heads/master@{#308606}
Parse stdout results of gtest run on remote device
BUG=428729
Review URL: https://codereview.chromium.org/802203003
Cr-Commit-Position: refs/heads/master@{#308605}
[Installer] Moving GetRegistrationDataCommandKey() to setup_util.
This is a small refactoring that's needed for removal of legacy App Launcher
installer code (will need to use GetRegistrationDataCommandKey outside of
install_workers.cc).
Review URL: https://codereview.chromium.org/800353002
Cr-Commit-Position: refs/heads/master@{#308604}
Filtering devtools bridge instances.
Device filtering was postponed task in https://codereview.chromium.org/784523002/
Previoudly we showed all GDC instances as remote chrome instances. This CL adds filtering based
on exposed commands. Only devices capable of establishing WebRTC session for remote debugging
comes to the list.
BUG=383418
Review URL: https://codereview.chromium.org/803503002
Cr-Commit-Position: refs/heads/master@{#308603}
Fix URL constants deps in Renderer ContentSettingsObserver
The file #includes chrome/common/url_constants.h while it only needs url/ and content/public/common url_constants.h. This CL fixes that.
BUG=384874
Review URL: https://codereview.chromium.org/799923002
Cr-Commit-Position: refs/heads/master@{#308602}
Add johnme to content/browser/push_messaging/OWNERS
Review URL: https://codereview.chromium.org/791723005
Cr-Commit-Position: refs/heads/master@{#308601}
Migrate DeviceUtils.StartActivity to adb_wrapper
The implementation runs an 'am' shell command with the
relevant options and the args of the given intent.
Output is parsed to check for any errors.
BUG=267773
Review URL: https://codereview.chromium.org/802323002
Cr-Commit-Position: refs/heads/master@{#308600}
Use Blink's flag to prevent fling boosting.
This flag prevents the flingCancel event from being used
as a part of a fling boost event sequence.
The synthetic FlingCancel method works properly now and cancels flings
instantly, without deferring flingCancel event.
See: https://codereview.chromium.org/789223002
BUG=440886
Review URL: https://codereview.chromium.org/792833002
Cr-Commit-Position: refs/heads/master@{#308599}
Fallback to app_name_ when app_id_ is empty, which could happen before
UpdateCurrentAppInfo or in AndroidTV builds.
Review URL: https://codereview.chromium.org/794213003
Cr-Commit-Position: refs/heads/master@{#308598}
Adjust "git cl try" to not consider remote devtools sources as android-specific.
There are several files in src/chrome/browser/devtools/device that have "android" in their name although they are meant to be built on desktop platforms.
BUG=
Review URL: https://codereview.chromium.org/811833002
Cr-Commit-Position: refs/heads/master@{#308597}
Roll src/third_party/skia bc02bf0:9a5380d
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/bc02bf0..9a5380d
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/811843002
Cr-Commit-Position: refs/heads/master@{#308596}
Roll src/third_party/WebKit 0574d22:90948d3 (svn 187252:187257)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/0574d22..90948d3
[email protected],[email protected]
Review URL: https://codereview.chromium.org/810793002
Cr-Commit-Position: refs/heads/master@{#308595}
Revert of telemetry: Clean up SurfaceFlinger statistics (patchset #8 id:140001 of https://codereview.chromium.org/765773004/)
Reason for revert:
Perf sheriff here, speculatively reverting due to crbug.com/442752, it shows up in many blamelists (but not all as the test wasn't running due to another bug). Sorry if unrelated.
Original issue's description:
> PERF-SHERIFFS: This patch will change all smoothness and SurfaceFlinger metrics on Android. Some metrics may go up or down significantly, with the new values being more accurate.
>
> This patch cleans up the integration of SurfaceFlinger statistics by pulling the
> raw timestamps into the timeline and calculating all metrics in
> SmoothnessMetric. This approach also improves the metrics, because the
> timeline ranges can now be properly bounded (no more percentiles!) and the
> existing smoothness metrics can also use the more accurate SurfaceFlinger
> timestamps.
>
> BUG=351916
>
> Committed: https://crrev.com/ebae600f54ed1e77eeba916635310fb176c0fb6c
> Cr-Commit-Position: refs/heads/master@{#308488}
[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=351916
Review URL: https://codereview.chromium.org/809753002
Cr-Commit-Position: refs/heads/master@{#308594}
Removed discrepancy in low-end-device-mode flag
Removed the flag low-end-device-mode and added two flags enable-low-end-device-mode and disable-low-end-device-mode. This removes discrepancies between the flag values (integers) when used in different platforms and makes it simple to use with the just the flags and no values passed.
BUG=437778
Review URL: https://codereview.chromium.org/761783004
Cr-Commit-Position: refs/heads/master@{#308593}
Rename --app-shell-host-window-bounds commandline switch to --app-shell-host-window-size.
The keyword "bounds" doesn't make sense because this switch is used to change only the size of the host window.
Similar CL had landed[1] for content_shell with --content-shell-host-window-size as a switch name.
[1] https://codereview.chromium.org/783203002/
Review URL: https://codereview.chromium.org/805203002
Cr-Commit-Position: refs/heads/master@{#308592}
Supervised user SafeSites: Ignore trailing slash in URL path
BUG=417722
Review URL: https://codereview.chromium.org/812553002
Cr-Commit-Position: refs/heads/master@{#308591}
Update V8 to version 3.31.59 (based on 0f619463f25b5c21d1f47e4f839d8aab34b9284e).
[email protected]
Review URL: https://codereview.chromium.org/804373002
Cr-Commit-Position: refs/heads/master@{#308590}
Push API: rename to endpoint and registrationId. [3/3]
This is part of a series:
[1] https://codereview.chromium.org/805863002/
[2] https://codereview.chromium.org/795153003/
[3] This CL
BUG=442343
Review URL: https://codereview.chromium.org/802393002
Cr-Commit-Position: refs/heads/master@{#308589}
Roll src/third_party/WebKit 0a2f7d0:0574d22 (svn 187248:187252)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/0a2f7d0..0574d22
[email protected],[email protected]
Review URL: https://codereview.chromium.org/796303005
Cr-Commit-Position: refs/heads/master@{#308588}
Roll src/third_party/skia af7aac8:bc02bf0
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/af7aac8..bc02bf0
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/812573002
Cr-Commit-Position: refs/heads/master@{#308587}
app_list: Moved OmniboxResult from omnibox_provider.cc into own file.
This split up the method definitions from their declarations and made
OmniboxResult testable.
BUG=442593
Review URL: https://codereview.chromium.org/811683002
Cr-Commit-Position: refs/heads/master@{#308586}
Update HostZoomMap event subscription when RenderViewHost changes.
Each ZoomController is associated with a WebContents and a HostZoomMap.
However, it is possible that a WebContents can, as it navigates, change
its StoragePartition, and therefore its HostZoomMap. This CL monitors
WebContentsObserver for changes in RenderViewHost, and updates the
HostZoomMap subscription if the HostZoomMap changes.
BUG=438979
Review URL: https://codereview.chromium.org/767293006
Cr-Commit-Position: refs/heads/master@{#308585}
IDL: various adjustments to match Web IDL specification better
Notably adds support for maplike<type, type>, setlike<type>, iterable<type>
and legacyiterable<type> declarations.
Also changes some interface member grammar productions around a bit, and
drops the deprecated Attribute production, which Blink's parser no longer
references.
Review URL: https://codereview.chromium.org/803933003
Cr-Commit-Position: refs/heads/master@{#308584}
Push API: Get push registration from ServiceWorkerStorage UserData
This will be used by the Blink/renderer implementation of
ServiceWorkerRegistration.getRegistration
BUG=401422
TEST=Will be tested once the renderer side is implemented
Review URL: https://codereview.chromium.org/768643002
Cr-Commit-Position: refs/heads/master@{#308583}
Add SupervisedUserWhitelistInstaller.
BUG=436459
Review URL: https://codereview.chromium.org/769233002
Cr-Commit-Position: refs/heads/master@{#308582}
Roll src/third_party/WebKit 8b9b2f0:0a2f7d0 (svn 187244:187248)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/8b9b2f0..0a2f7d0
[email protected],[email protected]
Review URL: https://codereview.chromium.org/809713002
Cr-Commit-Position: refs/heads/master@{#308581}
Whitespace change to test the CQ with no target_ref specified
NOTRY=true
BUG=
TBR=
Review URL: https://codereview.chromium.org/803043004
Cr-Commit-Position: refs/heads/master@{#308580}
Updating trunk VERSION from 2251.0 to 2252.0
Cr-Commit-Position: refs/heads/master@{#308579}
Catching of default elements to focus on reset screen fixed.
BUG=399630
Review URL: https://codereview.chromium.org/799393003
Cr-Commit-Position: refs/heads/master@{#308578}
bookmarks: Move BookmarkModelObserver into 'bookmarks' namespace.
BUG=370433
TEST=unit_tests, components_unittests
[email protected]
Review URL: https://codereview.chromium.org/791623004
Cr-Commit-Position: refs/heads/master@{#308577}
Disable flaky MagnificationControllerTest.FollowFocusOnWebButtonContained
[email protected]
NOTRY=true
BUG=442695
Review URL: https://codereview.chromium.org/800853005
Cr-Commit-Position: refs/heads/master@{#308576}
Introduce web::TestWebThread class
Introduce web::TestWebThread that delegate to content::BrowserThread so that
ios/web has content free public API to write tests that uses web::WebThread.
BUG=442292
Review URL: https://codereview.chromium.org/803163002
Cr-Commit-Position: refs/heads/master@{#308575}
Roll src/third_party/WebKit 359bcf0:8b9b2f0 (svn 187239:187244)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/359bcf0..8b9b2f0
[email protected],[email protected]
Review URL: https://codereview.chromium.org/790753004
Cr-Commit-Position: refs/heads/master@{#308574}
Remove devtools_instrumentation::kRasterTask in favor of frame viewer's one
This removes RasterTask emitted through devtools instrumentation and adds
disabled-by-default-devtools.timeline to categories emitted with
frame_viewer_instrumentation classes (frame viewer's event has more details).
BUG=
Review URL: https://codereview.chromium.org/785913003
Cr-Commit-Position: refs/heads/master@{#308573}
Proper clearing SAML flag when user cancel SAML login
BUG=437274
Test=manual
Review URL: https://codereview.chromium.org/780523002
Cr-Commit-Position: refs/heads/master@{#308572}
Roll src/third_party/WebKit 7418dc9:359bcf0 (svn 187232:187239)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/7418dc9..359bcf0
[email protected],[email protected]
Review URL: https://codereview.chromium.org/797393004
Cr-Commit-Position: refs/heads/master@{#308571}
Time out hotword training if the user locks the screen.
BUG=436313
Review URL: https://codereview.chromium.org/811693002
Cr-Commit-Position: refs/heads/master@{#308570}
Add a datatype for supervised user whitelists.
BUG=436459
Review URL: https://codereview.chromium.org/754963004
Cr-Commit-Position: refs/heads/master@{#308569}
Migrate DeviceUtils.TakeScreenshot to adb_wrapper
The implementation runs the 'screencap' tool on the device, and then
uses PullFile to get the screenshot to the host.
Also removes the no longer used MockFileSystem
BUG=267773
Review URL: https://codereview.chromium.org/803943003
Cr-Commit-Position: refs/heads/master@{#308568}
Disable InlineLoginUISafeIframeBrowserTest.NavigationToOtherChromeURLDisallowed on Mac.
Super-flaky, see linked bug.
[email protected]
NOTRY=true
BUG=442674
Review URL: https://codereview.chromium.org/799953004
Cr-Commit-Position: refs/heads/master@{#308567}
Fix preferred size reporting.
These lines were deleted in https://chromiumcodereview.appspot.com/16386002
with the thansition to a new API that returns already zoomed size,
but returned in https://codereview.chromium.org/20087004 without reason.
A quick debug shows that this indeed caused double multiplication.
BUG=440824
Review URL: https://codereview.chromium.org/787683002
Cr-Commit-Position: refs/heads/master@{#308566}
[Mojo] Load V8's external snapshot before initializing Blink.
BUG=421063
Review URL: https://codereview.chromium.org/805013002
Cr-Commit-Position: refs/heads/master@{#308565}
Roll src/third_party/WebKit bba3b47:7418dc9 (svn 187228:187232)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/bba3b47..7418dc9
[email protected],[email protected]
Review URL: https://codereview.chromium.org/804333003
Cr-Commit-Position: refs/heads/master@{#308564}
No need to blacklist v8::internal::CompilationInfo for ubsan_vptr anymore.
This has been fixed in https://codereview.chromium.org/796363002/ and
rolled into Chrome.
Review URL: https://codereview.chromium.org/804073003
Cr-Commit-Position: refs/heads/master@{#308563}
Don't enable forced re-enrollment on non-chrome hardware.
Add a firmware type check as a signal to indicate that we're running
on non-chrome hardware. In that environment, it doesn't make sense to
enable forced re-enrollment as state key generation will likely fail
anyways. The --enterprise-enable-forced-re-enrollment=always flag
still allows one to manually switch FRE on in these environments if it
is actually desired.
BUG=chromium:426781
TEST=FRE not triggering in VMs.
Review URL: https://codereview.chromium.org/788943002
Cr-Commit-Position: refs/heads/master@{#308562}
Remove ErrorImportEmptyKeyData.
The error didn't serve a real need.
BUG=441878
Review URL: https://codereview.chromium.org/799403004
Cr-Commit-Position: refs/heads/master@{#308561}
cc: Optimise shared tile handling in eviction tile priority queue.
As tiling set eviction queue twin pairs do not return shared tiles
twice, eviction tile priority queue does not have to keep track of
shared tiles and filter out duplicated tiles, any more.
Review URL: https://codereview.chromium.org/798973002
Cr-Commit-Position: refs/heads/master@{#308560}
Do not display password-field suggestion for forms without username
After https://codereview.chromium.org/773573004/, the password manager can show suggestions for filling on the password fields of forms which have an un-editable username field. However, the code assumes that the username field is still present. There are forms, for which this is not true. Password manager still autofills on these forms, so the suggestions should work as well. However, currently such forms crash the renderer. (Note that fill-on-account-select also currently fails to disable autofill on forms without the username.)
This CL disables showing password-field pop-ups for forms without usernames, to silence the crash. This is just a quick fix. It will be followed by a proper fix, which will enable password-field suggestions on forms without a username.
BUG=442191
[email protected]
Review URL: https://codereview.chromium.org/790363005
Cr-Commit-Position: refs/heads/master@{#308559}
Update V8 to version 3.31.58 (based on 60dafcaab278825cebdfb998370be3cfe10acf8c).
[email protected]
Review URL: https://codereview.chromium.org/808713002
Cr-Commit-Position: refs/heads/master@{#308558}
Cleanup: Remove SupervisedUserService::Delegate::IsChildAccount
Followup to https://codereview.chromium.org/787803002/
BUG=
Review URL: https://codereview.chromium.org/787423004
Cr-Commit-Position: refs/heads/master@{#308557}
cc: Fixing scheduler state machine tests around BeginMainFrameAborted.
This CL does the following;
1) TestGoesInvisibleBeforeFinishCommit -> TestAbortBeginMainFrameBecauseInvisible
2) AbortBeginMainFrameAndCancelCommit -> TestAbortBeginMainFrameBecauseCommitNotNeeded
3) AbortBeginMainFrameAndCancelCommitWhenInvisible -> removed (duplicate of 1.)
4) AbortBeginMainFrameAndRequestCommitWhenInvisible -> removed (duplicate of
TestNoCommitStatesRedrawWhenInvisible and TestRequestCommitInvisible)
When BeginMainFrameAborted is called with **false** it means we **didn't**
attempt a commit. Any pending commits are "not satisfied" and should still be
pending afterwards.
When BeginMainFrameAborted is called with **true** it means we attempted the
commit but there was no work to do. Any pending commits been have been
"satisfied" and should **not** be pending afterwards.
Looking at the code in ThreadProxy::BeginMainFrame method we can confirm this
is the case,
TRACE_EVENT_INSTANT0("cc", "EarlyOut_NotVisible", TRACE_EVENT_SCOPE_THREAD);
Which calls BeginMainFrameAborted(false);
TRACE_EVENT_INSTANT0("cc", "EarlyOut_OutputSurfaceLost", TRACE_EVENT_SCOPE_THREAD);
Which calls BeginMainFrameAborted(false);
TRACE_EVENT_INSTANT0("cc", "EarlyOut_NoUpdates", TRACE_EVENT_SCOPE_THREAD);
Which calls BeginMainFrameAborted(true);
BUG=416749
Review URL: https://codereview.chromium.org/805843002
Cr-Commit-Position: refs/heads/master@{#308556}
Fixed remaining closure compiler errors in gallery/js directory.
BUG=433728
TEST=GYP_GENERATORS=ninja tools/gyp/gyp --depth . ui/file_manager/gallery/js/compiled_resources.gyp && ninja -C out/Default | grep "gallery/js/"
Review URL: https://codereview.chromium.org/806993003
Cr-Commit-Position: refs/heads/master@{#308555}
Use actual content length for tamper detection
This CL modifies tamper detection logic to use actual content length instead of value of ContentLength response header. Actual content length is available at data_reduction_proxy_usage_stats.cc, so we moved the place of calling tamper detection function to data_reduction_proxy_usage_stats.cc.
BUG=381907
Review URL: https://codereview.chromium.org/722083002
Cr-Commit-Position: refs/heads/master@{#308554}
ozone: Plumb ImeKeyboardOzone to InputController
This is straightforward plumbing from the IME keyboard code down into
ozone platform code. Evdev implementation is still a stub.
BUG=441856
TEST=chrome on link_freon & check logs for NOTIMPLEMENTED
Review URL: https://codereview.chromium.org/797403002
Cr-Commit-Position: refs/heads/master@{#308553}
Add ImageLoaderJsTest class.
BUG=442619
TEST=None
Review URL: https://codereview.chromium.org/802253003
Cr-Commit-Position: refs/heads/master@{#308552}
Add ckb, ku and de-LI to the Accept-Language list
To support ckb (Sorani ; Kurdish (Arabic) and ku keyboard layouts, they
have to be added to the A-L list.
ICU is rolled to 51c1a4ce5f362676aa1f1cfdb5b7e52edabfa5aa to show
ckb and ku in the Accept-Language UI (used also for keyboard/input settings).
See https://codereview.chromium.org/805073003/ for the ICU change.
BUG=204049
TEST=Go to Settings - Advanced - language and input settings. CLick on
'Add' button to see the list of languages. Make sure that Kurdish,
Kurdish (Arabic) and German (Liechtenstein) are listed along with their
native names.
[email protected]
Review URL: https://codereview.chromium.org/806023002
Cr-Commit-Position: refs/heads/master@{#308551}
blink_gc_plugin: Accept VisitorHelper::trace calls
This CL updates blink_gc_plugin to allow VisitorHelper::trace calls
to be introduced in Blink change: http://crrev.com/803073005
BUG=420515
Review URL: https://codereview.chromium.org/808703002
Cr-Commit-Position: refs/heads/master@{#308550}
Roll src/third_party/WebKit d869b88:bba3b47 (svn 187218:187228)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/d869b88..bba3b47
[email protected],[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/809673002
Cr-Commit-Position: refs/heads/master@{#308549}
Swap out "child account" overlay icon, now that the correct one is available.
Mock: https://folio.googleplex.com/chrome-ux/mocks/202-playpen/supervision-indication/301014#%2FPlaypen_300914_supervision_indication-22.png
NOTRY=true
BUG=427435
Review URL: https://codereview.chromium.org/798653003
Cr-Commit-Position: refs/heads/master@{#308548}
Automated Commit: Committing new LKGM version 6585.0.0 for chromeos.
Cr-Commit-Position: refs/heads/master@{#308547}
Generalize V4L2 HW video codec device names
Switch to more generalized V4L2 video accelerator device names and update
sandbox rules to reflect that.
After uprev issue is fixed, this cl is submitted again
due to crrev.com/786993002 reverted in crrev.com/792123006.
BUG=405861, 437598, 439175, 442094
TEST=Use 6583-rc4 paladin image and passed video_ChromeHWDecodeUsed with h264
and vp8 on peach_pit. Media.GpuVideoDecoderInitializeStatus value is 0 when
playing a video from youtube. DUT only has /dev/video-enc and /dev/video-dec
device nodes.
[email protected]
Review URL: https://codereview.chromium.org/806773002
Cr-Commit-Position: refs/heads/master@{#308546}
OmniboxResult: Null-check the search_terms_args field.
This probably couldn't have failed before, but it's better to be on the
safe side.
BUG=436665
Review URL: https://codereview.chromium.org/804283002
Cr-Commit-Position: refs/heads/master@{#308545}
Put web app style frame behind a new flag.
The web app style frame is orthogonal to enabling the new bookmark app
creation flow, so it is being put behind a new flag. This will allow it
to be released at a later time and not delay the release of the new
bookmark apps flow.
BUG=442198
Review URL: https://codereview.chromium.org/806693002
Cr-Commit-Position: refs/heads/master@{#308544}
Move chrome/browser/chromeos/timezone to chromeos/timezone
In favor of less things to have in chrome/browser/chromeos.
BUG=437703
TEST=everything builds as before
Review URL: https://codereview.chromium.org/801533005
Cr-Commit-Position: refs/heads/master@{#308543}
Add a test for an IPv6 address with embedded IPv6 literal.
Also fix a poorly worded comment.
BUG=382722
Review URL: https://codereview.chromium.org/812443002
Cr-Commit-Position: refs/heads/master@{#308542}
Roll src/third_party/WebKit 2c178cf:d869b88 (svn 187204:187218)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/2c178cf..d869b88
[email protected],[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/805003003
Cr-Commit-Position: refs/heads/master@{#308541}
Make TileItemViews darken on mouse hover.
This CL adds a dark background on hover for TileItemViews.
BUG=441137
Review URL: https://codereview.chromium.org/793913003
Cr-Commit-Position: refs/heads/master@{#308540}
App list: Voice queries to Google Search now say the answer back to you.
Appends a magic URL parameter (gs_ivs) that makes Google Search use
text-to-speech (TTS) to speak back certain answers to the user. Only
does this for voice searches, and only if it is to the google.com search
keyword.
BUG=435385
[email protected]
Review URL: https://codereview.chromium.org/802613002
Cr-Commit-Position: refs/heads/master@{#308539}
Simplify some NavigateToURLWithDisposition() calls to just NavigateToURL()
Do the same for NavigateToURLBlockUntilNavigationsComplete().
Review URL: https://codereview.chromium.org/802033002
Cr-Commit-Position: refs/heads/master@{#308538}
Introduce MojoRendererFactory::ServiceProvider.
Currently MojoRendererFactory takes a ServiceProviderPtr. This works in
HTMLViewer. However, in RenderFrameImpl, we need to use
GetServiceRegistry()->ConnectToRemoteService() to get the MediaRenderer service.
This CL makes it possible to use MojoRendererFactory in both places.
BUG=431776
Review URL: https://codereview.chromium.org/795193003
Cr-Commit-Position: refs/heads/master@{#308537}
ozone: layout: Add missing dependencies
Fix for component build errors:
/ssd/src/chromium/src/third_party/binutils/Linux_x64/Release/bin/ld.gold: warning: hidden symbol 'ui::KeycodeConverter::InvalidNativeKeycode()' in obj/ui/events/libdom4_keycode_converter.a(obj/ui/events/keycodes/dom4/dom4_keycode_converter.keycode_converter.o) is referenced by DSO lib/libevents_ozone_layout.so
/ssd/src/chromium/src/third_party/binutils/Linux_x64/Release/bin/ld.gold: warning: hidden symbol 'ui::KeycodeConverter::DomCodeToNativeKeycode(ui::DomCode)' in obj/ui/events/libdom4_keycode_converter.a(obj/ui/events/keycodes/dom4/dom4_keycode_converter.keycode_converter.o) is referenced by DSO lib/libevents_ozone_layout.so
/ssd/src/chromium/src/third_party/binutils/Linux_x64/Release/bin/ld.gold: warning: hidden symbol 'ui::KeycodeConverter::DomCodeToCodeString(ui::DomCode)' in obj/ui/events/libdom4_keycode_converter.a(obj/ui/events/keycodes/dom4/dom4_keycode_converter.keycode_converter.o) is referenced by DSO lib/libevents_ozone_layout.so
/ssd/src/chromium/src/third_party/binutils/Linux_x64/Release/bin/ld.gold: error: treating warnings as errors
clang: error: linker command failed with exit code 1 (use -v to see invocation)
TBR=kpschoedel (for build fix)
BUG=none
TEST=ozone chromeos build with component=shared_library
Review URL: https://codereview.chromium.org/806083002
Cr-Commit-Position: refs/heads/master@{#308536}
Revert of NaCl: Update revision in DEPS, r14201 -> r14213 (patchset #1 id:1 of https://codereview.chromium.org/804143002/)
Reason for revert:
this cl is causing a perf regression that causes the sizes step to fail:
https://build.chromium.org/p/chromium/builders/Linux%20x64/builds/75029
PERF_REGRESS: nacl_helper-text/text (0.94%), nacl_helper/nacl_helper (0.41%), nacl_helper-text/text (0.94%), nacl_helper/nacl_helper (0.41%)
Original issue's description:
> NaCl: Update revision in DEPS, r14201 -> r14213
>
> This pulls in the following Native Client changes:
>
> r14202: (mazda) Non-SFI mode: Make nacl_helper_nonsfi build depend on libnacl_sys_private.a
> r14203: (mazda) Fix stack alignment of child threads on ARM.
> r14204: (jvoung) Switch -split-module-sched back to dynamic for the sandboxed case.
> r14205: (jfb) Mark performance tests as broken when running on VMs
> r14206: (shyamsundarr) enable remaining disabled avx1 ops.
> r14208: (dschuff) toolchain_build: Use 'build_noncanonical' target type for target libraries
> r14209: (dschuff) Revert "toolchain_build: Use 'build_noncanonical' target type for target libraries"
> r14210: (jfb) PNaCl: Update LLVM revision in pnacl/COMPONENT_REVISIONS
> r14211: (bradnelson) Turn off graphing for pnacl-buildonly-spec.
> r14212: (teravest) Always emit original sources from scan_sources.
> r14213: (dschuff) toolchain_build: Use 'build_noncanonical' target type for target libraries
>
> BUG=none
> TEST=browser_tests and nacl_integration
> CQ_EXTRA_TRYBOTS=tryserver.chromium.linux:linux_rel_precise32,linux_arm_compile,linux_nacl_sdk
>
> Committed: https://crrev.com/822e1f35f882dc414a984a46b77e92ef4d93f05c
> Cr-Commit-Position: refs/heads/master@{#308485}
[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=none
Review URL: https://codereview.chromium.org/806123002
Cr-Commit-Position: refs/heads/master@{#308535}
Don't link remoting and nacl plugins into chrome.dll
We were shipping them twice because they were a dependency of chrome_common target. This doesn't work well with the split-dll used on Windows, since both of them link that target.
On a release non-component build, chrome.dll goes from 38.07MB to 36.52MB.
BUG=442517
Review URL: https://codereview.chromium.org/806033002
Cr-Commit-Position: refs/heads/master@{#308534}
[Hotword] Implement IsHotwordHardwareAvailable() using device types.
Adds an additional device type to the chromeos::AudioDevice enum.
BUG=403138
Review URL: https://codereview.chromium.org/795393002
Cr-Commit-Position: refs/heads/master@{#308533}
ozone: Fix precise build by disabling xkbcommon by default
This won't affect ChromeOS device builds because they enable xkbcommon
explicitly. It does however mean we are not compiling this code on the
chromium waterfall.
BUG=442563
TEST=build
TBR=kpschoedel, thakis
Review URL: https://codereview.chromium.org/807073002
Cr-Commit-Position: refs/heads/master@{#308532}
Revert of Refactor partial screenshot region selector. (patchset #3 id:40001 of https://codereview.chromium.org/805793004/)
Reason for revert:
valgrind failure: http://build.chromium.org/p/chromium.memory.fyi/builders/Chromium%20OS%20%28valgrind%29%283%29/builds/35270/steps/memory%20test%3A%20ash_unittests/logs/stdio
Original issue's description:
> Refactor partial screenshot region selector.
>
> Previously PartialScreenshotView is a view inside of a frameless
> window, which is actually problematic because it needs to deal
> with several window manager concepts such like mouse captures
> and activations.
>
> This is now built with ui::Layer and EventHandler, therefore
> it makes no effects.
>
> Also this CL moves the file location to a new directory
> ash/utility, because this is nothing related to the window manager.
>
> BUG=330348
> [email protected]
> TEST=the new test covers.
>
> Committed: https://crrev.com/9a0e3f0b67e057451570cfb254cbf76135d59768
> Cr-Commit-Position: refs/heads/master@{#308508}
[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=330348
Review URL: https://codereview.chromium.org/808693003
Cr-Commit-Position: refs/heads/master@{#308531}
[Files.app] metrics.recordEnum should get the one-past-the-end value
To make it match with the argument of the C++ API.
And this patch fixes the bug, which is that the wrong maximum value is passed to the C++ API if the "opt_validValues" is an array.
BUG=440645
TEST=none
Review URL: https://codereview.chromium.org/801323002
Cr-Commit-Position: refs/heads/master@{#308530}
Roll src/third_party/skia a047f12:af7aac8
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/a047f12..af7aac8
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/800453006
Cr-Commit-Position: refs/heads/master@{#308529}
Implement FlushSystemCacheForDirectory for Chrome OS
BUG=429708
TEST=tools/perf/run_benchmark --browser=cros-chrome --remote=${host} startup.cold.blank_page
Review URL: https://codereview.chromium.org/798483004
Cr-Commit-Position: refs/heads/master@{#308528}
Roll src/third_party/WebKit 01ea117:2c178cf (svn 187190:187204)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/01ea117..2c178cf
[email protected],[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/800383003
Cr-Commit-Position: refs/heads/master@{#308527}
Avoid merging non-opaque Surface renderpasses.
If a surface has overlapping quads then its will render incorrectly if its transparency is moved to its quads. Instead force all non-opaque Surfaces to use their own renderpasses.
Review URL: https://codereview.chromium.org/811623003
Cr-Commit-Position: refs/heads/master@{#308526}
Add DBus client binding to Manager interface of peerd.
peerd is a system daemon for Chrome OS that implements a peer discovery
protocol and exposes a simple interface for consuming applications.
peerd can be used to discover services exposed by nearby devices across
one or more technologies.
This CL adds the DBus client binding to the Manager interface of peerd
(org.chromium.peerd.Manager), through which a client can request peerd
to monitor for peers and expose a service through available
technologies.
BUG=441765
TEST=chromeos_unittests
Review URL: https://codereview.chromium.org/799963002
Cr-Commit-Position: refs/heads/master@{#308525}
MacViews: Fix ConstrainedWindowViewsTest for Mac
Two small fixes to get ConstrainedWindowViewsTest passing in a
toolkit-views build on Mac.
1) Close (i.e. reset()) the Widget before calling ViewsTestBase::TearDown();
-> compositors need to be destroyed before the context factory is
destroyed in ~ViewsTestBase(). The Aura compositor is in the
WindowTreeHost owned by AuraTestHelper, but on Mac the widget owns the
compositor, and must be closed first to avoid a ContextFactory UAF.
2) Use DialogDelegate::CreateDialogWidget(..) instead of `new Widget`.
-> DialogDelegate defaults to supports_new_style_, but this wasn't
catered for in the test. Without this, MaximumWebContentsDialogSize
fails because the the dialog includes a native frame that it doesn't
expect. This happens on Mac because all widgets are currently desktop
widgets whereas on Aura they are not toplevel so never get a native
frame.
BUG=412234
TEST=component_unittests ConstrainedWindowViewsTest.*
Review URL: https://codereview.chromium.org/793413004
Cr-Commit-Position: refs/heads/master@{#308524}
Refresh Public Suffix List to the latest version
This updates to the following revision: 97c40a737bda (2014-11-21 04:28 +0100)
It includes changes from revision 0650c4edb139 (2014-11-04 01:51 -0500) to
revision 97c40a737bda (2014-11-21 04:28 +0100), listed at
http://hg.mozilla.org/mozilla-central/log/97c40a737bda/netwerk/dns/effective_tld_names.dat
Additionally, it includes the latest set of ICANN-contracted domains
from https://bugzilla.mozilla.org/show_bug.cgi?id=1110626 .
Specifically,
https://bug1110626.bugzilla.mozilla.org/attachment.cgi?id=8536898
[email protected]
BUG=37436
Review URL: https://codereview.chromium.org/802323003
Cr-Commit-Position: refs/heads/master@{#308523}
Update PermissionContextBaseTests for permission bubble
This makes the PermissionContextBaseTests tests work both with and
without the permission bubble, in preparation for flipping the flag.
Supercedes https://codereview.chromium.org/411503005/
BUG=438758
Review URL: https://codereview.chromium.org/800853004
Cr-Commit-Position: refs/heads/master@{#308522}
Enable VP9 tuning for screen content.
This allows VP9 to apply e.g. motion-vector heuristics tailored to common desktop UX updates such as scroll and window-dragging.
BUG=260879
Review URL: https://codereview.chromium.org/799223002
Cr-Commit-Position: refs/heads/master@{#308521}
Immediately trigger swap ack if received surface is not desired size.
Ideally the next surface is the correct size, and we want to avoid waiting for it.
Review URL: https://codereview.chromium.org/810653002
Cr-Commit-Position: refs/heads/master@{#308520}
Suppress leak
BUG=442600
[email protected]
NOTRY=true
Review URL: https://codereview.chromium.org/810663002
Cr-Commit-Position: refs/heads/master@{#308519}
App list voice searches now prioritize exact-match web results.
This means that if you do a voice search, the first result will always
be a web search for exactly what you said (not some other result like an
app, or a search from your history). So you can now use the voice search
interface as a direct way to send queries to the web search.
BUG=436665
[email protected]
Review URL: https://codereview.chromium.org/796293002
Cr-Commit-Position: refs/heads/master@{#308518}
Roll src/third_party/skia bc3d0de:a047f12
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/bc3d0de..a047f12
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/810443006
Cr-Commit-Position: refs/heads/master@{#308517}
Cleanup base::File on FILE thread even when FileSystemOperationRunner is shut down
BUG=415401
TEST=MultiThreadFileSystemOperationRunnerTest.OpenAndShutdown
Review URL: https://codereview.chromium.org/798333002
Cr-Commit-Position: refs/heads/master@{#308516}
Autofill - change presentation of credit card suggestions.
Instead of *********1234, Visa - 1234.
This also affects chrome://settings/autofill
BUG=none
Review URL: https://codereview.chromium.org/770333006
Cr-Commit-Position: refs/heads/master@{#308515}
Revert "Fix crash after Launcher drag/drop"
Reason for revert: Unaddressable memory access on valgrind bot
build:
http://build.chromium.org/p/chromium.memory.fyi/builders/Chromium%20OS%20%28valgrind%29%282%29/builds/43982
log:
http://build.chromium.org/p/chromium.memory.fyi/builders/Chromium%20OS%20%28valgrind%29%282%29/builds/43982/steps/memory%20test%3A%20app_list_unittests/logs/stdio
BUG=439055
[email protected],[email protected]
Review URL: https://codereview.chromium.org/806883004
Cr-Commit-Position: refs/heads/master@{#308514}
Add support for deferring app initialization when testing.
This will allow certain app features such as authentication and loading of the
host list to be replaced with mocks before they are used; in normal operation,
these features are run automatically when the app is loaded, giving browser
tests no opportunity to intervene.
This is achieved by using the "source" URL parameter. Production code is
unaffected by virtue of the fact that "source" is not passed by default, and
even if a user is running with a command-line override, it will never be set
to "test". As protection against the possibility that the previous sentence
is false, when started in this test mode, initialization proceeds via a
button click, making it user-accessible; this CL also adds a test that this
button works.
Review URL: https://codereview.chromium.org/771003002
Cr-Commit-Position: refs/heads/master@{#308513}
Add checks to ShowPageActionPopup
Add checks of all intermediate results for a canary cycle to assist in
tracking down the crash in the associated bug.
BUG=442521
Review URL: https://codereview.chromium.org/805713006
Cr-Commit-Position: refs/heads/master@{#308512}
Selecting 'alt+left arrow' key in PDF does not move to previous url page. similarly 'alt+right arrow' key in PDF does not move to next url page.
Currently alt+arrow, ctrl+arrow,shift+arrow work like when
user select just arrow key, so with in the pdf file movement happen.
That is wrong.
It should be like:
1.Page should move up with in PDF when
-Selecting Shift+Spacebar.
-Selecting Pageup key.
-Selecting only Left Arrow Key.
2.Page should move down with in PDF when
-Selecting Spacebar.
-Selecting Pagedown key.
-Selecting only Right Arrow Key.
Changes added so that alt+ arrow key should have default behavior
that is moving to previous or next url.
BUG=75089
Review URL: https://codereview.chromium.org/802083002
Cr-Commit-Position: refs/heads/master@{#308511}
Use the libc clone wrapper in sys_clone.
Previously, we directly invoked the syscall, which would not update
libc's PID cache in the child. Although the libc wrapper function
updates the PID cache, it unfortunately requires that the child run on a
different stack, even if CLONE_VM is not specified. We work around this
by briefly switching stacks in the child, then using longjmp to switch
back. This gives us a version of clone with fork-like behavior, which is
what we need for starting processes in new namespaces.
BUG=312380
Review URL: https://codereview.chromium.org/801033002
Cr-Commit-Position: refs/heads/master@{#308510}
Use bucket parameter in GetIfChanged for page credentials file.
BUG=419551
Review URL: https://codereview.chromium.org/797483005
Cr-Commit-Position: refs/heads/master@{#308509}
Refactor partial screenshot region selector.
Previously PartialScreenshotView is a view inside of a frameless
window, which is actually problematic because it needs to deal
with several window manager concepts such like mouse captures
and activations.
This is now built with ui::Layer and EventHandler, therefore
it makes no effects.
Also this CL moves the file location to a new directory
ash/utility, because this is nothing related to the window manager.
BUG=330348
[email protected]
TEST=the new test covers.
Review URL: https://codereview.chromium.org/805793004
Cr-Commit-Position: refs/heads/master@{#308508}
Move all pipeline integration tests to media/test.
Prework required (and desired) for creating a mojo version of the
pipeline integration tests.
BUG=440850
TEST=builds and runs in gn and gyp.
Review URL: https://codereview.chromium.org/791983003
Cr-Commit-Position: refs/heads/master@{#308507}
Revert of Update extensions::MessagingBindings to use WebScopedWindowFocusAllowedIndicator with WebDocument. (patchset #1 id:1 of https://codereview.chromium.org/786403003/)
Reason for revert:
This CL or its dependency in blink (https://codereview.chromium.org/803253003/) is the suspected source of issue 441968 (very prominent renderer crash), among other crashes.
Original issue's description:
> Update extensions::MessagingBindings to use WebScopedWindowFocusAllowedIndicator with WebDocument.
>
> This will allow Blink to delete some deprecated code.
>
> This is part of a three-sided CL:
> Part 1: https://codereview.chromium.org/777483004/
> Part 2: <this>
> Part 3: https://codereview.chromium.org/722423004
>
> BUG=440740
>
> Committed: https://crrev.com/ebb4bf8090b06979fd44411af69304b505681f4d
> Cr-Commit-Position: refs/heads/master@{#307914}
[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=440740
Review URL: https://codereview.chromium.org/807593003
Cr-Commit-Position: refs/heads/master@{#308506}
chromeos: Get FocusManager in session_login browsertest by other means.
It seems better to retrieve it from the browser window widget, rather than going the route this browsertest was using.
BUG=None
TEST=browser_tests --gtest_filter=BrowserLoginTest.BrowserActive
[email protected]
Review URL: https://codereview.chromium.org/805723002
Cr-Commit-Position: refs/heads/master@{#308505}
Roll src/third_party/WebKit 5450ee0:01ea117 (svn 187183:187190)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/5450ee0..01ea117
[email protected],[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/811433003
Cr-Commit-Position: refs/heads/master@{#308504}
Further instrumentations of app list text painting.
Latest data:
RenderTextHarfBuzz::ShapeRunWithFont1 = 40
RenderTextHarfBuzz::EnsureLayout1 = 18.5
AppListView::InitAsBubbleInternal2_1 = 9.3
RenderTextHarfBuzz::ShapeRunWithFont = 9.2
AppListViewDelegate::AppListViewDelegate3 = 5.8
Instrumenting further.
BUG=431326
Review URL: https://codereview.chromium.org/806883003
Cr-Commit-Position: refs/heads/master@{#308503}
Change <!DOCTYPE> to <!doctype>.
Frankly I'm tired of all the inconsistencies and <!DOCTYPE> looks odd being the
only tag-like thing on the page that's UPPERCASE.
It Officially Doesn't Matter according to the HTML5 spec:
http://www.w3.org/TR/html5/syntax.html#the-doctype
[email protected]
[email protected]
BUG=none
TEST=less annoyance
Review URL: https://codereview.chromium.org/802723003
Cr-Commit-Position: refs/heads/master@{#308502}
Implement support for uploading preamble audio in the voice recognition
service.
The preamble is the few seconds of audio before starting voice recognition. In
particular, it contains the 'Ok Google' hotword used to start a voice query.
The 'Ok Google' hotword is the only scenario where this is recorded, and only
if the user has audio history enabled.
To support this, a new framed data format has been introduced for the /up POST
request. This change switches to that new format only if the recognition
request contains a preamble. The preamble is only uploaded when authentication
parameters are available.
BUG=397019
Review URL: https://codereview.chromium.org/797913002
Cr-Commit-Position: refs/heads/master@{#308501}
views: Rename BookmarkExtensionBackground to something that does not have 'extension' on it.
Does not have much sense to have something that is not related to the
extensions system, have 'Extension' on its name.
Bookmarks system, and at least 'Bookmarks Bar' is a native concept and
native implementation.
Since this class is inheriting from views::Background and it is used to
paint the background of BookmarkBarView, we renamed it to
BookmarkBarViewBackground, so it is clear to what object it refers to.
BUG=None
TEST=There should be no regressions observed, no functionality changed.
[email protected]
Review URL: https://codereview.chromium.org/804183002
Cr-Commit-Position: refs/heads/master@{#308500}
Only run PDFBrowserTests for the in-process viewer for now
Due to the changed architecture of the OOP PDF plugin, these tests don't
pass and need to be reworked.
BUG=436444
Review URL: https://codereview.chromium.org/756043002
Cr-Commit-Position: refs/heads/master@{#308499}
Expose data reduction proxy prefs through preferences API.
BUG=441018
Review URL: https://codereview.chromium.org/791183004
Cr-Commit-Position: refs/heads/master@{#308498}
Clean up some hang monitor timeout cruft in render_widget_host_impl.h
[ This won't fix anything or affect behavior in any way. ]
BUG=439844
Review URL: https://codereview.chromium.org/808653002
Cr-Commit-Position: refs/heads/master@{#308497}
Remove assert for MediaScanner timing. Assert proved flaky.
BUG=420680
TEST=browser_test: FileManagerJsTest.*
Review URL: https://codereview.chromium.org/811483005
Cr-Commit-Position: refs/heads/master@{#308496}
Roll forward https://codereview.chromium.org/807583003/.
Include MTP devices when determining Cloud Import eligibility.
Nuke "VolumeManager.isType".
Add test coverage of importer_common methods.
Make all "DCIM" dir-name matching case-insensitive.
BUG=420680
TEST=browser_test: FileManagerJsTest.*
Review URL: https://codereview.chromium.org/806733005
Cr-Commit-Position: refs/heads/master@{#308495}
Focus following for the non-editable controls on web page in magnifier mode.
BUG=426233
Review URL: https://codereview.chromium.org/790413002
Cr-Commit-Position: refs/heads/master@{#308494}
IndexedDB: Reusing leveldb logs when opening database
This change activates a new open mode in leveldb which reuses logs & manifest
to reduce time to open database.
This affects only Indexed DB databases, not other leveldb's opened elsewhere.
BUG=402980,395799
Review URL: https://codereview.chromium.org/803603004
Cr-Commit-Position: refs/heads/master@{#308493}
Remove a valgrind suppression for Brotli decoder
This was fixed in https://codereview.chromium.org/766523003
BUG=411235
Review URL: https://codereview.chromium.org/804903003
Cr-Commit-Position: refs/heads/master@{#308492}
Add two bug numbers in comments to disabled tests.
BUG=442532, 433012
[email protected]
Review URL: https://codereview.chromium.org/809553002
Cr-Commit-Position: refs/heads/master@{#308491}
Add a per-host desktopScale option, available via the JS console.
This CL adds a setDesktopScale() method to ClientSession, allowing the JS console to be used to easily apply a new desktop scale factor, to be applied to the current session and all subsequent sessions to the current host from this client. If the connected host supports dynamic resize then desktopZoom changes will take effect immediately.
For example, a user with a Chromebook Pixel can set desktopScale to 2.0 to have a low-DPI host set to match the Pixel's physical resolution 1:1, rather than being set to match the logical resolution and up-scaled.
BUG=135089, 406100
TEST=Connect to Linux host w/ resize-to-client on & scale-to-fit *off*. Open Dev Console for app's main.html and run e.g. remoting.clientSession.setDesktopScale(scale) for different values of |scale|, and verify that: (1) |scale==0.5| gives a low-res desktop that is up-scaled to fill the client area. (2) on low-DPI devices, |scale==2.0| gives a normal-res desktop that is bigger than the client area. (3) on Pixel |scale==2.0| gives a desktop sized 1:1 to the device's native display resolution. (4) on Pixel |scale==3.0| gives a desktop scaled 1:1 to the device's native display resolution, and sized to be larger than the client area.
Review URL: https://codereview.chromium.org/761673008
Cr-Commit-Position: refs/heads/master@{#308490}
Roll src/third_party/skia 41c9cbe:bc3d0de
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/41c9cbe..bc3d0de
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/795923004
Cr-Commit-Position: refs/heads/master@{#308489}
PERF-SHERIFFS: This patch will change all smoothness and SurfaceFlinger metrics on Android. Some metrics may go up or down significantly, with the new values being more accurate.
This patch cleans up the integration of SurfaceFlinger statistics by pulling the
raw timestamps into the timeline and calculating all metrics in
SmoothnessMetric. This approach also improves the metrics, because the
timeline ranges can now be properly bounded (no more percentiles!) and the
existing smoothness metrics can also use the more accurate SurfaceFlinger
timestamps.
BUG=351916
Review URL: https://codereview.chromium.org/765773004
Cr-Commit-Position: refs/heads/master@{#308488}
[Hotword] Adding audio parameters to handle audio coming from the DSP.
BUG=403138
Review URL: https://codereview.chromium.org/551823005
Cr-Commit-Position: refs/heads/master@{#308487}
Make RenderMessageCompletionCallback delete unsent Message
Prior to this CL, if SendReplyAndDeleteThis is never called, the IPC::Message
gets leaked.
BUG=370588
[email protected]
Review URL: https://codereview.chromium.org/766173003
Cr-Commit-Position: refs/heads/master@{#308486}
NaCl: Update revision in DEPS, r14201 -> r14213
This pulls in the following Native Client changes:
r14202: (mazda) Non-SFI mode: Make nacl_helper_nonsfi build depend on libnacl_sys_private.a
r14203: (mazda) Fix stack alignment of child threads on ARM.
r14204: (jvoung) Switch -split-module-sched back to dynamic for the sandboxed case.
r14205: (jfb) Mark performance tests as broken when running on VMs
r14206: (shyamsundarr) enable remaining disabled avx1 ops.
r14208: (dschuff) toolchain_build: Use 'build_noncanonical' target type for target libraries
r14209: (dschuff) Revert "toolchain_build: Use 'build_noncanonical' target type for target libraries"
r14210: (jfb) PNaCl: Update LLVM revision in pnacl/COMPONENT_REVISIONS
r14211: (bradnelson) Turn off graphing for pnacl-buildonly-spec.
r14212: (teravest) Always emit original sources from scan_sources.
r14213: (dschuff) toolchain_build: Use 'build_noncanonical' target type for target libraries
BUG=none
TEST=browser_tests and nacl_integration
CQ_EXTRA_TRYBOTS=tryserver.chromium.linux:linux_rel_precise32,linux_arm_compile,linux_nacl_sdk
Review URL: https://codereview.chromium.org/804143002
Cr-Commit-Position: refs/heads/master@{#308485}
Use nine image painter to draw tray background
BUG=432500
Review URL: https://codereview.chromium.org/798163003
Cr-Commit-Position: refs/heads/master@{#308484}
Fix to a comment in the password manager fill on account select code.
[email protected],[email protected]
Review URL: https://codereview.chromium.org/803353002
Cr-Commit-Position: refs/heads/master@{#308483}
Fix MediaTypeConvertersTest.
Currently we are not serializing the data of a DecoderBuffer. The data will be
serialized into a separate DataPipe. Therefore, drop the data check in
MediaTypeConvertersTest.
See r307328 for details.
BUG=392236
TEST=This CL fixing failing tests.
Review URL: https://codereview.chromium.org/808633002
Cr-Commit-Position: refs/heads/master@{#308482}
ui/app_list: Enable a set of cpplint checks.
That were otherwise filtered out (disabled) by the way depot_tools'
presubmit_canned_checks.py::CheckChangeLintsClean() worked.
As of
https://src.chromium.org/viewvc/chrome?revision=293357&view=revision, it
was changed, so clients can pass their own files and enable those that
were disabled.
BUG=None
TEST=None
[email protected]
Review URL: https://codereview.chromium.org/804763002
Cr-Commit-Position: refs/heads/master@{#308481}
[Android] Add a check function for intent fallback navigation
BUG=440178
Review URL: https://codereview.chromium.org/785163002
Cr-Commit-Position: refs/heads/master@{#308480}
Update mojo sdk to rev 59145288bae55b0fce4276b017df6a1117bcf00f
BUG=None
[email protected] for mojo
Review URL: https://codereview.chromium.org/799113004
Cr-Commit-Position: refs/heads/master@{#308479}
Revert of Fix sandbox target in Windows GN build and enable it. (patchset #1 id:1 of https://codereview.chromium.org/804993003/)
Reason for revert:
breaks compile step on the win8 gn bot: http://build.chromium.org/p/chromium.win/builders/Win8%20GN/builds/2037
Original issue's description:
> Fix sandbox target in Windows GN build and enable it.
>
> Committed: https://crrev.com/fdb4e8d624f1bfe1af5ccfebfa3faa0072caa71d
> Cr-Commit-Position: refs/heads/master@{#308471}
[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
Review URL: https://codereview.chromium.org/810623002
Cr-Commit-Position: refs/heads/master@{#308478}
[Android] Add UMA for pull-to-refresh activation
Add a baseline metric for the number of page reloads triggered by the
new pull-to-refresh gesture, allowing comparison with other avenues
for page reload (e.g., from toolbar reload icon).
BUG=442505
Review URL: https://codereview.chromium.org/803343002
Cr-Commit-Position: refs/heads/master@{#308477}
leveldb: Added dumpfile to *.gyp
Needed for leveldb_main utility program to link.
Review URL: https://codereview.chromium.org/802633003
Cr-Commit-Position: refs/heads/master@{#308476}
Fix media::MojoRendererTest.
Now we have real decoders abailable so MojoRendererImpl::Initialize() should
succeed.
Review URL: https://codereview.chromium.org/793973004
Cr-Commit-Position: refs/heads/master@{#308475}
Fix errors causing GN fail during processing remoting .gni file.
Review URL: https://codereview.chromium.org/797813003
Cr-Commit-Position: refs/heads/master@{#308474}
Hosted apps on OS X now act more like a native app.
- Quitting an app shim will close all associated windows.
- Closing all windows will quit the app shim.
- Can focus between Chrome and app shim windows.
- Can hide/show all windows associated with an app shim.
BUG=440651
Review URL: https://codereview.chromium.org/790043002
Cr-Commit-Position: refs/heads/master@{#308473}
Add TODO in InputInjector to separate clipboard handling
BUG=438096
Review URL: https://codereview.chromium.org/804173002
Cr-Commit-Position: refs/heads/master@{#308472}
Fix sandbox target in Windows GN build and enable it.
Review URL: https://codereview.chromium.org/804993003
Cr-Commit-Position: refs/heads/master@{#308471}
Highlight newly installed bookmark apps on non-ash desktops.
Otherwise it appears like nothing happened when a bookmark app is
created. This change does not affect bookmark apps created via sync.
BUG=441617
Review URL: https://codereview.chromium.org/804883002
Cr-Commit-Position: refs/heads/master@{#308470}
Generate correct KeyboardCode (VKEY).
BUG=430194
Review URL: https://codereview.chromium.org/786813004
Cr-Commit-Position: refs/heads/master@{#308469}
Release GPU resources only after renderer GPU channels are closed.
The RelinquishGpuResource message from the browser process may
come before or after the rederer process closes it GPU channel.
As such, we need to wait until only the Browser GPU channel is
open until we can actually release the default off-screen
PBuffer surface and the EGL display.
This is a follow-up to https://codereview.chromium.org/712343003
Bug: 18724066
BUG=432268
Review URL: https://codereview.chromium.org/800103005
Cr-Commit-Position: refs/heads/master@{#308468}
cc: Trigger BeginFrame when children needs it without SetNeedsCommit
Browser scheduler should trigger BeginFrame when children needs even if
it doesn't have a pending commit.
[email protected]
BUG=372086
TEST=cc_unittests
Review URL: https://codereview.chromium.org/802353002
Cr-Commit-Position: refs/heads/master@{#308467}
cc: Make the PictureLayerImpl raster source null until commit.
No need to make a raster source that is never used.
R=enne, vmpstr
BUG=387116
Review URL: https://codereview.chromium.org/809433003
Cr-Commit-Position: refs/heads/master@{#308466}
IndexedDB: ParseMethodAndError takes a leveldb::Status instance.
ParseMethodAndError took a string as first param, but all callers started with a
Status object from which they derived the string. Simplified impl by just
passing in the Status object.
Review URL: https://codereview.chromium.org/805043006
Cr-Commit-Position: refs/heads/master@{#308465}
Telemetry: Re-enable slide_drawer in key_silk_cases
This test had been disabled because of failures in
smoothness.key_silk_cases, but these failures are no
longer reproducible locally or on the perf trybots.
BUG=404317
Review URL: https://codereview.chromium.org/791183002
Cr-Commit-Position: refs/heads/master@{#308464}
Revert suppression for an uninitialized read in ANGLE, which was rolled in r307087.
This reverts r304504.
[email protected]
NOTRY=true
BUG=434033
Review URL: https://codereview.chromium.org/806773007
Cr-Commit-Position: refs/heads/master@{#308463}
Updates subpixel positioning and hinting when DSF is changed
See the bug to see the screenshot of problematic rendering
and the result of this fix.
There are several TODOs though:
- Renderers still remember the old font params.
- Changing hinting params will change the bounding box of the
text, which means we should re-layout several views. This will
be addressed by other CLs.
- Ideally, the font render params should change based on the display
where the text is rendered.
BUG=441439
[email protected], [email protected], [email protected]
TEST=the new test case covers
Review URL: https://codereview.chromium.org/789583002
Cr-Commit-Position: refs/heads/master@{#308462}
Roll WebRTC 7902:7905, Libjingle 7898:7905
WebRTC 7902:7905
Changes: https://chromium.googlesource.com/external/webrtc/trunk/webrtc.git/+log/e8dbbf4..25834b8
Libjingle 7898:7905
Changes: https://chromium.googlesource.com/external/webrtc/trunk/talk.git/+log/35f09c3..f99af5c
[email protected]
Review URL: https://codereview.chromium.org/811553002
Cr-Commit-Position: refs/heads/master@{#308461}
Fix special character handling in audio preferences.
This CL fixes the handling of the "." character in device names for audio
preferences. It also adds unit tests for the preference handler.
[email protected]
BUG=294488,431133
Review URL: https://codereview.chromium.org/803303002
Cr-Commit-Position: refs/heads/master@{#308460}
Move MemoryPressureObserverChromeOS instantiation from Chrome to Content
There are several proposed content CLs which are making use of the MemoryPressureObserverChromeOS::GetCurrentPressureLevel() call to adapt dynamically to the current memory pressure. Examples: The |OomPriorityManager|, the |RendererFrameManager|, ...
BUG=440556
TEST=-
Review URL: https://codereview.chromium.org/800603002
Cr-Commit-Position: refs/heads/master@{#308459}
Use FrameMatchingPredicate() to find RenderFrameHosts in ExtensionWebUITest.
When looking for a RFH by last committed URL, there is no need to do a ForEach with a private FindFrame() predicate, since that logic is already available from a public FrameMatchingPredicate method in browser_test_utils.
BUG=
Review URL: https://codereview.chromium.org/807463003
Cr-Commit-Position: refs/heads/master@{#308458}
Create an autofill Suggestion class.
There should be no functionality change.
Previously autofill results were passed through as a set of three or four vectors:
std::vector<base::string16>* popup_values,
std::vector<base::string16>* popup_labels,
std::vector<base::string16>* popup_icons
std::vector<int>* identifiers
all of which have to stay in sync. This makes it impossible to add metadata, function calls are ugly, and the code is error prone. As part of wallet credit card autofill, we'll need to add more metadata here.
This patch replaces this with a new autofill::Suggestion struct containing all of the information, and pipes this around to all the affected places. It also adds a new SuggestionBackendID struct to replace the old GUIDPair typedef which makes the code clearer.
There are three types of IDs for autofill suggestions which is kind of confusing: a GUID created by the database which is actually a GUID + an integer (GUIDPair typedef in the old code), an integer ID used by the frontend and IPC, and an intermediate integer used by the autofill manager to create the frontend int ID.
This patch adds the GUID and frontend integer ID to the new Suggestion class as the backend_id and frontend_id. It is kind of confusing to have two different types of IDs in the same class, and previously most code dealt with only one or the other. But I think the code is much cleaner not having to keep separate parallel lists of IDs all over the place.
Unified the naming in the autofill popup controller. It previously used name/subtext and now that it uses the standard Suggestion struct, I changed them to value/label to match everything else.
Added constants for the card types used by RequestAutocomplete
Added some additional stuff to the CreditCard class for wallet sync. Add additional members to the autofill table for wallet card manipulation. These are currently unused.
Review URL: https://codereview.chromium.org/772253003
Cr-Commit-Position: refs/heads/master@{#308457}
Chromecast: media interfaces for hardware-backed video plane.
[email protected],[email protected]
BUG=408189
Review URL: https://codereview.chromium.org/802833002
Cr-Commit-Position: refs/heads/master@{#308456}
tuple: leave fields uninitialized in default constructors
Using "x()" in TupleLeaf's default constructor causes primitive types
(e.g., integers and pointers) to be zero initialized, whereas
previously Tuple left them indeterminate. Arguably zero-initializing
is better, but the change was inadvertant and results in a measurable
code size increase, so this CL reverts it (at least for now).
BUG=440806
Review URL: https://codereview.chromium.org/791883003
Cr-Commit-Position: refs/heads/master@{#308455}
Roll src/third_party/WebKit 70c04a5:5450ee0 (svn 187177:187183)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/70c04a5..5450ee0
[email protected],[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/809483004
Cr-Commit-Position: refs/heads/master@{#308454}
Toggling 'Open in a tab' now works for hosted apps on chrome://apps page.
BUG=441561
Review URL: https://codereview.chromium.org/797113002
Cr-Commit-Position: refs/heads/master@{#308453}
MacViews: Change TOOLKIT_VIEWS to !OS_MACOSX in extensions::WindowsEventRouter
WindowsEventRouter needs to broadcast when no Chrome window has focus.
When toolkit_views first flips on Mac, nothing should actually change in
the release.
Until Chrome on Mac *only* makes Windows with toolkit-views,
WindowsEventRouter on Mac should still use
NSWindowDidBecomeKeyNotification + NOTIFICATION_NO_KEY_WINDOW.
This works both for windows created with toolkit-views and those created
natively.
BUG=439882
Review URL: https://codereview.chromium.org/773303005
Cr-Commit-Position: refs/heads/master@{#308452}
Introduce new component webdata_services
Move WebDataServiceWrapper into its own component webdata_services so
that the code can be shared with iOS.
The code cannot go into webdata component since it depends on other
components (autofill, password_manager, search_engine, signin) that
depends on webdata (as they implements the WebDataService interface).
BUG=437508
Review URL: https://codereview.chromium.org/777863002
Cr-Commit-Position: refs/heads/master@{#308451}
OOP PDF: Fix PrintWebViewHelper test issues with OOP PDF enabled.
OOP PDF causes that the print-preview page to contain an iframe of the
PDF extension instead of directly including a plugin element. However,
the tests for PrintWebViewHelper use a fake print-preview page that
cannot contain an iframe of the extension because the necessary
infrastructure is not available in the test. This relaxes the
expectations so that in tests where the pdf element isn't an iframe,
that element is used instead.
BUG=303491
Review URL: https://codereview.chromium.org/800343004
Cr-Commit-Position: refs/heads/master@{#308450}
Add native_test_native_code dependency for ui_touch_selection_unittests
This is required for running the tests as a standalone APK.
BUG=441187
Review URL: https://codereview.chromium.org/803293002
Cr-Commit-Position: refs/heads/master@{#308449}
Enable chrome.gyp:browser_ui on iOS
Re-enabled building of the browser_ui target on iOS (lost when
unit_tests was turned down). As with browser, removes non_android
sources and puts everything in non_mobile_sources.
See also https://codereview.chromium.org/785233002
BUG=432994
Review URL: https://codereview.chromium.org/801643006
Cr-Commit-Position: refs/heads/master@{#308448}
Partial XKB implementation of Ozone key layout.
No layout switching; uses a hard-coded US layout.
BUG=430194
Review URL: https://codereview.chromium.org/778503002
Cr-Commit-Position: refs/heads/master@{#308447}
Temporarily suppress bad-arguments-test failure while test is being updated.
BUG=441997
[email protected],[email protected]
Review URL: https://codereview.chromium.org/791083004
Cr-Commit-Position: refs/heads/master@{#308446}
OOPIF: Data URLs are now rendered in the renderer that initiated the navigation.
BUG=433014
Review URL: https://codereview.chromium.org/743773003
Cr-Commit-Position: refs/heads/master@{#308445}
Add a TaskQueue.
The TaskQueue handles the basics of running a set of queued up tasks, and providing updates and various other callbacks for clients to be notified about queue and task state.
BUG=
Review URL: https://codereview.chromium.org/789603004
Cr-Commit-Position: refs/heads/master@{#308444}
Add sullivan to owners
BUG=
Review URL: https://codereview.chromium.org/807463002
Cr-Commit-Position: refs/heads/master@{#308443}
Revert of Include MTP devices in Cloud Import happiness. (patchset #9 id:160001 of https://codereview.chromium.org/778123006/)
Reason for revert:
seems to be causing crashes on chrome os:
https://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%281%29/builds/53530
https://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%28dbg%29%281%29/builds/35254
Original issue's description:
> Include MTP devices in Cloud Import happiness.
> Nuke "VolumeManager.isType".
> Add test coverage of importer_common methods.
> Make all "DCIM" dir-name matching case-insensitive.
>
> BUG=420680
> TEST=browser_test: FileManagerJsTest.*
>
> Committed: https://crrev.com/15d1aae4da7783607df3fac2d38198e817cf6fa0
> Cr-Commit-Position: refs/heads/master@{#308414}
[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=420680
Review URL: https://codereview.chromium.org/807583003
Cr-Commit-Position: refs/heads/master@{#308442}
[Android] Implement gtest and local in platform mode.
BUG=428729
Review URL: https://codereview.chromium.org/788753002
Cr-Commit-Position: refs/heads/master@{#308441}
Support horizontal/vertical only images in NineImagePainter.
This will be used in https://codereview.chromium.org/798163003/
BUG=432500
Review URL: https://codereview.chromium.org/806433002
Cr-Commit-Position: refs/heads/master@{#308440}
MacViews: Rename Cocoa files to avoid conflict with Views.
cocoa/media_indicator_button.* is renamed to media_indicator_button_cocoa.* to
avoid conflict with views/media_indicator_button.*
BUG=425229
Review URL: https://codereview.chromium.org/797393003
Cr-Commit-Position: refs/heads/master@{#308439}
Fix compile on memory bots (that use enable_ipc_fuzzer=1 gyp).
[email protected]
BUG=
Review URL: https://codereview.chromium.org/810503002
Cr-Commit-Position: refs/heads/master@{#308438}
Certificate Transparency: Remove SSLWatcher's Alpha log.
Per Ryan's recent announcement, SSLWatcher's Alpha log is no longer
recognized by Chrome, so remove it.
This change also removes the assumption (made in the CertPolicyEnforcer)
that in case of having only 2 logs recognized by Chrome, only 2 will
be required where the policy currently says 3 would be necessary.
BUG=441337
Review URL: https://codereview.chromium.org/795013003
Cr-Commit-Position: refs/heads/master@{#308437}
Implement SingleThreadProxy CommitVSyncParameters
Implement CommitVSyncParameter in SingleThreadProxy like ThreadProxy.
BUG=372086
Review URL: https://codereview.chromium.org/797693004
Cr-Commit-Position: refs/heads/master@{#308436}
Add more data to conversion failure messages in gin
This CL also makes it more clear in gin when type
coercion fails what argument (0-indexed) failed
to convert and what js type was seen in the process.
I started down the path of logging the c++ destination
type as well, but found I couldn't with our current
RTTI-less build.
This was already reviewed in:
https://codereview.chromium.org/798163002/
before I realized that gin was maintained in chromium.
[email protected]
BUG=
Review URL: https://codereview.chromium.org/805993002
Cr-Commit-Position: refs/heads/master@{#308435}
Increase HeartbeatManagerTest.UpdateTimerAfterStart test max time check to
make it less flaky on memory.fyi bots.
BUG=441291
[email protected]
Review URL: https://codereview.chromium.org/794303002
Cr-Commit-Position: refs/heads/master@{#308434}
Never display unauthorized plugin info bar.
The IPC still needs to be sent because it's used by the webview permission helper to permit PPAPI plugins to run inside a webview.
Remove all the code that backed this, including UMA actions, and a test. The NPAPI purge, begun, it has.
BUG=439972
Review URL: https://codereview.chromium.org/801053003
Cr-Commit-Position: refs/heads/master@{#308433}
Roll src/third_party/WebKit ffba57d:70c04a5 (svn 187165:187177)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/ffba57d..70c04a5
[email protected],[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/805043004
Cr-Commit-Position: refs/heads/master@{#308432}
This adds utility for creating user-specific RSA key pair in system TPM slot
that is used for easy sign-in protocol, and for signing data provided by
Easy Unlock app using the created private key.
Per user public keys are kept in the local state and added to challenge data when challenges
are created (while resetting cryptohome sign-in secrets).
During challenge creation, existence of the Easy Sign-in TPM key is
checked for user, and the key pair is created if necessary.
Additionally, key pair presence is ensured when EasyUnlockService is
started after user log in. This is done to handle the case where Easy Unlock
has previously been set up. At this time, it is verified that
the private key actually
exists in the TPM slot.
Mapping from user id to public TPM key is kept in local state
so it can be accessed on sign in screen (as it will be needed before a user logs in;
the public key is used to identify the private key in the system slot)
BUG=409027
TEST=Confirmed easy sign-in works
Review URL: https://codereview.chromium.org/729803002
Cr-Commit-Position: refs/heads/master@{#308431}
telemetry: Fix thread name CompositorRasterWorker -> CompositorTileWorker.
Renaming this thread broke some of the thread_times metrics.
[email protected]
BUG=440188
Review URL: https://codereview.chromium.org/806923002
Cr-Commit-Position: refs/heads/master@{#308430}
Expose native, desktop and mobile gesture detection defaults
Provide generic desktop and mobile gesture configurations, in addition
to the native platform configuration. This will allow devtools touch
emulation to more faithfully emulate a particular device.
Note that this change involved decoupling the TouchEventQueue from
platform-specific slop region constants, afforded by a WebTouchEvent
flag indicating whether the event may cause scrolling as a default
action.
BUG=425586
Review URL: https://codereview.chromium.org/679633005
Cr-Commit-Position: refs/heads/master@{#308429}
[DevTools] Support permessage-deflate in AndroidWebSocket.
BUG=438230
Review URL: https://codereview.chromium.org/747903006
Cr-Commit-Position: refs/heads/master@{#308428}
Add UMA Histogram Manager to Cronet.
Part of change to collect, upload and expose histogram data
for Cronet.
BUG=441466
Committed: https://crrev.com/4eb0fd47de0736f3f4c970e8d7f8813ef2177886
Cr-Commit-Position: refs/heads/master@{#308239}
Review URL: https://codereview.chromium.org/794493002
Cr-Commit-Position: refs/heads/master@{#308427}
Add missing density versions of sad_tab.png
BUG=441848
[email protected]
Review URL: https://codereview.chromium.org/792233005
Cr-Commit-Position: refs/heads/master@{#308426}
Autofill dropdown icons:
1. Use camera icon for "Scan new card".
2. Fix regression where icon wasn't showing
BUG=441534,441533
[email protected]
Review URL: https://codereview.chromium.org/802553003
Cr-Commit-Position: refs/heads/master@{#308425}
Kill PageSet.AddPage and its remaining usage in:
* tools/perf/(benchmarks|measurements)/
* content/test/gpu
BUG=439512
Review URL: https://codereview.chromium.org/800863003
Cr-Commit-Position: refs/heads/master@{#308424}
Roll src/third_party/skia e05fed0:41c9cbe
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/e05fed0..41c9cbe
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/804013003
Cr-Commit-Position: refs/heads/master@{#308423}
Add chrome:://device-log
This CL:
* Adds a new chrome page, chrome://device-log for the device log UI
* Eliminates the log from chrome://network, links to device-log
BUG=293739
For browser_resources.grd:
[email protected]
Review URL: https://codereview.chromium.org/793933003
Cr-Commit-Position: refs/heads/master@{#308422}
app_shell: Extend identity API stub
Provide stubs for chrome.identity.removeCachedAuthToken() and chrome.identity.
onSignInChanged.
BUG=441976
TEST=added to app_shell_unittests
Review URL: https://codereview.chromium.org/804673002
Cr-Commit-Position: refs/heads/master@{#308421}
Improve native messaging documentation
- Specify format of NMH manifest.
- Specify the expected locations of the NMH on all platforms.
- Fully document the communication protocol and constraints.
- Document every error and offer tips for resolving the issues.
- Document other common problems and how-to-solve.
BUG=377582
[email protected],[email protected]
NOTRY=true
Review URL: https://codereview.chromium.org/768373004
Cr-Commit-Position: refs/heads/master@{#308420}
Autofill: one FormCache per WebFrame.
BUG=425756
Review URL: https://codereview.chromium.org/803673002
Cr-Commit-Position: refs/heads/master@{#308419}
Roll tools/swarming_client/ to efdc5287c8057d1eceba48a32764276e262da445.
$ git log b10edf25e..efdc5287c --date=short --format='%ad %ae %s' | sed 's/@chromium\.org//'
2014-12-12 maruel Redo the way commands are triggered and add support for not using isolate server
[email protected]
BUG=
Review URL: https://codereview.chromium.org/800223004
Cr-Commit-Position: refs/heads/master@{#308418}
Roll PDFium
This brings in:
f650510 Fix build after previous commit.
217ecf3 Simplify PDFium by removing code that's not used in the open source repo.
2399550 m_pColorSpace can not be NULL for image object with DCTDecode filter
8695172 Do not do strict check of BitsPerComponent for RunLengthDecode filter
381b911 Lab colorspace needs to be 3 component
ca5d769 Trailer should be a dictionary object
4429eaa Replace manual/error-prone/hard-to-verify arraysize calculations with safe FX_ArraySize macro.
b69da0b Getting rid of more (FX_LPCWSTR) casts and fixing two bugs revealed by this.
4b87f7b Cleanup: Remove an unused function.
df76a19 Add a missing 'using' keyword in big integer library
91dd8c7 Modify big integer library
44047c3 Remove unnecessary files in third_party/bigint
7504b3d Initial check in of big integer library, v2010.04.30
4643533 Update to openjpeg r2944
Review URL: https://codereview.chromium.org/803733002
Cr-Commit-Position: refs/heads/master@{#308417}
Implement window.print() on Android
Essentially wires up the window.print() and the basic printing path
to Android framwork's PrintManager.
The changes affect the basic printing path using
PrintingMessageFilter::OnScriptedPrint. When calling window.print() on
Android, it would now be called twice.
The first time is directly after the JS call, OnScriptedPrint is called
with a parameter telling it that it's being called from JS. It will then
end up calling PrintJobWorker::GetSettings, forwarding that information.
PrintJobWorker then takes care of calling PrintingController through JNI,
joining the same code path used when printing from chrome's menu in android:
Android framework's PrintManager is invoked, and it manages the preview, using
the tab to generate the output as the user changes his/her preferences.
Why so many changes for just that: the window.print() call is blocked until the
end of the process by message pumping. It has to be disabled when printing is
finished. It is currently done by setting a callback in the current
PrintingContext, that will be called when printing is done. PrintingController
stores the reference to it, but here we have two queries at the same time, and
only the latest PrintingContext would be stored. I added a field to store
separately the one coming from the initial call, so
that it can be used when printing is done to stop the message pumping.
TL;DR: When window.print() is called, the basic printing path is used to forward
the query to PrintManager. The PrintManager then uses almost the same path to
actually print the document (as previously implemented to power the 'Print...'
entry in the menu). The changes are mostly to ensure that JS returns when
printing is completed and not before (or never).
BUG=437338
Review URL: https://codereview.chromium.org/740983002
Cr-Commit-Position: refs/heads/master@{#308416}
Land Recent QUIC Changes.
QUIC-specific variable name change.
Changes largest_observed_acked to rtt_updated in various places to be
more accurate.
Merge internal change: 81685775
https://codereview.chromium.org/800213002/
Changing QUIC cert selection to do VIP based selection.
Used IPEndPoint as the type for server_ip in all methods ala
client_ip.
Ran "git cl format net" to fix formatting issues.
Merge internal change: 81571450
https://codereview.chromium.org/802873002/
QUIC - Added QuicConnectionPeer::GetStats while porting the following
intenal server change:
Improving rtt for QUIC for 0-rtt handshakes guarded by a flag.
Merge internal change: 81435895
https://codereview.chromium.org/798183002/
QUIC - use the correct type and fix the formatting fixes.
Changes found while merging the following change from Peter Kasting into
the internal source tree.
"pkasting CL: https://codereview.chromium.org/761863002/
Clean up type usage and fix MSVC "truncated value" warnings in
net/quic/.
The existing code is very inconsistent about whether it uses typedefs
like QuickByteCount and QuicPacketCount or whether it instead uses
fundamental types like uint32, uint64, and size_t. This is not only
more confusing to read, in some cases it leads to MSVC warning about
"possibly truncated value" when one type is implicitly converted to
another, shorter one.
This attempts to fix at least some of these sorts of problems by using
the typedefed types more widely when possible, or else at least the same
basic types other places are already using. It also fixes various
warnings by including explicit casts (sometimes with legality checks)."
No functionality change. Changes to keep the code similar to internal
source tree.
Merge internal change: 81428557
https://codereview.chromium.org/787253005/
Use std::cbrt instead of our own CubeRoot implementation.
Merge internal change: 81420733
https://codereview.chromium.org/798153002/
[email protected]
Review URL: https://codereview.chromium.org/805603002
Cr-Commit-Position: refs/heads/master@{#308415}
Include MTP devices in Cloud Import happiness.
Nuke "VolumeManager.isType".
Add test coverage of importer_common methods.
Make all "DCIM" dir-name matching case-insensitive.
BUG=420680
TEST=browser_test: FileManagerJsTest.*
Review URL: https://codereview.chromium.org/778123006
Cr-Commit-Position: refs/heads/master@{#308414}
Add missed files in Windows GN build for printing.
Review URL: https://codereview.chromium.org/803493003
Cr-Commit-Position: refs/heads/master@{#308413}
Hook up import history to media scanner.
Dedupe files while scanning against local history.
Hook up import history to media scanner in background.
BUG=420680
TEST=browser_test: FileManagerJsTest.*
jwd@ for historgrams.xml.
Review URL: https://codereview.chromium.org/805533003
Cr-Commit-Position: refs/heads/master@{#308412}
Switch ChromeShellActivity to extend ActionBarActivity.
We should have changed this when we switched to AppCompat theme.
BUG=None
[email protected]
Review URL: https://codereview.chromium.org/785233007
Cr-Commit-Position: refs/heads/master@{#308411}
Roll src/third_party/WebKit 1f95254:ffba57d (svn 187151:187165)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/1f95254..ffba57d
[email protected],[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/803193002
Cr-Commit-Position: refs/heads/master@{#308410}
fix spurious semicolons
BUG=442323
[email protected]
Review URL: https://codereview.chromium.org/807533002
Cr-Commit-Position: refs/heads/master@{#308409}
Increase the sharding parallelism for browser_tests on Mac and Windows.
With the NG trybots using the buildbot value, browser_tests' sharding value regressed from the original 8 to 5 shards. The bots are now seeing more delays. Bump everything up to 10.
[email protected]
Review URL: https://codereview.chromium.org/805913004
Cr-Commit-Position: refs/heads/master@{#308408}
mojo: Don't put override on methods overriding blink interfaces.
Then we require 3 sided patches instead of 2 sided.
R=jamesr
Review URL: https://codereview.chromium.org/805893003
Cr-Commit-Position: refs/heads/master@{#308407}
MacViews: Compile more Views source files.
A collection of small fixes towards getting MacViews browser to build, including:
* Modal dialogs expect a NativeView parent.
* Add BrowserNonClientFrameViewFactoryMac.
* Keyboard component not available without Aura.
BUG=425229
Review URL: https://codereview.chromium.org/797413002
Cr-Commit-Position: refs/heads/master@{#308406}
Use IDMap in PushProvider.
BUG=None
Review URL: https://codereview.chromium.org/801643005
Cr-Commit-Position: refs/heads/master@{#308405}
Fix crash after Launcher drag/drop
BUG=439055
TEST=In Launcher, drag app to solitary folder on second page
In the case described, AppsGridView::EndDrag()'s call to MoveItemToFolder() makes a recursive call to AppsGridView::EndDrag(), which deletes drag_view_. Hence the dereferencing NULL when we return to the top-level call.
Review URL: https://codereview.chromium.org/780023002
Cr-Commit-Position: refs/heads/master@{#308404}
Chrome apps FAQ links to apps stack overflow and google group.
Previously the extensions links were used.
NOTRY=true
Review URL: https://codereview.chromium.org/802283003
Cr-Commit-Position: refs/heads/master@{#308403}
Dismiss the multi window resizer when the user clicks outside of the multi
window resizer
BUG=437125
TEST=MultiWindowResizeController.ClickOutside
Review URL: https://codereview.chromium.org/753933003
Cr-Commit-Position: refs/heads/master@{#308402}
[Extensions Toolbar Mac] Allow the overflow toolbar to use the theme provider
The overflow menu icons previously didn't have any images because there isn't
a theme provider for the menu's window. Allow image cells to provide a different
theme provider so these can display properly.
BUG=429810
Review URL: https://codereview.chromium.org/803613002
Cr-Commit-Position: refs/heads/master@{#308401}
Unflake PlatformNotificationServiceTest.NotificationPermissionLastUsage
Add a minor pause between displaying a non-persistent and a persistent
notification to ensure that the two permission usage timestamps are
different.
BUG=442407
Review URL: https://codereview.chromium.org/804793004
Cr-Commit-Position: refs/heads/master@{#308400}
Push API: rename to endpoint and registrationId. [1/3]
This is part of a series:
[1] This CL
[2] https://codereview.chromium.org/795153003/
[3] https://codereview.chromium.org/802393002/
BUG=442343
Review URL: https://codereview.chromium.org/805863002
Cr-Commit-Position: refs/heads/master@{#308399}
Roll WebRTC 7897:7902, Libjingle 7896:7898
WebRTC 7897:7902
Changes: https://chromium.googlesource.com/external/webrtc/trunk/webrtc.git/+log/e7280c6..e8dbbf4
Libjingle 7896:7898
Changes: https://chromium.googlesource.com/external/webrtc/trunk/talk.git/+log/8cc6cb0..35f09c3
[email protected]
Review URL: https://codereview.chromium.org/807483002
Cr-Commit-Position: refs/heads/master@{#308398}
[Telemetry] Fix file naming issue causing page_run_end_to_end tests to never run.
Reland of https://codereview.chromium.org/805593002/
[email protected]
BUG=440101
Review URL: https://codereview.chromium.org/802403002
Cr-Commit-Position: refs/heads/master@{#308397}
Measure network error rates with and without data reduction proxy
Adds new histograms that measure the network errors that requests are
completing with when using the data reduction proxy, and also measure
the network error rates for all HTTP requests for comparison. Single out
main frame resource loads because most net errors that would occur due
the network being unusable with the data reduction proxy would occur on
main frame requests.
BUG=439589
Review URL: https://codereview.chromium.org/784253002
Cr-Commit-Position: refs/heads/master@{#308396}
binary_size: Remove legacy path, keep / as / for unittests on windows
Starting on a port to Windows. As the non-legacy path was added 8 months
ago, is it ok to remove the legacy one now?
[email protected], [email protected]
BUG=441867
Review URL: https://codereview.chromium.org/797363002
Cr-Commit-Position: refs/heads/master@{#308395}
Improve sizeviewer for Windows
Now breaks down to the line level, and shows an annotated display
of the source file with the size cost of each line, as well as all
symbols that contribute to that size (can be many in the case of
templates).
Example output here:
https://dl.dropboxusercontent.com/u/116514/chrome.dll.html
https://dl.dropboxusercontent.com/u/116514/chrome_child.dll.html
Not really intended for loading remotely as they're very large,
but might eventually finish loading.
[email protected], [email protected]
BUG=441867
Review URL: https://codereview.chromium.org/801123002
Cr-Commit-Position: refs/heads/master@{#308394}
Updated DeviceStatusReportRequest to contain new monitoring data.
Added code to DeviceStatusCollector to populate new NetworkState fields.
BUG=430908
Review URL: https://codereview.chromium.org/776803003
Cr-Commit-Position: refs/heads/master@{#308393}
Put more information into device status json output.
BUG=440939
[email protected]
Review URL: https://codereview.chromium.org/792183002
Cr-Commit-Position: refs/heads/master@{#308392}
Add a command line switch to control the window size of content_shell.
This CL introduces a command line switch "--content-shell-host-window-size" to help the developers to specify the content_shell size for windowless ozone platforms like test, egltest, dri, caca.
Prior to this CL, the developer has to change the constants(kDefaultTestWindowWidthDip, kDefaultTestWindowHeightDip) in shell.cc to increase the content_shell resolution for above mentioned ozone platforms.
Review URL: https://codereview.chromium.org/783203002
Cr-Commit-Position: refs/heads/master@{#308391}
Ozone keyboard layout
This replaces core X11 XKB on Ozone, providing a platform-independent
interface mapping (DomCode, EventFlags) to (DomKey, character)
and KeyboardCode, and a layout set/property interface equivalent
to ImeKeyboard.
BUG=430194
Review URL: https://codereview.chromium.org/742103002
Cr-Commit-Position: refs/heads/master@{#308390}
Add optimization for CHROMIUM_subscribe_uniform extension.
We only pass ValueState updates via IPC if the Gpu Service has
signalled that a Valuebuffer is subscribed to the respective target.
BUG=422978
Review URL: https://codereview.chromium.org/780133002
Cr-Commit-Position: refs/heads/master@{#308389}
Hide Shared Modules behind "Developer Mode"
BUG=420670
Review URL: https://codereview.chromium.org/773363002
Cr-Commit-Position: refs/heads/master@{#308388}
GN build for InputControllerTest
After https://codereview.chromium.org/802813002/
BUG=441856
R=spang
TEST=build
Review URL: https://codereview.chromium.org/809453002
Cr-Commit-Position: refs/heads/master@{#308387}
Fix crash when passing temporary variable as document/manifest URL.
BUG=366145
Review URL: https://codereview.chromium.org/803063003
Cr-Commit-Position: refs/heads/master@{#308386}
Roll src/third_party/skia ce1c886:e05fed0
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/ce1c886..e05fed0
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/799413004
Cr-Commit-Position: refs/heads/master@{#308385}
Roll src/third_party/WebKit 5c1af99:1f95254 (svn 187146:187151)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/5c1af99..1f95254
[email protected],[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/804053002
Cr-Commit-Position: refs/heads/master@{#308384}
API migration: picture.draw -> picture.playback
patch from issue 802973002 at patchset 1 (http://crrev.com/802973002#ps1)
BUG=
[email protected]
add tbr for android_webview owner
Review URL: https://codereview.chromium.org/795823003
Cr-Commit-Position: refs/heads/master@{#308383}
[Android] Fix remote device test run TestPackage() methods.
BUG=428729
Review URL: https://codereview.chromium.org/801283005
Cr-Commit-Position: refs/heads/master@{#308382}
Do not provisionally send ImeCompositionRangeChanged message on Android
This CL effectively disables r301384, that provisionally plumbed
ImeCompositionRangeChanged from the renderer to the browser.
However, the character bounds is not actually used yet in the
browser process. Hence we shouldn't have turned this on until everything
becomes ready.
BUG=424866
TEST=Manually made sure that the browser process doesn't receive the event.
Review URL: https://codereview.chromium.org/757233003
Cr-Commit-Position: refs/heads/master@{#308381}
[android_webview] Disable proguard for SystemWebViewGoogle.
We were using a stale proguard config which meant that Release
builds were completely broken.
Turning proguard off till we fix this for real.
BUG=442348
Review URL: https://codereview.chromium.org/808473003
Cr-Commit-Position: refs/heads/master@{#308380}
Allow leveldb to use snappy in WebView.
Snappy was disabled for the WebView build to avoid introducing a new
build dependency but snappy has been added to the WebView build for
other purposes since then; we may as well re-enable it to remove a now
unnecessary difference between the downstream webview build and regular
builds of chromium for Android.
BUG=236780
Review URL: https://codereview.chromium.org/808493002
Cr-Commit-Position: refs/heads/master@{#308379}
Omnibox Watcher: Don't Flag Incidents that are Paste+Enter
The code currently excludes paste-and-go operations. It should probably
also exclude paste+enter operations; these are effectively equivalent.
TODO before submitting: test interactively
BUG=
[email protected],[email protected]
bauerb for change to chrome/browser/android/omnibox/autocomplete_controller_android.cc
rogerta for change to chrome/browser/rlz/rlz_unittest.cc
Committed: https://crrev.com/c281fb257d2acdd247b0692380d084863e2dd462
Cr-Commit-Position: refs/heads/master@{#308233}
Review URL: https://codereview.chromium.org/795343002
Cr-Commit-Position: refs/heads/master@{#308378}
Write the packaged USB gadget app in binary mode.
On Windows binary files will be corrupted if they are not written in
binary mode.
BUG=
Review URL: https://codereview.chromium.org/799073005
Cr-Commit-Position: refs/heads/master@{#308377}
IPC fuzzer: drop -fsanitize-coverage flag when dropping -fsanitize-address
Otherwise the new version of Clang warns about -fsanitize-coverage being unused.
BUG=442315, 431803
Review URL: https://codereview.chromium.org/805913002
Cr-Commit-Position: refs/heads/master@{#308376}
ABCDEF
Review URL: https://codereview.chromium.org/798023002
Cr-Commit-Position: refs/heads/master@{#308375}
Fix Chrome OS enrollment with SAML accounts
CL 677703002 caused a regression in the Chrome OS enrollment flow: If
the user authenticates via SAML and the credentials passing API is not
used, the enrollment flow will get stuck. This happens because the
GAIA auth extension wants to proceed with scraped password
verification but enrollment does not need the password and does not
implement the verification step.
This CL fixes enrollment by skipping password verification for
enrollment. The CL also adds a regression test - the first UI-driven
end-to-end enrollment test AFAICT.
BUG=438471
TEST=New browser test
Review URL: https://codereview.chromium.org/781623003
Cr-Commit-Position: refs/heads/master@{#308374}
Turns on smart deployment of the virtual keyboard by default, and changes the
flag to allow easy disabling of this feature.
BUG=441814
Review URL: https://codereview.chromium.org/800933002
Cr-Commit-Position: refs/heads/master@{#308373}
Added impersonation of the anonymous token around CloseClipboard
This patch adds impersonation of the anonymous token around calls
to the CloseClipboard system call. On Windows 8+ the win32k driver
captures the access token of the caller and makes it available to
other users on the desktop through the system call
GetClipboardAccessToken. This introduces a risk of privilege
escalation in sandboxed processes. By performing the impersonation
then whenever Chrome writes data to the clipboard only the anonymous
token is available.
BUG=440693
Review URL: https://codereview.chromium.org/792413003
Cr-Commit-Position: refs/heads/master@{#308372}
Cleanup: Move PaintVerticalDivider() into bookmark_bar_view.cc.
Actually it does not have to do much with DetachableToolbarView.
It is used by BookmarkBarView to draw a button separator in the left
side of "Other bookmarks" folder. The "Other bookmarks" only appears
when you actually have bookmarks on it. So to separate it from the rest
of the Bookmarks bar nodes, a separator is drawn.
Screenshot: http://imgur.com/nW38lEy
BUG=None
TEST=open chrome, bookmark something in the "Other bookmarks" folder,
make sure you have "Bookmarks bar" shown, then make sure the separator
is there. No regressions observed.
[email protected]
Review URL: https://codereview.chromium.org/798283002
Cr-Commit-Position: refs/heads/master@{#308371}
Added incident report for variations seed signature mismatch.
- Keep record of a bad signature in VariationsSeedStore::LoadSeed.
- Register VerifyVariationsSeedSignature in
SafeBrowsingService::RegisterAllDelayedAnalysis to send an incident
report, if a bad signature is encountered.
Originally by [email protected] in
https://codereview.chromium.org/646733002/.
BUG=423467
[email protected],[email protected]
Review URL: https://codereview.chromium.org/800263002
Cr-Commit-Position: refs/heads/master@{#308370}
Update browser/first_run to use the new version of LaunchProcess.
BUG=417532
Review URL: https://codereview.chromium.org/785373002
Cr-Commit-Position: refs/heads/master@{#308369}
Update dependencies for setup.exe following BoringSSL switch.
BUG=338884,127233
[email protected]
Review URL: https://codereview.chromium.org/806693005
Cr-Commit-Position: refs/heads/master@{#308368}
[Telemetry] Helpers for optional and required external modules
BUG=437525
Review URL: https://codereview.chromium.org/804513002
Cr-Commit-Position: refs/heads/master@{#308367}
Renable v8.garbage_collection_cases on all platforms but windows
On windows, we don't get thread times, so the benchmark doesn't work
[email protected],[email protected]
BUG=416502
Review URL: https://codereview.chromium.org/796403002
Cr-Commit-Position: refs/heads/master@{#308366}
Add a Windows INF file for the non-standard USB gadget devices.
This file instructs Windows to load the WinUSB driver for the default
test gadget configuration and the USB echo gadget configuration. As
this INF file is not part of a signed driver package it must be
manually loaded against the device.
Windows 8 will also load WinUSB if it finds the appropriate compatible
ID descriptor on the device. A later patch will add this descriptor
in order to bypass the manual installation step required on previous
versions of Windows.
BUG=
Review URL: https://codereview.chromium.org/803723002
Cr-Commit-Position: refs/heads/master@{#308365}
Re-upload - Fix crash when we don't have a plane to display
Review URL: https://codereview.chromium.org/794323006
Cr-Commit-Position: refs/heads/master@{#308364}
Roll src/third_party/WebKit 3243eb1:5c1af99 (svn 187143:187146)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/3243eb1..5c1af99
[email protected],[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/803093002
Cr-Commit-Position: refs/heads/master@{#308363}
Credential Manager: Switch 'request()' to GetAutofillableLogins().
This patch changes the CredentialManagerDispatcher implementation of
'request()' to grab all the credentials from the PasswordStore, rather
than just those that match the origin of the currently committed
WebContents. This change is the first step towards supporting federations.
Rather than doing multiple requests to the PasswordStore for the current
origin, and each of the federation origins, we'll grab everything, and
filter the result list before handing it back to the UI for display.
BUG=400674
Review URL: https://codereview.chromium.org/802303002
Cr-Commit-Position: refs/heads/master@{#308362}
Update Clang r223109 with new cherry-picks
This contains fixes for http://llvm.org/PR21899 which was causing assert
failures in typo correction.
Cherry-picks: 223177, 223209, 223705, 224172, 224173
(Since we cannot deploy the same version twice, this sets the revision
to r223108 which only differs in a test file.)
BUG=431803
NOTRY=true
Review URL: https://codereview.chromium.org/805513003
Cr-Commit-Position: refs/heads/master@{#308361}
Roll src/third_party/skia 912ed6e:ce1c886
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/912ed6e..ce1c886
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/807453002
Cr-Commit-Position: refs/heads/master@{#308360}
Synchronize PRESUBMIT.py with CQ
BUG=none
[email protected]
Review URL: https://codereview.chromium.org/800423002
Cr-Commit-Position: refs/heads/master@{#308359}
Update InternalStatsObserver to use the updated OnComplete callback in StatsObserver.
[email protected]
Review URL: https://codereview.chromium.org/805813003
Cr-Commit-Position: refs/heads/master@{#308358}
Move BackgroundContents to the directory in which it belongs.
BUG=77790
TEST=no change; moving two files
[email protected]
Review URL: https://codereview.chromium.org/793403003
Cr-Commit-Position: refs/heads/master@{#308357}
android: Remove TraceEvent.begin()/end()
All callers have been moved to onens with explicit event names. Removing
the expensive dumping stack implemntation.
BUG=439118
Review URL: https://codereview.chromium.org/803603002
Cr-Commit-Position: refs/heads/master@{#308356}
Revert of Migrate device_utils.RestartServer to adb_wrapper (patchset #2 id:20001 of https://codereview.chromium.org/724413003/)
Reason for revert:
Broke (even more!) the android perf bots. Reverting while investigating.
Original issue's description:
> Migrate device_utils.RestartServer to adb_wrapper
>
> The implementation is based on the new AdbWrapper class methods:
> KillServer and StartServer.
>
> BUG=267773
>
> Committed: https://crrev.com/872e2f0d24529365451323c77fe52a56687b32bf
> Cr-Commit-Position: refs/heads/master@{#308336}
[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=267773
Review URL: https://codereview.chromium.org/804033002
Cr-Commit-Position: refs/heads/master@{#308355}
Add AffiliationFetcher to fetch authoritative affiliation information regarding facets.
This uses the utilities introduced in https://codereview.chromium.org/771173002/.
BUG=437865
Review URL: https://codereview.chromium.org/767163005
Cr-Commit-Position: refs/heads/master@{#308354}
Support persistent notifications in the PlatformNotificationServiceImpl.
This patch makes it possible to create and use persistent notifications based
on delegates. This works reliable on desktop, but does not yet implement the
after-browser-restart call for Android.
BUG=432527
Review URL: https://codereview.chromium.org/784383002
Cr-Commit-Position: refs/heads/master@{#308353}
Roll src/third_party/WebKit a784d7b:3243eb1 (svn 187141:187143)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/a784d7b..3243eb1
[email protected],[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/806853002
Cr-Commit-Position: refs/heads/master@{#308352}
Update CastStatsObserver to use the new OnComplete method.
The old method has now been deprecated so I need to TBR this to unblock a roll of WebRTC.
[email protected],[email protected]
Review URL: https://codereview.chromium.org/804983002
Cr-Commit-Position: refs/heads/master@{#308351}
Cleanup: Remove translate/ dir from chrome/common.
It is almost empty, except from an OWNERS file.
BUG=None
[email protected]
NOTRY=true
Review URL: https://codereview.chromium.org/799293002
Cr-Commit-Position: refs/heads/master@{#308350}
The Apps ntp page should not display an avatar menu when clicking on the username.
The menu displayed is a Chrome native menu, and it's being displayed inside the
content area, which is pretty wrong. Also, it's the wrong, old profiles UI.
BUG=323977
Review URL: https://codereview.chromium.org/776423002
Cr-Commit-Position: refs/heads/master@{#308349}
ios: Cleanup - remove unnecessary semicolons in WebStateObserver.
As noted in https://codereview.chromium.org/780873002/
BUG=None
[email protected]
Review URL: https://codereview.chromium.org/797363003
Cr-Commit-Position: refs/heads/master@{#308348}
Cleanup image_fetcher::ImageFetcher
Follow-up CL to address comments on https://codereview.chromium.org/787903003
after the CL landed:
- cleanup #includes in image_fetcher.{h,mm}
- use const ref to scoped_refptr to avoid inc/dec ref churn
- prefer base::ThreadTaskRunnerHandle::Get() to MessageLoopProxy::current()
- remove std::string concatenation
BUG=None
Review URL: https://codereview.chromium.org/805713004
Cr-Commit-Position: refs/heads/master@{#308347}
Roll src/third_party/WebKit f5f568d:a784d7b (svn 187138:187141)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/f5f568d..a784d7b
[email protected],[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/795013004
Cr-Commit-Position: refs/heads/master@{#308346}
Fix coredump in Accessibility Manager SetProfile on shutdown.
BUG=none
Review URL: https://codereview.chromium.org/791393002
Cr-Commit-Position: refs/heads/master@{#308345}
Updating trunk VERSION from 2250.0 to 2251.0
Cr-Commit-Position: refs/heads/master@{#308344}
Roll src/third_party/WebKit 7ca8eaa:f5f568d (svn 187119:187138)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/7ca8eaa..f5f568d
[email protected],[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/806793002
Cr-Commit-Position: refs/heads/master@{#308343}
Roll WebRTC 7892:7897, Libjingle 7892:7896
WebRTC 7892:7897
Changes: https://chromium.googlesource.com/external/webrtc/trunk/webrtc.git/+log/d81f3bd..e7280c6
Libjingle 7892:7896
Changes: https://chromium.googlesource.com/external/webrtc/trunk/talk.git/+log/3b74632..8cc6cb0
[email protected]
Review URL: https://codereview.chromium.org/799383002
Cr-Commit-Position: refs/heads/master@{#308342}
Mark as unused the "Closing" UMA entry in ImportantFile.TempFileFailures.
BUG=none
Review URL: https://codereview.chromium.org/689673002
Cr-Commit-Position: refs/heads/master@{#308341}
Hide/show topbar when scrolling page up or down.
Topbar was not hiding while scrolling down at some pages
starting with a table. It did show up however if previously
hidden when scrolling up. With this change, topbar animation is
triggered for both up & down scrolling.
See for example http://sv.wikipedia.org/wiki/M%C3%B6lnlycke and try
scrolling down, topbar is not hidden.
BUG=438548
Review URL: https://codereview.chromium.org/769273002
Cr-Commit-Position: refs/heads/master@{#308340}
Fix type annotation to pass the closure compiler.
Trivial fix to make the closure's Buildbot green.
http://build.chromium.org/p/chromium.fyi/builders/Closure%20Compilation%20Linux
BUG=none
TEST=GYP_GENERATORS=ninja tools/gyp/gyp --depth . ui/file_manager/file_manager/foreground/js/compiled_resources.gyp && ninja -C out/Default
[email protected]
Review URL: https://codereview.chromium.org/800393003
Cr-Commit-Position: refs/heads/master@{#308339}
Adding telemetry WebRTC measurements for the audio codecs we support.
We'll now measure vital statistics for all audio codecs we support,
notably the CPU usage of the various codecs. The results on by Linux
box suggests Opus is the most expensive codec (but it presumably sounds
better). It will be interesting to see what results we will see on
Android and ChromeOS devices.
BUG=413577
Review URL: https://codereview.chromium.org/798903003
Cr-Commit-Position: refs/heads/master@{#308338}
cc: Optimise eviction tile priority queue
Do not process the tiling with required for activation tiles if it is
certain that that tiling cannot have required for activation tiles
having the current priority bin.
Review URL: https://codereview.chromium.org/800883002
Cr-Commit-Position: refs/heads/master@{#308337}
Migrate device_utils.RestartServer to adb_wrapper
The implementation is based on the new AdbWrapper class methods:
KillServer and StartServer.
BUG=267773
Review URL: https://codereview.chromium.org/724413003
Cr-Commit-Position: refs/heads/master@{#308336}
MIPSEL supports seccomp_bpf so use it with GN build as well
BUG=
TEST=Compile 'chrome' for MIPSEL Linux
Review URL: https://codereview.chromium.org/795053004
Cr-Commit-Position: refs/heads/master@{#308335}
Fix gcc_version.gni to determine target GCC version for MIPSEL Linux.
This CL modifies gcc_version.gni to set the gcc_version to the target
GCC toolchain version when building for MIPSEL Linux.
BUG=
TEST=Compile 'chrome' target with 'os="linux" cpu_arch="mipsel"'.
Manually verify that the correct GCC options are used.
Review URL: https://codereview.chromium.org/797593002
Cr-Commit-Position: refs/heads/master@{#308334}
Roll WebRTC 7864:7892, Libjingle 7860:7892
WebRTC 7864:7892
Changes: https://chromium.googlesource.com/external/webrtc/trunk/webrtc.git/+log/764bd22..d81f3bd
Libjingle 7860:7892
Changes: https://chromium.googlesource.com/external/webrtc/trunk/talk.git/+log/e2d3246..3b74632
[email protected]
Review URL: https://codereview.chromium.org/798343003
Cr-Commit-Position: refs/heads/master@{#308333}
Keep alive ServiceWorkers when devtools is attached
- Plumbed from EmbeddedWorkerDevToolsAgentHost to
ServiceWorkerVersion to flip 'DevToolsAttached' flag
- Added EmbeddedWorkerInstance::StopIfIdle() which doesn't stop
the worker if devtools is attached
- Changed stop-worker-timer code to call StopIfIdle() instead of Stop()
- Added a hook in EmbeddedDevToolsManager that is called when we
didn't stop the worker (to show an educational console message)
BUG=429582
TEST=EmbeddedWorkerInstanceTest.StopWhenDevToolsAttached
Review URL: https://codereview.chromium.org/761923004
Cr-Commit-Position: refs/heads/master@{#308332}
Changes to third_party/cython build rules to allow source sets for
python modules composed of C++ and/or Cython files.
This change is necessary for https://codereview.chromium.org/792843002/.
It is also backward-incompatible with the current mojo/public/python
build rules; I change them in the same changelist to avoid the
dependency issue. Once this CL lands, I will roll the changes into the
mojo repository from chromium.
[email protected],[email protected]
Review URL: https://codereview.chromium.org/799923003
Cr-Commit-Position: refs/heads/master@{#308331}
cc: Drop an unused member variable from tiling data iterators
Tiling data iterators need tiling data pointer only in constructors thus
there is no need to store that pointer into a member variable.
Review URL: https://codereview.chromium.org/798973003
Cr-Commit-Position: refs/heads/master@{#308330}
Revert of Stub for web-base client for DevTools bridge and tests (patchset #5 id:100001 of https://codereview.chromium.org/736363002/)
Reason for revert:
Reverting since now DevToolsBridgeClient (https://code.google.com/p/chromium/codesearch#chromium/src/chrome/browser/devtools/device/webrtc/devtools_bridge_client.h) is that WebClient supposed to be. All further code will be placed there.
Original issue's description:
> Stub for web-base client for DevTools bridge and tests
>
> This patch mostly consists of testing environment for web WebClient. While
> WebClient intended to be base for a new DeviceProvider in DevTools frontend
> (https://codereview.chromium.org/720133002/) it is convinient to run
> tests on android. It lets to test the client directly against server
> counterpart avoiding flakiness of network and cloud services.
>
> [email protected]
> BUG=383418
>
> Committed: https://crrev.com/ff7a801dfddaa22643accaf3e0df192470fb7a7b
> Cr-Commit-Position: refs/heads/master@{#305131}
[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=383418
Review URL: https://codereview.chromium.org/802293002
Cr-Commit-Position: refs/heads/master@{#308329}
Roll src/third_party/WebKit 6556aea:7ca8eaa (svn 187116:187119)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/6556aea..7ca8eaa
[email protected],[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/802273002
Cr-Commit-Position: refs/heads/master@{#308328}
ServiceWorker: Make skipWaiting only works on documents using current registration
A document will associate a new matched registration if it is not controlled,
but it doesn't equal to "using" the registration. We should omit documents
that are not using the registration when skipWaiting happens.
BUG=370742
TEST=http/tests/serviceworker/skip-waiting.html
Review URL: https://codereview.chromium.org/798833002
Cr-Commit-Position: refs/heads/master@{#308327}
Fix icon on Windows XP taskbar
BUG=437829
Committed: https://crrev.com/0593c1690aeb6ac4869504b91d8172546aea1da6
Cr-Commit-Position: refs/heads/master@{#306389}
Review URL: https://codereview.chromium.org/772533002
Cr-Commit-Position: refs/heads/master@{#308326}
Fix global variable name to follow style guide
BUG=None
Review URL: https://codereview.chromium.org/799073007
Cr-Commit-Position: refs/heads/master@{#308325}
Roll src/third_party/WebKit 9561fd6:6556aea (svn 187114:187116)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/9561fd6..6556aea
TBR=
Review URL: https://codereview.chromium.org/801293002
Cr-Commit-Position: refs/heads/master@{#308324}
Automated Commit: Committing new LKGM version 6582.0.0 for chromeos.
Cr-Commit-Position: refs/heads/master@{#308323}
Roll src/third_party/WebKit 3d81dfe:9561fd6 (svn 187113:187114)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/3d81dfe..9561fd6
TBR=
Review URL: https://codereview.chromium.org/806703002
Cr-Commit-Position: refs/heads/master@{#308322}
If easy sign-in is set up, allow TPMTokenLoader to start before login
As part of easy sign-in protocol, a nonce has to be signed by TPM
private key. To be able to do this, we need to allow system token to be
loaded before a user is logged in. This cl starts system token
initialization (which is done by TPMTokenLoader) before LoginState is
LOGGED_IN if there is a user with easy sign-in enabled.
BUG=409027
Review URL: https://codereview.chromium.org/741593002
Cr-Commit-Position: refs/heads/master@{#308321}
Add type annotations to gallery/js/mosaic_mode.js.
BUG=433728
TEST=GYP_GENERATORS=ninja tools/gyp/gyp --depth . ui/file_manager/gallery/js/compiled_resources.gyp && ninja -C out/Default | grep "gallery/js/mosaic_mode.js"
Review URL: https://codereview.chromium.org/805723003
Cr-Commit-Position: refs/heads/master@{#308320}
Roll src/third_party/WebKit 54355486:3d81dfe (svn 187109:187113)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/54355486..3d81dfe
TBR=
Review URL: https://codereview.chromium.org/802083003
Cr-Commit-Position: refs/heads/master@{#308319}
Only log voice recognition in always-on hotwording mode.
BUG=397019
Review URL: https://codereview.chromium.org/804853002
Cr-Commit-Position: refs/heads/master@{#308318}
App list: Lighten the mouse and keyboard highlight colours.
Provides better contrast with the downloads bar while remaining
contrasted with the background.
BUG=424067
Review URL: https://codereview.chromium.org/791273002
Cr-Commit-Position: refs/heads/master@{#308317}
Make app list recommendations into their own DisplayType.
This CL makes the app list recommendations their own
SearchResult::DisplayType. This prevents recommendations from flashing up
for an instant when the search query is deleted.
BUG=440051
Review URL: https://codereview.chromium.org/796793002
Cr-Commit-Position: refs/heads/master@{#308316}
Revert "Add UMA Histogram Manager to Cronet."
This reverts commit 4eb0fd47de0736f3f4c970e8d7f8813ef2177886.
HistogramManagerBucketFields times out on Win7 Tests.
https://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%28dbg%29%281%29/builds/33548
[email protected],[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=441466
Review URL: https://codereview.chromium.org/800363002
Cr-Commit-Position: refs/heads/master@{#308315}
Roll src/third_party/WebKit 0c64792:54355486 (svn 187105:187109)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/0c64792..54355486
TBR=
Review URL: https://codereview.chromium.org/801243002
Cr-Commit-Position: refs/heads/master@{#308314}
Revert of Fix file naming issue causing page_run_end_to_end tests to never run (at least when run locally usi… (patchset #2 id:20001 of https://codereview.chromium.org/805593002/)
Reason for revert:
Some of the newly enabled tests fail on the bots.
For example, https://build.chromium.org/p/chromium.win/builders/Vista%20Tests%20%281%29/builds/51555
Original issue's description:
> Fix file naming issue causing page_run_end_to_end tests to never run (at least when run locally using run_tests script).
> Fix a failing test from this file.
>
> Found this while fixing unit test for max_failures patch
> (https://codereview.chromium.org/790673005/).
>
> BUG=440101
>
> Committed: https://crrev.com/c484a63e356fb1011b553b94612586d2084325d3
> Cr-Commit-Position: refs/heads/master@{#308264}
[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=440101
Review URL: https://codereview.chromium.org/802243002
Cr-Commit-Position: refs/heads/master@{#308313}
Bookmark pop-up doesn't open if Ctrl+D is set as keyboard shortcut for added extensions.
Presently when we selects bookmark icon then it checks weather Ctrl+D has been set as overridden command for any extension if yes, then it executes extension popup for that extension.
Changes done so that when bookmarking a page is done via bookmark icon by mouse click then bookmark overridden commands should not be considered as overriding happened for keyboard shortcuts.
As user have overridden shortcut key for bookmark to launch extension pop up, not the bookmarking via selection of bookmark icon by mouse event.
[email protected]
BUG=426791
Review URL: https://codereview.chromium.org/765043002
Cr-Commit-Position: refs/heads/master@{#308312}
Add the basic infrastructure for the Behavior feature type: BehaviorFeature and
_behavior_features.json. Arbitrarily use it to implement the allow-in-incognito
whitelist.
BUG=440194
[email protected]
Review URL: https://codereview.chromium.org/789383002
Cr-Commit-Position: refs/heads/master@{#308311}
Allow arrow keys to navigate tile results in the experimental app list.
This CL implements an experimental scheme for navigating the tile results
in the experimental app list. The left and right arrow keys now navigate
the tile list if the search box cursor is at the end of the text.
BUG=436327
Review URL: https://codereview.chromium.org/793633002
Cr-Commit-Position: refs/heads/master@{#308310}
Fix app list search box rendering above app list overlay.
This CL fixes issues with the app list where the search box widget would
render above the app list overlay while accepting input.
This has been fixed by appropriately animating the search box widget
when the app list overlay is shown and disabling the search box.
BUG=439350
Review URL: https://codereview.chromium.org/781423002
Cr-Commit-Position: refs/heads/master@{#308309}
Prevent Shift+Tab from locking up the browser when in the app list.
This CL fixes an issue where Shift+Tab would lock up the whole chrome
browser process when in the app list. This has been fixed by explicitly
capturing the Shift+Tab event since there are no other focus targets
anyway.
BUG=438425
Review URL: https://codereview.chromium.org/791403004
Cr-Commit-Position: refs/heads/master@{#308308}
Add type annotations to gallery/js/gallery.js.
BUG=433728
TEST=GYP_GENERATORS=ninja tools/gyp/gyp --depth . ui/file_manager/gallery/js/compiled_resources.gyp && ninja -C out/Default | grep "gallery.js"
Review URL: https://codereview.chromium.org/801533006
Cr-Commit-Position: refs/heads/master@{#308307}
Roll src/third_party/WebKit 33cbe26:0c64792 (svn 187103:187105)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/33cbe26..0c64792
TBR=
Review URL: https://codereview.chromium.org/802783004
Cr-Commit-Position: refs/heads/master@{#308306}
Update autocomplete dropdown when datalist changes.
Blink side: https://codereview.chromium.org/799893004
BUG=428790
Review URL: https://codereview.chromium.org/798073003
Cr-Commit-Position: refs/heads/master@{#308305}
Eliminate the launcher speech recognizer's dependency on the start page WebContents.
This affects the speech recognition with V2 hotwording enabled.
Review URL: https://codereview.chromium.org/797493002
Cr-Commit-Position: refs/heads/master@{#308304}
OOP PDF: Hide the loading indicator until the plugin loads.
Previously if the PDF plugin is disabled or click-to-play, the loading
indicator appeared over the click-to-play overlay. This hides the
loading indicator until a message is received from the plugin.
BUG=441132
Review URL: https://codereview.chromium.org/796223002
Cr-Commit-Position: refs/heads/master@{#308303}
Roll src/third_party/skia 451e822:912ed6e
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/451e822..912ed6e
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/804833003
Cr-Commit-Position: refs/heads/master@{#308302}
Update installer to use the new version of LaunchProcess.
BUG=417532
Review URL: https://codereview.chromium.org/783523004
Cr-Commit-Position: refs/heads/master@{#308301}
Currently, constrained web dialogs cannot autoresize. This change gives an option to pass in a minimum and maximum size, which enables the autoresizing functionality.
OSX has not yet been implemented.
BUG=217034
Review URL: https://codereview.chromium.org/754953002
Cr-Commit-Position: refs/heads/master@{#308300}
Fix a crash on closing tab while the plugin settings bubble is visible
Add a null check instead of DCHECK() for web contents since it can be NULL
and cause a crash on debug builds, if the tab is closed while the plugin
settings bubble is visible and the setting was changed to Allow plugins.
BUG=440410
Review URL: https://codereview.chromium.org/791633003
Cr-Commit-Position: refs/heads/master@{#308299}
Remove dependency on the default constructor of StatsReport. This is in preparation of a WebRTC roll where this constructor has been removed.
[email protected]
Review URL: https://codereview.chromium.org/803853002
Cr-Commit-Position: refs/heads/master@{#308298}
Roll src/third_party/WebKit ef1eaab:33cbe26 (svn 187102:187103)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/ef1eaab..33cbe26
TBR=
Review URL: https://codereview.chromium.org/791243003
Cr-Commit-Position: refs/heads/master@{#308297}
Update V8 to version 3.31.57 (based on 48054170e94a5691d1c102c6f3992401ea0f51d0).
[email protected]
Review URL: https://codereview.chromium.org/797423002
Cr-Commit-Position: refs/heads/master@{#308296}
Roll src/third_party/WebKit 23bf4d4:ef1eaab (svn 187101:187102)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/23bf4d4..ef1eaab
TBR=
Review URL: https://codereview.chromium.org/806583003
Cr-Commit-Position: refs/heads/master@{#308295}
Automated Commit: Committing new LKGM version 6579.0.0 for chromeos.
Cr-Commit-Position: refs/heads/master@{#308294}
Roll src/third_party/WebKit 2df2b3e:23bf4d4 (svn 187099:187101)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/2df2b3e..23bf4d4
TBR=
Review URL: https://codereview.chromium.org/787253007
Cr-Commit-Position: refs/heads/master@{#308293}
Change ShowConfirmBubble() to take model by scoped_ptr.
It makes the ownership clear and it is a good pratice when transfering
ownership from caller to callee. Passing a scoped_ptr makes it harder to
misuse.
Discussion in chromium-dev mailing-list:
https://groups.google.com/a/chromium.org/d/topic/chromium-dev/9rTsfEI1Ux0/discussion
BUG=None
TEST=unit_tests --gtest_filter=ConfirmBubble*
[email protected],[email protected]
Review URL: https://codereview.chromium.org/801043003
Cr-Commit-Position: refs/heads/master@{#308292}
bookmarks: Use OnImportBookmarks for naming instructions delegate method.
Do not use an action when naming an event that will be fired to the
delegate. Instead of saying what the delegate should do or will do, just
say what event happened. So in this case, say to the delegate that the
instructions import link on the Bookmarks Bar was clicked.
BUG=None
TEST=have zero bookmarks in your Bookmarks Bar, so you can see the link there,
click on it to show the import dialog. No regressions should be observed.
[email protected]
Review URL: https://codereview.chromium.org/789653004
Cr-Commit-Position: refs/heads/master@{#308291}
Roll src/third_party/WebKit c517219:2df2b3e (svn 187098:187099)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/c517219..2df2b3e
TBR=
Review URL: https://codereview.chromium.org/787253006
Cr-Commit-Position: refs/heads/master@{#308290}
[cc] Add nearest neighbor filtering for PictureLayer.
Blink side here (depends on this CL):
https://codereview.chromium.org/782693003/
BUG=317991
Review URL: https://codereview.chromium.org/789433003
Cr-Commit-Position: refs/heads/master@{#308289}
Limit lifetime of self-signed certificate used for TLS on Cast channel
BUG=428920
[email protected]
Review URL: https://codereview.chromium.org/694123002
Cr-Commit-Position: refs/heads/master@{#308288}
Revert of Ensure that the browser’s copy of page id is in sync with the renderer’s. (patchset #1 id:1 of https://codereview.chromium.org/795233002/)
Reason for revert:
Still crashing.
Original issue's description:
> Ensure that the browser’s copy of page id is in sync with the renderer’s.
>
> This might-maybe-hope-not crash, and so has debugging statements.
>
> BUG=407376
> TEST=no crashing, we hope
> [email protected]
>
> Committed: https://crrev.com/0eba5c5e63e52330d3409193f5184aaffac45e90
> Cr-Commit-Position: refs/heads/master@{#308036}
[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=407376
Review URL: https://codereview.chromium.org/803803003
Cr-Commit-Position: refs/heads/master@{#308287}
Remove dead script_badge code.
BUG=302083
[email protected]
[email protected]
Review URL: https://codereview.chromium.org/730983002
Cr-Commit-Position: refs/heads/master@{#308286}
Roll src/third_party/WebKit e7e7876:c517219 (svn 187097:187098)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/e7e7876..c517219
TBR=
Review URL: https://codereview.chromium.org/806563002
Cr-Commit-Position: refs/heads/master@{#308285}
Roll src/third_party/skia 43893e4:451e822
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/43893e4..451e822
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/798233002
Cr-Commit-Position: refs/heads/master@{#308284}
Cronet Fix Channel Write after Close when request is canceled after success.
Refactor URLRequestAdapter::Read to fix unbound buffer growth and data corruption in case of synchronous success.
BUG=433348
Review URL: https://codereview.chromium.org/743713002
Cr-Commit-Position: refs/heads/master@{#308283}
remove dead flag SK_LEGACY_PICTURE_SIZE_API
BUG=
TBR=robertphilips
Review URL: https://codereview.chromium.org/787123007
Cr-Commit-Position: refs/heads/master@{#308282}
content: bpf: exclude the syscalls if arm64
__NR_open, __NR_access are not defined on arm64. So, I just blocked
the syscall to build properly on arm64.
BUG=None
Review URL: https://codereview.chromium.org/784733002
Cr-Commit-Position: refs/heads/master@{#308281}
chrome: Rename the remaining entries from "Newtab" to "NewTab".
These entries were found with the following command line:
$ git grep Newtab chrome/
BUG=None
[email protected]
Review URL: https://codereview.chromium.org/786893007
Cr-Commit-Position: refs/heads/master@{#308280}
Roll src/third_party/WebKit 71085d0:e7e7876 (svn 187095:187097)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/71085d0..e7e7876
TBR=
Review URL: https://codereview.chromium.org/799813003
Cr-Commit-Position: refs/heads/master@{#308279}
chrome: Cleanup some entries from presubmit's exclude list.
They don't seem to be necessary anymore.
[email protected]
Review URL: https://codereview.chromium.org/794243004
Cr-Commit-Position: refs/heads/master@{#308278}
[Hotword] Sync Audio History pref every 24 hours, when opening
chrome://settings and upon HotwordService creation.
Note: This also changes HotwordAudioHistoryHandler to maintain the
previous state of the pref if a successful connection could not be made
with the server. A separate CL will be created for reporting an error in
connection to the user.
Adds a new function to browser_options_handler to be used as a callback
to the call GetAudioHistoryEnabled.
Adds a task_runner to HotwordAudioHistoryHandler to enable testing.
Test added: HotwordServiceTest.AudioHistorySyncOccurs.
Changes to hotword_private_apitest reflect the fact that
hotword_audio_history_handler now takes a task_runner and that the
previous state of the pref is maintained.
Issue 436683 is included in this because the times which we sync (every
24 hrs, profile startup, opening chrome://settings) are considered
sufficient enough to maintain state and close enough to launching for
the purpose of opening the audio_verification_app.
BUG=438451,436683
Review URL: https://codereview.chromium.org/800523002
Cr-Commit-Position: refs/heads/master@{#308277}
Rename AddPage -> AddUserStory in tools/telemetry.
BUG=439512
Review URL: https://codereview.chromium.org/805613002
Cr-Commit-Position: refs/heads/master@{#308276}
Kill PageSet.AddPageWithDefaultRunNavigate.
BUG=439512
Review URL: https://codereview.chromium.org/797133003
Cr-Commit-Position: refs/heads/master@{#308275}
Rename AddPage -> AddUserStory in tools/perf/page_sets/.
BUG=439512
Review URL: https://codereview.chromium.org/799183002
Cr-Commit-Position: refs/heads/master@{#308274}
Roll src/third_party/skia fbaace0:43893e4
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/fbaace0..43893e4
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/796333004
Cr-Commit-Position: refs/heads/master@{#308273}
Updating trunk VERSION from 2249.0 to 2250.0
Cr-Commit-Position: refs/heads/master@{#308272}
Roll src/third_party/WebKit cb219a0:71085d0 (svn 187093:187095)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/cb219a0..71085d0
TBR=
Review URL: https://codereview.chromium.org/806523002
Cr-Commit-Position: refs/heads/master@{#308271}
Add OAuth2 authentication for speech recognition requests from the launcher, when audio-history is opted-into.
Audio history allows a user to see the speech recognition result at https://history.google.com/history/audio. This change will attach an auth (OAuth2) token to the recognition request, which is used to associate the request with the user. This only happens when the user opts-in to audio history, and only on speech recognition from the app launcher.
This change adds a helper class that handles retrieving and refreshing the auth token, and plumbs that token into the speech recognition request.
BUG=397019
Review URL: https://codereview.chromium.org/778393002
Cr-Commit-Position: refs/heads/master@{#308270}
Roll src/third_party/WebKit 502e869:cb219a0 (svn 187092:187093)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/502e869..cb219a0
TBR=
Review URL: https://codereview.chromium.org/797183003
Cr-Commit-Position: refs/heads/master@{#308269}
Roll src/third_party/WebKit f2e542d:502e869 (svn 187091:187092)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/f2e542d..502e869
TBR=
Review URL: https://codereview.chromium.org/805573005
Cr-Commit-Position: refs/heads/master@{#308268}
Roll src/third_party/WebKit b676431:f2e542d (svn 187087:187091)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/b676431..f2e542d
TBR=
Review URL: https://codereview.chromium.org/787923003
Cr-Commit-Position: refs/heads/master@{#308267}
Roll src/third_party/WebKit d8c8e9e:b676431 (svn 187081:187087)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/d8c8e9e..b676431
[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/789103005
Cr-Commit-Position: refs/heads/master@{#308266}
LevelDB: Removed global prefix from base namespace: "::base" -> "base"
Review URL: https://codereview.chromium.org/800783003
Cr-Commit-Position: refs/heads/master@{#308265}
Fix file naming issue causing page_run_end_to_end tests to never run (at least when run locally using run_tests script).
Fix a failing test from this file.
Found this while fixing unit test for max_failures patch
(https://codereview.chromium.org/790673005/).
BUG=440101
Review URL: https://codereview.chromium.org/805593002
Cr-Commit-Position: refs/heads/master@{#308264}
Generate OnPipelineSeeked event for seek to currenttime in pause state
Pipeline generates OnPipelineSeeked and OnPipelineBufferingStateChanged
events in response to seek operations. There is an event generated already
for OnPipelineBufferingStateChanged but missing one for OnPipelineSeeked.
Follow up fix for https://codereview.chromium.org/740663002/
Required for landing https://codereview.chromium.org/456343002/
Review URL: https://codereview.chromium.org/791233003
Cr-Commit-Position: refs/heads/master@{#308263}
Roll src/third_party/skia 1607156:fbaace0
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/1607156..fbaace0
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/804463004
Cr-Commit-Position: refs/heads/master@{#308262}
Don't create multiple WebRange objects for getting selection text.
Editable HTML content is very laggy when it is relatively large. Lag
is caused by creation of WebRange object with given location and offset.
Bigger the editable content and farther the location, the more the lag.
Currently we create WebRange object twice - once for checking presence
of text (plain) and again for fetching actual plain text. It causes the
lag to double the actual value. This patch removes unneccessary double
creation of WebRange.
Sample page and traces showing the lag and improvement with this patch
are attached with the bug.
BUG=396051
R=avi,jochen,yosin
TBR=jochen
TESTS=None
Review URL: https://codereview.chromium.org/795493003
Cr-Commit-Position: refs/heads/master@{#308261}
Automated Commit: Committing new LKGM version 6575.0.0 for chromeos.
Cr-Commit-Position: refs/heads/master@{#308260}
Enable 3rd party support for Security Keys.
Updates cryptotoken to 0.9.10:
- Implement eTLD+1 checking of appIds
- Smaller bugfixes
BUG=426358
R=juanlang,xiyuan
Review URL: https://codereview.chromium.org/799923007
Cr-Commit-Position: refs/heads/master@{#308259}
Stop execution for unexpected exceptions like KeyboardInterrupt...
We "white list" some exceptions which user story runner can continue running
the rest of user stories even if they are raised during the test run.
Those exceptions are:
page_test.Failure
util.TimeoutException
exceptions.LoginException
exceptions.ProfilingException
page_action.PageActionNotSupported
exceptions.AppCrashException (except if this is thrown inside
shared_user_story_state.state.TearDownState(), which indicates a failure of
recovering the test state)
BUG=437735
Review URL: https://codereview.chromium.org/755323012
Cr-Commit-Position: refs/heads/master@{#308258}
Revert of Generalize V4L2 HW video codec device names (patchset #3 id:40001 of https://codereview.chromium.org/786993002/)
Reason for revert:
Still hitting crbug.com/439175 on Pit.
Original issue's description:
> Generalize V4L2 HW video codec device names
>
> Switch to more generalized V4L2 video accelerator device names and update
> sandbox rules to reflect that.
>
> After video_ChromeHWDecodeUsed autotest is fixed, this cl is submitted again
> due to crrev.com/730693005 reverted in crrev.com/784553004.
>
> BUG=405861, 437598, 439175
> TEST=passed video_ChromeHWDecodeUsed with h264 and vp8 on peach_pit.
> Media.GpuVideoDecoderInitializeStatus value is 0 when playing a video
> from youtube. DUT only has /dev/video-enc and /dev/video-dec device nodes.
>
> Committed: https://crrev.com/b777ad3f16655a3493a0ecd9975c58a7b84c740d
> Cr-Commit-Position: refs/heads/master@{#307674}
[email protected],[email protected],[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=405861, 437598, 439175
Review URL: https://codereview.chromium.org/792123006
Cr-Commit-Position: refs/heads/master@{#308257}
Revert of Omnibox Watcher: Don't Flag Incidents that are Paste+Enter (patchset #5 id:80001 of https://codereview.chromium.org/795343002/)
Reason for revert:
causes crashes in official builders.
../../chrome/browser/rlz/rlz_unittest.cc:240:14:error: no matching constructor for initialization of 'OmniboxLog'
OmniboxLog dummy(base::string16(), false, metrics::OmniboxInputType::INVALID,
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../chrome/browser/omnibox/omnibox_log.h:22:3: note: candidate constructor not viable: requires 13 arguments, but 12 were provided
OmniboxLog(
^
../../chrome/browser/omnibox/omnibox_log.h:21:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 12 were provided
struct OmniboxLog {
^
1 error generated.
Original issue's description:
> Omnibox Watcher: Don't Flag Incidents that are Paste+Enter
>
> The code currently excludes paste-and-go operations. It should probably
> also exclude paste+enter operations; these are effectively equivalent.
>
> TODO before submitting: test interactively
>
> BUG=
> [email protected]
>
> Committed: https://crrev.com/c281fb257d2acdd247b0692380d084863e2dd462
> Cr-Commit-Position: refs/heads/master@{#308233}
[email protected],[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=
Review URL: https://codereview.chromium.org/800983005
Cr-Commit-Position: refs/heads/master@{#308256}
[Ozone-DRI] Add support for asynchronous display configuration
Keep track of the display configuration callbacks and trigger them when the
GPU process responds.
BUG=429746
NOTRY=true
[email protected]
Review URL: https://codereview.chromium.org/800743002
Cr-Commit-Position: refs/heads/master@{#308255}
Roll src/third_party/WebKit 1fdbfa4:d8c8e9e (svn 187060:187081)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/1fdbfa4..d8c8e9e
[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/797833004
Cr-Commit-Position: refs/heads/master@{#308254}
Roll src/third_party/skia 1629118:1607156
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/1629118..1607156
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/801963002
Cr-Commit-Position: refs/heads/master@{#308253}
ui: Bubble fix
woops, when I was testing this, I hadn't noticed the mistake because
I was testing over a white background, and the shadow looks exactly
like the bubble in that case.
I had used the wrong color for the shadow color, and as a result I
didn't notice that the shadow was in the wrong spot.
I did a bit more extensive testing, if you have chrome fullscreen on the
left side, and you show the bubble on the right, it does extend to right
screen by 1 pixel. This happened before and after my change.
BUG=435910
Review URL: https://codereview.chromium.org/792243002
Cr-Commit-Position: refs/heads/master@{#308252}
ozone: Move InputControllerTest to a common place
Use this for platforms with no control over input devices.
BUG=441856
TEST=build
Review URL: https://codereview.chromium.org/802813002
Cr-Commit-Position: refs/heads/master@{#308251}
Remove synchronous GetDisplays() and Configure() from NativeDisplayDelegate
Cleaning up since the entry points should not be used/needed anymore.
Also removing the Configure() calls from TakeControl() and replace them
with a call to probe and configure displays.
BUG=429746
Review URL: https://codereview.chromium.org/796263002
Cr-Commit-Position: refs/heads/master@{#308250}
Change <!DOCTYPE> to <!doctype>.
Frankly I'm tired of all the inconsistencies and <!DOCTYPE> looks odd being the
only tag-like thing on the page that's UPPERCASE.
It Officially Doesn't Matter according to the HTML5 spec:
http://www.w3.org/TR/html5/syntax.html#the-doctype
[email protected]
BUG=none
TEST=less annoyance
Review URL: https://codereview.chromium.org/802863002
Cr-Commit-Position: refs/heads/master@{#308249}
Image Search: Move thumbnail JPEG encoding to the renderer.
Not only does this do less work in the browser process, but it also
sidesteps issues with SkBitmap pickling for IPC, resolving a crash
when the user attempts to search for an invalid image.
BUG=431418
Review URL: https://codereview.chromium.org/792903002
Cr-Commit-Position: refs/heads/master@{#308248}
Pass navigator.connect calls through to the browser process.
Depends on blink side change in https://codereview.chromium.org/782463002/
and on the blink side change in https://codereview.chromium.org/799703003/
BUG=426458
Review URL: https://codereview.chromium.org/781723002
Cr-Commit-Position: refs/heads/master@{#308247}
Add support for internal overrides for Mac
BUG=302704
Review URL: https://codereview.chromium.org/798173002
Cr-Commit-Position: refs/heads/master@{#308246}
Restore DXVAVideoDecodeAccelerator::SetState to continue setting the state on the main thread.
DXVAVideoDecodeAccelerator::GetState uses InterlockedAdd(0) to get the recent state.
BUG=441000
Review URL: https://codereview.chromium.org/793993002
Cr-Commit-Position: refs/heads/master@{#308245}
Looking into all changed files to find actions.xml.
In case actions.xml is included in the changelist the chrome/browser/resources/PRESUBMIT.py shouldn't run because the presubmit for actions.xml will do more complete job.
Fixing the bug to look into all changed files in the CL where previously it was only looking at subdirectories of current presubmit script to find actions.xml
BUG=439978
Review URL: https://codereview.chromium.org/760163004
Cr-Commit-Position: refs/heads/master@{#308244}
do not send traffic to localhost through proxy for android
The proxy config service for android does not allow
one to configure an exception for localhost be made.
The implementation for Linux did allow this in:
proxy_config_service_linux.cc
it just seems it was overlooked for android.
Instead of adding in the ability to configure
localhost as an exclusion, it makes more sense
to just force the exception; it seems silly to
send traffic for localhost through a proxy.
This patch addresses the following bug in android:
https://code.google.com/p/android/issues/detail?id=37031
BUG=
Review URL: https://codereview.chromium.org/796003002
Cr-Commit-Position: refs/heads/master@{#308243}
Enable Enhanced Bookmark on Android Tablet
Now since clank supports Enhanced Bookmark feature on tablet, this flag
should be turned on.
BUG=NONE
Review URL: https://codereview.chromium.org/803703002
Cr-Commit-Position: refs/heads/master@{#308242}
Don't schedule more invokeFunctors than necessary.
The problematic sequence of events is as follows:
1. ShouldRequestOnNonUiThread, which posts a closure
(request_draw_gl_closure_) to UI thread
2. That closure gets run on UI thread, and it schedules the invokeFunctor
with Android framework
3. Before the corresponding invokeFunctor actually happens on RT (which
is DrawGL process mode), ShouldRequestOnUiTdread is called on the UI
thread. At this point, pending_non_ui_ is not null, we cancel the
callback, which does nothing, because WebView has already scheduled an
invokeFunctor with the Android framework in Step 2. Then we schedule
another invokeFunctor immediately on the UI thread. So there are 2
invokeFunctors queued in Android framework in this case.
This CL tries keep track of whether or not we've
queued an invokeFunctor in Android framework already.
BUG=442013
Review URL: https://codereview.chromium.org/801923003
Cr-Commit-Position: refs/heads/master@{#308241}
Remove MediaSource renderer from the remoting client plugin
Review URL: https://codereview.chromium.org/804663002
Cr-Commit-Position: refs/heads/master@{#308240}
Add UMA Histogram Manager to Cronet.
Part of change to collect, upload and expose histogram data
for Cronet.
BUG=441466
Review URL: https://codereview.chromium.org/794493002
Cr-Commit-Position: refs/heads/master@{#308239}
Track referenced files of subframes in PageState.
BUG=441966
TEST=Upload a previously selected file from subframe form after restore.
Review URL: https://codereview.chromium.org/805563003
Cr-Commit-Position: refs/heads/master@{#308238}
ozone: evdev: Populate keyboard list on DeviceDataManager
Add a method to EventDeviceInfo to determine if the device has a
keyboard on it based on the key bitmap. We'll require the first 31 keys
to be considered a keyboard; this is compatible with udev.
TEST=chrome on link_freon & rush_ryu
BUG=437539
Review URL: https://codereview.chromium.org/797483002
Cr-Commit-Position: refs/heads/master@{#308237}
Release resources from SurfaceAggregator when new frame arrives.
The SurfaceAggregator will never need the resources for a frame after a new frame has been submitted for that Surface, so return the resources early.
BUG=441698,441751,440213
Review URL: https://codereview.chromium.org/800133002
Cr-Commit-Position: refs/heads/master@{#308236}
Remove an unused include from chrome/browser/chromeos/audio
BUG=437700
TEST=everything builds as before
Review URL: https://codereview.chromium.org/790603006
Cr-Commit-Position: refs/heads/master@{#308235}
[Smart Lock] Change Smart Lock for Android promo confirmation button text to 'Next' from 'Done'.
BUG=406439
TEST=none
[email protected]
Review URL: https://codereview.chromium.org/802823002
Cr-Commit-Position: refs/heads/master@{#308234}
Omnibox Watcher: Don't Flag Incidents that are Paste+Enter
The code currently excludes paste-and-go operations. It should probably
also exclude paste+enter operations; these are effectively equivalent.
TODO before submitting: test interactively
BUG=
[email protected]
Review URL: https://codereview.chromium.org/795343002
Cr-Commit-Position: refs/heads/master@{#308233}
Fix handling of free descriptors when calling dup2.
We previously were not properly expanding the free list when
dup2 results in growing the descriptor range.
Added of test of this.
BUG=None
TEST=Dup2Allocate
[email protected]
Review URL: https://codereview.chromium.org/795213003
Cr-Commit-Position: refs/heads/master@{#308232}
Fullscreen exit bubble is actually used to control both mouse lock and fullscreen. Addition of keyboard lock would make it the third behavior requiring some clean-up. This is part 1 of the refactor and contains just renames.
Also the difference from the original CL is that I have reverted rename of fullscreen_controller in lieu of doing it when I actually move the functionality and using exclusive_access_* instead of lock_exit.
BUG=166928
Review URL: https://codereview.chromium.org/789403002
Cr-Commit-Position: refs/heads/master@{#308231}
gn: More helpful default args file
BUG=441955
Review URL: https://codereview.chromium.org/805553002
Cr-Commit-Position: refs/heads/master@{#308230}
Move unlimitedStorage permission from //chrome to //extensions
APIPermission::kUnlimitedStorage is used in the storage implementation in
//extensions so the permission should live there.
This allows app_shell to load apps with unlimitedStorage in the manifest.
BUG=none
TEST=existing browser_tests
Review URL: https://codereview.chromium.org/805563002
Cr-Commit-Position: refs/heads/master@{#308229}
Reland: Update DisplayConfigurator to use the asynchronous tasks
Original review: https://codereview.chromium.org/801493002/
BUG=429746
TESTS=display_unittests with ASAN
[email protected]
Review URL: https://codereview.chromium.org/800143002
Cr-Commit-Position: refs/heads/master@{#308228}
Delete ffmpeg_unittests.
They've been supplanted by ffmpeg_regression_tests. They also crash
when you run them.
TBR=glider
Review URL: https://codereview.chromium.org/801993002
Cr-Commit-Position: refs/heads/master@{#308227}
Do not use HTTP/2 without adequate security.
Stop using HTTP/2 in case TLS 1.2 is not supported, connection has been
downgraded to below TLS 1.2, or AES-GCM cipher required by HTTP/2 draft
specification is not supported.
BUG=436835
Review URL: https://codereview.chromium.org/757033004
Cr-Commit-Position: refs/heads/master@{#308226}
Remove the webview API whitelist (just the GAIA component extension).
BUG=285151
[email protected]
Review URL: https://codereview.chromium.org/797303002
Cr-Commit-Position: refs/heads/master@{#308225}
Autofill: Modify various utility function to deal with unowned form fields.
BUG=428919
Review URL: https://codereview.chromium.org/804443002
Cr-Commit-Position: refs/heads/master@{#308224}
Roll src/third_party/WebKit 095dcae:1fdbfa4 (svn 187051:187060)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/095dcae..1fdbfa4
[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/788073005
Cr-Commit-Position: refs/heads/master@{#308223}
Instrument some of the exit paths likely to suffer hangs.
This is temporary instrumentation to try and narrow down the area
and mode where Chrome is (likely) hanging on logoff/restart.
[email protected],[email protected]
BUG=412384
Review URL: https://codereview.chromium.org/796963002
Cr-Commit-Position: refs/heads/master@{#308222}
Avoid scheduling a message loop that we know is not sleeping
When tasks are posted to a message loop, we may need to schedule the
message loop to wake up if it was sleeping so it processes the message.
The incoming task queue checks whether the incoming queue was already
empty as a way to avoid scheduling unnecessarily, but we can be more
precise. Once a message loop is scheduled, we know that it will sooner
or later wake up and enter its run loop. In its run loop it will
repeatedly drain the work queue and attempt to reload from the incoming
queue until there is no work immediately available to do. This means that
before waiting for more work the loop will always reload from an empty
incoming queue. Thus, once we schedule a loop we do not need to schedule
the same loop again until after an empty reload occurs.
This adds a bool to IncomingTaskQueue protected by the incoming task
queue lock that keeps track of if the loop has been scheduled since the
last empty reload.
Local testing on Linux desktop and a ChromeShell Android build shows
that this avoids roughly 40% of the ScheduleWork calls when browsing
around to random websites.
This also has the very nice consequence that when running a task and
posting another task to the same thread we *never* need to invoke
ScheduleWork which avoids the cost of the ScheduleWork call and avoids
a spurious wakeup when going to sleep.
BUG=412137
Review URL: https://codereview.chromium.org/614723003
Cr-Commit-Position: refs/heads/master@{#308221}
[Hotword] "Voice and Audio Activity" should be read "Voice & Audio Activity" to be consistent
and -> &
BUG=441480
Review URL: https://codereview.chromium.org/799123002
Cr-Commit-Position: refs/heads/master@{#308220}
Don't crash while detaching a pending child frame under --site-per-process.
Fixes a null pointer dereference in RenderFrameProxyHost::RenderFrameProxyHost,
when a RenderFrameProxyHost is created as a side effect of destroying the
FrameTreeNode and RenderFrameHostManager. The crash occurs because of the
operation below:
if (!frame_tree_node_->IsMainFrame() &&
frame_tree_node_->parent()
->render_manager()
->current_frame_host()
->GetSiteInstance() == site_instance) {
When a FrameTreeNode is being detached from the tree, it is not the main
frame (because it is not equal to the root), but it also does not have a
parent (because, for reasons explained in FrameTreeNode::RemoveChild, it
is trimmed from the tree before destruction). So the parent() call above
returns NULL, resulting in great misfortune.
Add a test that failed without the fix.
BUG=441357
Review URL: https://codereview.chromium.org/799593004
Cr-Commit-Position: refs/heads/master@{#308219}
Not counting nested loops as time spent in a task.
While in a nested loop, Chrome is not blocked, keeps updating the client area and is responding to user actions.
Subtracting the time in nested loops from the task in which it happens, so that we don't diagnose this task as a source of jank.
BUG=401560, 440919
Review URL: https://codereview.chromium.org/788883004
Cr-Commit-Position: refs/heads/master@{#308218}
Close renderer SharedBitmap file descriptors immediately after mapping
The file descriptors aren't needed anymore once the file is mapped, and we want to avoid running out.
BUG=364272,362048,434890,425766,412136,376441,436677
Review URL: https://codereview.chromium.org/799133003
Cr-Commit-Position: refs/heads/master@{#308217}
Call av_log_set_level() after loading ffmpegsumo.dll.
Doing so forces the library to load and triggers our FMA3-disabling
code.
BUG=440892
Review URL: https://codereview.chromium.org/797313003
Cr-Commit-Position: refs/heads/master@{#308216}
[chromedriver] Include extension popups in list of windows
BUG=
Review URL: https://codereview.chromium.org/802803002
Cr-Commit-Position: refs/heads/master@{#308215}
Possible fix for ExtensionFunctionDispatcher::DispatchWithCallbackInternal.
This is a possible fix for crashes observed in this function. The member
variable browser_context_ is possibly invalid because the object may
be freed by function->Run(). To avoid this we move the call to
ProcessManager::Get() to before where function->Run() is called.
BUG=441679
Review URL: https://codereview.chromium.org/798103002
Cr-Commit-Position: refs/heads/master@{#308214}
Disable subpixel positioning if DirectWrite isn't initialized
BUG=439572
Review URL: https://codereview.chromium.org/785763002
Cr-Commit-Position: refs/heads/master@{#308213}
Remove unused flags from chrome_switches.h.
[email protected]
BUG=none
Review URL: https://codereview.chromium.org/801983002
Cr-Commit-Position: refs/heads/master@{#308212}
IndexedDB: Cleanup to remove iterators and improve variable names
Some cleanup:
* Replaced iterator with range based for loop.
* Renamed a few parameters/local variables to improve clarity:
* ChromiumEnv::RestoreIfNecessary "result" param -> "dir_entries".
* "dir_filepath" -> "dir_path"
* ChromiumEnv::GetChildren "dir_string" -> "dir"
* Accepted some "git cl format" improvements.
Review URL: https://codereview.chromium.org/790913003
Cr-Commit-Position: refs/heads/master@{#308211}
Enable USB gadget tests on OS X.
This change fixes the USB device handle tests on OS X by claiming the
necessary interfaces before using them and using the right endpoint
numbers. It also enables the HID connection tests on OS X by creating
a MessageLoopForUI on the main thread (to mimic the usual configuration
in the Chrome browser process) and a separate thread running a
MessageLoopForIO.
Review URL: https://codereview.chromium.org/804643002
Cr-Commit-Position: refs/heads/master@{#308210}
Move chromeos::version_loader to src/chromeos/system
In favor of less things to have in chrome/browser/chromeos.
BUG=437719
TEST=everything builds as before
Review URL: https://codereview.chromium.org/799683003
Cr-Commit-Position: refs/heads/master@{#308209}
Add/update checks to diagnose the NPE issue
BUG=426292
Review URL: https://codereview.chromium.org/803693002
Cr-Commit-Position: refs/heads/master@{#308208}
Implement CryptAuthAccountTokenFetcher, which performs the fetching of the CryptAuth access token.
BUG=420316
Review URL: https://codereview.chromium.org/792193003
Cr-Commit-Position: refs/heads/master@{#308207}
Update cloud_print and chrome/service to use the new version of LaunchProcess.
BUG=417532
Review URL: https://codereview.chromium.org/785353003
Cr-Commit-Position: refs/heads/master@{#308206}
Update net to use the new version of LaunchProcess.
BUG=417532
[email protected]
Review URL: https://codereview.chromium.org/793463002
Cr-Commit-Position: refs/heads/master@{#308205}
ozone: Add initial build support for xkbcommon
This adds a use_xkbcommon variable that allows usage of libxkbcommon in
the build. Turn this on for linux ozone builds (except embedded builds).
BUG=430194
TEST=build
Review URL: https://codereview.chromium.org/751623003
Cr-Commit-Position: refs/heads/master@{#308204}
Update browser/service_process to use the new version of LaunchProcess.
BUG=417532
Review URL: https://codereview.chromium.org/785363002
Cr-Commit-Position: refs/heads/master@{#308203}
Roll tools/swarming_client/ to b10edf25ef55f950bba299ad0f3cd667279a2d13.
$ git log dbff01c15..b10edf25e --date=short --format='%ad %ae %s' | sed 's/@chromium\.org//'
2014-12-11 maruel Remove FileSystem; it's not used anymore even by tests.
2014-12-11 maruel Overhaul tests to stop using FileSystem in isolateserver.py.
2014-12-10 maruel Fix regression in 012067b422; exception bc 2 report_on_exception_exit() calls
2014-12-10 maruel Add coherent automatic https:// prefix to server flags.
2014-12-10 maruel Remove last remnant of support for --indir.
2014-12-09 maruel Get rid of tests/run_isolated/ and create a in-process isolate server mock.
2014-12-08 maruel Remove --isolated from run_isolated.py.
[email protected]
BUG=
Review URL: https://codereview.chromium.org/794903006
Cr-Commit-Position: refs/heads/master@{#308202}
Disable NetInternalsTest.netInternalsDataReductionProxyDisabled which is flaky on Linux
BUG=441757
[email protected]
NOTRY=true
Review URL: https://codereview.chromium.org/804573004
Cr-Commit-Position: refs/heads/master@{#308201}
Move sad tab upstream
BUG=441481
Review URL: https://codereview.chromium.org/801533002
Cr-Commit-Position: refs/heads/master@{#308200}
A private API for the cryptotoken component extension.
Allows the extension to display an infobar to collect explicit user consent
before registering a key.
BUG=426358
Review URL: https://codereview.chromium.org/766303003
Cr-Commit-Position: refs/heads/master@{#308199}
use picture->cullRect instead of (deprecated) width/height
BUG=
Review URL: https://codereview.chromium.org/797753003
Cr-Commit-Position: refs/heads/master@{#308198}
[Android] Work around pm path bug in L.
Dependent on https://codereview.chromium.org/787393003/
BUG=
Review URL: https://codereview.chromium.org/796503004
Cr-Commit-Position: refs/heads/master@{#308197}
downloads: prevent "Clear all" from removing in progress downloads.
[email protected]
BUG=440741
Review URL: https://codereview.chromium.org/795353002
Cr-Commit-Position: refs/heads/master@{#308196}
Revert of Update DisplayConfigurator to use the asynchronous tasks (patchset #4 id:60001 of https://codereview.chromium.org/801493002/)
Reason for revert:
seems to be causing problems in display_unittests on the following bot: https://build.chromium.org/p/chromium.memory/builders/Linux%20Chromium%20OS%20ASan%20LSan%20Tests%20%281%29/builds/5095
Original issue's description:
> Update DisplayConfigurator to use the asynchronous tasks
>
> Now DisplayConfigurator can take advantage of asynchronous configuration APIs.
> Note: For X11, NativeDisplayDelegate is still implemented via synchronous calls
> so all configurations will be synchronous on X11.
>
> Notable changes:
> 1) EnterState(), UpdateCachedDisplays() and FindMirrorMode() have been moved
> into the DisplayLayoutManager implementation.
> 2) NativeDisplayDelegate's initialization has been moved before grabbing the
> server. Shouldn't cause any issues since the server doesn't need to be grabbed
> when initializing NDD.
>
> BUG=429746
> TEST=display_unittests and manually on Link with X11
>
> Committed: https://crrev.com/7547705543d6b711a166e513a43a4e43f93fd254
> Cr-Commit-Position: refs/heads/master@{#308175}
[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=429746
Review URL: https://codereview.chromium.org/797383002
Cr-Commit-Position: refs/heads/master@{#308195}
[Hotword] Hotword and Audio History settings should reflect sync sign in
setting.
The functions for showing hotwording and showing the audio history state
now take into account the sign in state and correctly update when the
sign in state changes.
BUG=441419, 435637
Review URL: https://codereview.chromium.org/797763002
Cr-Commit-Position: refs/heads/master@{#308194}
Added gyp configs for new leveldb tests: fault_injection_test & recovery_test
These two tests are new with the latest leveldb DEPS roll.
Review URL: https://codereview.chromium.org/804473006
Cr-Commit-Position: refs/heads/master@{#308193}
Implement unlimitedStorage content capability
This turns on functional support for the unlimitedStorage
content_capabilities grant.
BUG=409272
[email protected]
Review URL: https://codereview.chromium.org/802593003
Cr-Commit-Position: refs/heads/master@{#308192}
Handle empty username_hash in ClientCertFilterChromeOS.
The Init() function did never call back if the username_hash was empty, because GetPrivateSlotForChromeOSUser would return a nullptr and InitIfSlotsAvailable returning consistently false.
Now the callback will be called once GetPrivateSlotForChromeOSUser returned.
This change is on purpose kept minimal to allow merging to M40.
BUG=434205
Review URL: https://codereview.chromium.org/802433002
Cr-Commit-Position: refs/heads/master@{#308191}
[Mac Extensions Toolbar] Make the container's animationEndFrame always valid
Previously, [BrowserActionsContainer animationEndFrame] only returned the
frame after animation once animation had occurred. Replace this with an always-
valid animationEndFrame method that returns the frame after animation, or the
current frame if the container is not animating.
Also, move the animation suppression for testing to the ToolbarActionsBar
so that it is platform-independent.
[email protected] (moving animation suppression flag)
BUG=435518
Review URL: https://codereview.chromium.org/795663003
Cr-Commit-Position: refs/heads/master@{#308190}
Fix bug where app name is wrong in all languages except English.
The "app_name" string needs to be defined in an Android resources XML file
instead of in android_chrome_strings.grd so the string isn't copied into
every language (which makes it impossible to override the string from a
single strings.xml file)
BUG=441424
Review URL: https://codereview.chromium.org/800953002
Cr-Commit-Position: refs/heads/master@{#308189}
Remove hardcoding of appurify address information.
Add AMP support to test runner.
BUG=428729
Review URL: https://codereview.chromium.org/803643002
Cr-Commit-Position: refs/heads/master@{#308188}
Use 0.2f opacity only when the shadow animation is applied.
The opacity stays 0.2f if the window is created and shown in inactive state because the opacity is set back to 1.0f only when the animation is applied. This CL uses 1.0f opacity as initial opacity and when transitioning from/to small shadow.
BUG=433574
TEST=manual test. See the bug for repro step.
Review URL: https://codereview.chromium.org/798673002
Cr-Commit-Position: refs/heads/master@{#308187}
adjust suppression for handle leak error from cc::ResourceProvider::CreateBitmap
[email protected]
BUG=441785
NOTRY=true
Review URL: https://codereview.chromium.org/787253004
Cr-Commit-Position: refs/heads/master@{#308186}
Update browser/media to use the new version of LaunchProcess.
BUG=417532
Review URL: https://codereview.chromium.org/789023002
Cr-Commit-Position: refs/heads/master@{#308185}
Add ExitFunnel class to browser_watcher, along with tests
and metrics reporting.
BUG=412384
Review URL: https://codereview.chromium.org/792163002
Cr-Commit-Position: refs/heads/master@{#308184}
Move chrome/browser/chromeos/geolocation to chromeos/geolocation
In favor of less things to have in chrome/browser/chromeos.
BUG=437691
TEST=everything builds as before
Review URL: https://codereview.chromium.org/786693002
Cr-Commit-Position: refs/heads/master@{#308183}
Misc. warning fixes/cleanup
BUG=81439
TEST=none
Review URL: https://codereview.chromium.org/777853003
Cr-Commit-Position: refs/heads/master@{#308182}
Experimental change: Remove DirectWrite 1750 font limit.
As things seem to have stabilized after Cache check-in. I want to see and experiment with removing this limit.
Modified Cache file version, so that it will be regenerated.
BUG=441477
R=scottmg,cpu
Review URL: https://codereview.chromium.org/796643004
Cr-Commit-Position: refs/heads/master@{#308181}
Reimplement EasyUnlock.StartupTimeFromSuspend metric.
The metric in the app was broken for a while now. We will fix the metric
natively so we don't have to deal with app lifetime issues.
BUG=433697
Review URL: https://codereview.chromium.org/799623003
Cr-Commit-Position: refs/heads/master@{#308180}
Roll src/third_party/WebKit 923676f:095dcae (svn 187041:187051)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/923676f..095dcae
[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/799883003
Cr-Commit-Position: refs/heads/master@{#308179}
events: x11: Use device path to detect internal keyboards
Use the device's path in the device tree rather than a device name
whitelist to determine if it is permanently attached. This is consistent
with the strategy we've been using for touchscreens.
This slightly changes the code to just remove non-keyboards from the
keyboard list, instead of overloading INPUT_DEVICE_UNKNOWN to mean it is
not a keyboard.
TEST=manual on chromeos build on ubuntu
BUG=437539
Review URL: https://codereview.chromium.org/798453002
Cr-Commit-Position: refs/heads/master@{#308178}
Roll src/third_party/skia a60b2ea:1629118
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/a60b2ea..1629118
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/801903002
Cr-Commit-Position: refs/heads/master@{#308177}
Add support for command line switches to Features, and as proof that it works,
use it for the experimental permission.
BUG=440194
[email protected]
Review URL: https://codereview.chromium.org/801603002
Cr-Commit-Position: refs/heads/master@{#308176}
Update DisplayConfigurator to use the asynchronous tasks
Now DisplayConfigurator can take advantage of asynchronous configuration APIs.
Note: For X11, NativeDisplayDelegate is still implemented via synchronous calls
so all configurations will be synchronous on X11.
Notable changes:
1) EnterState(), UpdateCachedDisplays() and FindMirrorMode() have been moved
into the DisplayLayoutManager implementation.
2) NativeDisplayDelegate's initialization has been moved before grabbing the
server. Shouldn't cause any issues since the server doesn't need to be grabbed
when initializing NDD.
BUG=429746
TEST=display_unittests and manually on Link with X11
Review URL: https://codereview.chromium.org/801493002
Cr-Commit-Position: refs/heads/master@{#308175}
cc: Mirror LiveTilesRect and tiles between active and recycled trees.
When the live tiles rect changes on the active tiling, we also remove
tiles on the recycled tiling to avoid unshared tiles in the recycle
tree. But when a tile is created on the active tree, we should also
share the tile to the recycle tree. Since we're creating tiles, we
also need to update the live tiles rect so tiles do not exist outside
of it. So now the live tiles rect is simply updated on both trees at
once.
This ensures that on the next commit, if the picture layer did not
get any invalidations, and doesn't push properties, it still has all
the tiles in its live tiles rect so we can do ready-to-activate checks
correctly.
Secondly, when activating, if any tiles were present on the pending
tree but are not on the active tree (can happen due to missing
recordings on the active tree), then share those tiles to the active
tree during activation.
This patch fixes DCHECKs occuring in PictureLayerTiling's
CloneTilesAndPropertiesFrom() where the pending and active tiling were
not ending up with the same number of tiles.
R=enne, vmpstr
BUG=387116
Review URL: https://codereview.chromium.org/799463005
Cr-Commit-Position: refs/heads/master@{#308174}
[Password Generation] Fix breakage that prevents filling of generated passwords
This bug was introduced in the move from RenderViewHost -> RenderFrameHost.
The Interactive UI test would have caught this, but was disabled for being
flaky. I'm actively working on fixing that test, but given the severity of the
problem it makes sense to check in the fix without waiting for the test to
be fixed.
BUG=440257
Review URL: https://codereview.chromium.org/790783003
Cr-Commit-Position: refs/heads/master@{#308173}
NaCl cleanup: Remove assignment to g_is_main_thread
The variable g_is_main_thread is only read from dead code in
irt_manifest.c in the NaCl repo. It is read from the old SRPC-based
implementation of open_resource(), which isn't accessible because it's
overridden by the Chromium side's implementation of open_resource().
Removing this assignment will allow us to remove irt_manifest.c, which
defines g_is_main_thread.
BUG=https://code.google.com/p/nativeclient/issues/detail?id=3864
TEST=trybots
Review URL: https://codereview.chromium.org/799023003
Cr-Commit-Position: refs/heads/master@{#308172}
This CL introduce DeclarativeUserScriptManager to manager a set of DeclarativeUserScriptMaster objects which were stored in the ExtensionSystemImpl.
With this refactor, it allows the DeclarativeUserScriptManager to take care of the creations of DeclarativeUserScriptMaster objects:
1) It enable the DeclarativeUserScriptManager accept all kinds of input keys and convert them as a uniform format;
2) The manager will assign a unique ID to the consumer who requests a DeclarativeUserScriptMaster object.The consumer can use this ID to do script injection.
(The above two steps will be implemented in another CLs)
This refactor is a part of issue "support DeclarativeContent script injection on <webview>", please refer to a design doc(https://goto.google.com/introduceidforscriptinjection).
BUG=437566
Review URL: https://codereview.chromium.org/796453003
Cr-Commit-Position: refs/heads/master@{#308171}
Decision whenever "Allow to collect URL?" bubble should be shown or not is made based on Finch experiment.
If user belongs to group for which bubble should be shown, then
we calculate a time span when bubble should appear, if it's current span, when we show bubble and saving in settings information that bubble was shown, so we'll never show bubble again. If it's not current time span when we do not show bubble this time.
BUG=435080
[email protected]
Review URL: https://codereview.chromium.org/789613004
Cr-Commit-Position: refs/heads/master@{#308170}
Remove unused exception types from WebCrypto. (Chromium-side)
BUG=441485
Review URL: https://codereview.chromium.org/795263002
Cr-Commit-Position: refs/heads/master@{#308169}
Fix segfault when unplugging captured external display
When unplugging an external display the WindowTreeHost is destroyed, destroying
the window and stopping the capture. However the compositor is destroyed before
the window in the WindowTreeHost destructor.
This change add an extra check that the compositor is valid before dereferencing.
BUG=441747
TEST=on link_freon unplugging external display does not result in crash when
running desktopCapture example against the external display
Review URL: https://codereview.chromium.org/801823002
Cr-Commit-Position: refs/heads/master@{#308168}
Partially reapply "Isolate remaining tests under ui/"
The initial commit was in 42f9c67b74. The difference is:
- Left out testing/buildbot/chromium.win.json since it caused
http://crbug.com/441690 and more investigation is needed.
[email protected]
[email protected]
BUG=98637
Review URL: https://codereview.chromium.org/797483004
Cr-Commit-Position: refs/heads/master@{#308167}
Add a glBegin/End pair to make glBindFramebuffer work
It appears that this fixes the issue where rendered contents wouldn't
appear on the screen. I say "it appears" because this bug is very
difficult to repro, and so I can never say it's actually gone, just
that I wasn't able to make it happen anymore.
I can come up with a line of reasoning that the glBegin/End causes
the driver to go and validate its internal state. Perhaps sometimes the
dirty bit for the FBO is missed (and doing the glBegin/End immediately
after changing the FBO ensure it's picked up). Ultimately it is just a
guess.
This workaround was discovered by accident through the following
sequence of steps when debugging:
1. Draw a triangle to the CAOpenGLLayer after drawing the texture, to
ensure that we are actually getting draw calls
- This appeared and kept updating even when the texture stopped
updating
2. Draw a triangle to the FBO's texture from the CAOpenGLLayer's
context, to make sure changes to the texture would go through
- This appeared and kept updating even when the textures topped
updating (so it's probably a problem with the command buffer
context).
3. Draw a triangle to the FBO's texture from the command buffer's
context just before glSwapBuffers
- This triangle never appeared, so I tried the next experiment.
4. Draw a triangle to the FBO's texture right after it is bound using
glBindFramebufferEXT
- Suddenly the bug went away (and I never saw the triangle, because
it was drawn over).
5. Just do a glBegin/End with program 0, since we found this was enough to
work around driver bugs in the past.
- Still couldn't repro the bug with this.
BUG=435786
Review URL: https://codereview.chromium.org/797533002
Cr-Commit-Position: refs/heads/master@{#308166}
Remove unneded memory_pressure benchmark and measurement. (Take 2)
BUG=440101
Review URL: https://codereview.chromium.org/798773002
Cr-Commit-Position: refs/heads/master@{#308165}
Add access to read-only properties
This CL adds efficient access to read-only properties of a device.
The properties thus accessible are:
- build_description
- build_fingerprint
- build_id
- build_product
- build_type
- build_version_sdk (returns a number)
- product_cpu_abi
- product_model
- product_name
These properties are required to eliminate the need of some accesses to
android_commands through device.old_interface.
Other properties can still be accessed (and cached if requested), using
DeviceUtils.GetProp.
BUG=267773
Review URL: https://codereview.chromium.org/787393003
Cr-Commit-Position: refs/heads/master@{#308164}
Ozone: Temporarily remove DCHECK in BufferFactory.
https://codereview.chromium.org/795053006/ added support for
EGLClientBuffer to work around dma_buf issues and also we
have support to export the buffer to dma_buf handle. This
conflicts with the DCHECK in bufferfactory.
BUG=434115
Review URL: https://codereview.chromium.org/800063003
Cr-Commit-Position: refs/heads/master@{#308163}
Android: Allow sandboxed utility process
DCHECK() that it was not launched with DisableSandbox().
The utility process is used for sandboxed image decoding
(and probably only that) on Android.
BUG=396568
NOTRY=True
Review URL: https://codereview.chromium.org/800993003
Cr-Commit-Position: refs/heads/master@{#308162}
Chromecast: adds date/time to version string for local builds.
[email protected],[email protected]
BUG=None
Review URL: https://codereview.chromium.org/801593003
Cr-Commit-Position: refs/heads/master@{#308161}
Remember user's decisions on SSL errors.
After CL: https://codereview.chromium.org/369703002, Android
WebView just has a NULL SSLHostStateDelegate. So it does not remember
any user decisions on SSL errors. This is a regression of behavior from
L (m37).
History:
JB behavior: Larger error codes are assumed to have higher severity. And
if the user has allowed an SSL error with a high severity, the user
won't be prompted for a lower severity SSL error.
K and L behavior: A specific SSL error will be allowed only if the error
bit field is a subset of previously allowed error codes.
trunk behavior for webview (without this patch): We don't remember
user's decision at all.
This CL:
Maintain the same behavior with K and L.
BUG=441065
Review URL: https://codereview.chromium.org/794023002
Cr-Commit-Position: refs/heads/master@{#308160}
Fill on account select in the password manager behind a flag
This implements, behind a flag, fill on account select in the password
manager. When the --enable-fill-on-account-select flag is used (or set
in chrome://flags), instead of autofilling on page load, the password
manager will mark fields as "autofilled" that it believes it can
appropriately autofill, but it will wait until the user has selected
those fields manually and chooses the appropriate account before filling
them in.
There are two main advantages to this approach. The first is that it
raises the bar for attackers with XSS's to sites in harvesting
passwords. These attackers will not be able to rely on a mere user
gesture before the field is filled; the user now must explicitly choose
the account before it fills. Secondly, it has the possibility of
improving the browsing experience on sites where the password manager
fails to fill correctly, as it won't actually fill until the user
chooses to do so, so if it tries to fill a wrong field, they user will
simply not choose an account.
The most basic part of this CL is quite straightforward in that if the flag is
enabled, it simply stops, marks the fields as autofilled, and does not actually
fill the fields with the credentials. However, there is a more complicated
corner case: forms where the username is not editable, but the password field
is, such as google.com/accounts after a user has logged in once. For these
cases, it was necessary to add additional logic so that the *password* field
can be clicked and the credentials can be selected. This requires a new IPC and
some new autofill plumbing to change the dropdown menu, which was added in a
previous CL, while this CL sets the appropriate option in the IPC.
BUG=410963
Review URL: https://codereview.chromium.org/773573004
Cr-Commit-Position: refs/heads/master@{#308159}
PPAPI: Add a warning when URLRequest.SetProperty fails
BUG=440079
R=teravest
Review URL: https://codereview.chromium.org/798043003
Cr-Commit-Position: refs/heads/master@{#308158}
Safebrowsing download protection: handle data URIs
BUG=440572
Review URL: https://codereview.chromium.org/792283002
Cr-Commit-Position: refs/heads/master@{#308157}
Make chrome://salsa more like other WebUI code.
[email protected]
BUG=none
TEST=easier to scan code
Review URL: https://codereview.chromium.org/786933007
Cr-Commit-Position: refs/heads/master@{#308156}
Call CloseClipboard() with anonymous access token.
Windows API makes it possible to impersonate access token of the last
process that called CloseClipboard(). Chromoting calls it from a system
process, so it has to impersonate anonymous token before calling
CloseClipboard().
BUG=441834
Review URL: https://codereview.chromium.org/798943003
Cr-Commit-Position: refs/heads/master@{#308155}
Rename old Aura TouchSelectionController
Renamed old Aura TouchSelectionController in ui/base to
TouchEditingControllerDeprecated and also the corresponding factory
class to TouchEditingControllerFactory. In addition to preventing name
conflict with the new unified TouchSelectionController, the names match
better with the file name (touch_editing_controller).
BUG=399721
Review URL: https://codereview.chromium.org/798683003
Cr-Commit-Position: refs/heads/master@{#308154}
Paper over a crash.
This quick fix is designed to make trunk more stable and to be easy to apply and revert as needed.
BUG=438951
[email protected]
Review URL: https://codereview.chromium.org/788323003
Cr-Commit-Position: refs/heads/master@{#308153}
Revert of "Call the Close() event on a Notification when it's being replaced."
This patch unintentionally also changed behavior of the Chrome Apps
Notification API. Revert for now, and figure out whether we should
actually want this.
BUG=366098, 440256
Review URL: https://codereview.chromium.org/802753002
Cr-Commit-Position: refs/heads/master@{#308152}
ozone: evdev: Add property to identify internal or external deviecs
For all event devices, we'll use the device path to find out if it's
permanently attached. Expose this property on EventConverterEvdev and
use it when populating DeviceDataManager.
TEST=chrome on link_freon & rush_ryu
BUG=437539
Review URL: https://codereview.chromium.org/790153005
Cr-Commit-Position: refs/heads/master@{#308151}
Roll src/third_party/WebKit 293e0e5:923676f (svn 187036:187041)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/293e0e5..923676f
[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/804603002
Cr-Commit-Position: refs/heads/master@{#308150}
ozone: dri: Remove distinction between root_location and location
Aura expects these to be the same, so just use location() everywhere.
This shouldn't affect anything because although we were passing along
screen location inside root_location(), Event::UpdateForRootTransform
sets it back to the transformed location(). So no code actually saw our
screen location.
BUG=none
TEST=unit tests, manual on link_freon with 2 monitors
Review URL: https://codereview.chromium.org/766833003
Cr-Commit-Position: refs/heads/master@{#308149}
ozone: Use host coordinates in UIControlsOzone
We're dispatching to WindowTreeHost in the wrong space. Looks like the
transform is generally identity in tests, but let's still make sure to
use the right space.
BUG=none
TEST=interactive_ui_tests in chromeos ozone build
Review URL: https://codereview.chromium.org/774043002
Cr-Commit-Position: refs/heads/master@{#308148}
Upstream save passwords and search engine preferences.
BUG=428869
Review URL: https://codereview.chromium.org/797903002
Cr-Commit-Position: refs/heads/master@{#308147}
Add Sync.Attachments.DownloadTotalTime.
Track the total time a download takes, including network and server
overhead.
BUG=436134
Review URL: https://codereview.chromium.org/796953002
Cr-Commit-Position: refs/heads/master@{#308146}
Add an event time parameter to didStartProvisionalLoad callbacks
This removes the only caller of WebDataSource::triggeringEventTime(),
which is transient data we probably shouldn't be stashing on a long-lived class anyway.
BUG=
Review URL: https://codereview.chromium.org/799643003
Cr-Commit-Position: refs/heads/master@{#308145}
net: remove eldietista.es from HSTS list by request of owner.
Cr-Commit-Position: refs/heads/master@{#308144}
ozone: mouse button swap shouldn't affect touchpad physical click
The CL fixes the problem where the touchpad physical clicks become
right clicks when the mouse primary button is swapped.
Contributed by [email protected]
BUG=440932
TEST=link_freon ChromeOS build
Review URL: https://codereview.chromium.org/796803002
Cr-Commit-Position: refs/heads/master@{#308143}
Un-refcount SSLClientAuthHandler.
That class doesn't really need to be ref-counted externally. There is one
catch: the caller is responsible for ensuring ClientCertStore is alive for the
duration of its async operation.
Resolve this by detaching it into a ref-counted Core internal to
SSLClientAuthHandler. Add a test to test this case.
Also make ContentBrowserClient's default client auth hook always select no
certificate so content_shell doesn't hang.
This relands the rest of https://codereview.chromium.org/596873002
BUG=439134
Review URL: https://codereview.chromium.org/795773002
Cr-Commit-Position: refs/heads/master@{#308142}
Remove memcpy from SSLClientSocket::SerializeNextProtos.
Review URL: https://codereview.chromium.org/798603002
Cr-Commit-Position: refs/heads/master@{#308141}
Roll ANGLE 165456..797ff4c.
https://chromium.googlesource.com/angle/angle/+log/16545669136028420f67..797ff4c0ecf1b4950f694817
BUG=440701
Review URL: https://codereview.chromium.org/802693002
Cr-Commit-Position: refs/heads/master@{#308140}
Add AMP support to test runner.
BUG=
Review URL: https://codereview.chromium.org/745793002
Cr-Commit-Position: refs/heads/master@{#308139}
Disable NetInternalsTest.netInternalsDataReductionProxyEnabled which is flaky on Linux
BUG=441757
[email protected]
NOTRY=true
Review URL: https://codereview.chromium.org/798073002
Cr-Commit-Position: refs/heads/master@{#308138}
Fix remaining WeakPtrFactory ordering problems in preparation for turning on the check.
WeakPtrFactory members should always be last so that they invalidate WeakPtrs prior to other destructors running. These are mostly trivial/mechanical ones.
(We'll also need https://codereview.chromium.org/795003003/, which I split out)
BUG=303818
TBR=rockot,vitalybuka,cbentzel,shess,dmazzoni,stanisc,sky,tim,mathp,benjhayden,kinuko,scottmg,sergeyu,zork,ddorwin
Review URL: https://codereview.chromium.org/780713002
Cr-Commit-Position: refs/heads/master@{#308137}
Tracing: make filtering logic more intuitive for multiple categories
This changes the way category filter processes multi-categories groups.
Previously, adding a disabled-by-default- category to a regular category
would prevent the event from matching filter if only regular category
is enabled. This is somewhat counter-intuitive, the expected behavior
is that each category is processed by the filter independently. The new
logic is:
1. if at least one category in event category group matches at
least one category enabled in the filter, the event passes;
2. if at least one category in event category group matches at least
one category explicitly excluded in the filter, the event is
filtered out;
3. the event is passed by default, if included categories list is empty
and event has at least one category that is not disabled-by-default-.
Note no existing tests were modified (though I'm not sure if (2) should
be the way it is).
BUG=
Review URL: https://codereview.chromium.org/788243003
Cr-Commit-Position: refs/heads/master@{#308136}
Push API: Return cached registration if available.
This is the implementation for the following steps of the register
algorithm[1]:
'If the webapp is already registered, run the following substeps:
1. Retrieve the push registration associated with the webapp.
2. If there is an error, reject promise with a DOMException whose
name is "AbortError" and terminate these steps.
3. When the request has been completed, resolve promise with a
PushRegistration providing the details of the retrieved push
registration.'
Currently the implementation assumes that errors can be recovered from
and attempts to do a fresh push registration if accessing storage
fails; I left a TODO for us to decide this case later.
Depends on https://codereview.chromium.org/785983002
[1]: https://w3c.github.io/push-api/#widl-PushRegistrationManager-register-Promise-PushRegistration
BUG=401422,429212
Review URL: https://codereview.chromium.org/778243002
Cr-Commit-Position: refs/heads/master@{#308135}
Move serving_dirs to UserStorySet, delete Page.archive_path (instead using PageSet.WprFilePathForUserStory).
Update user_story_runner to no longer gate archive-specific logic with instanceof PageSet check.
BUG=439512
Review URL: https://codereview.chromium.org/725133005
Cr-Commit-Position: refs/heads/master@{#308134}
Add dpranke, scottmg as owners for GN-related files in src/build.
Also, remove the 'set noparent'; that was probably useful when
build/OWNERS had a wildcard, but it doesn't any more.
[email protected]
BUG=
Review URL: https://codereview.chromium.org/793083002
Cr-Commit-Position: refs/heads/master@{#308133}
Removing HistoryService::profile() method
As per review comments on the issue
https://codereview.chromium.org/573553004/#msg3
removing HistoryService::profile() method.
BUG=430070
Review URL: https://codereview.chromium.org/783963003
Cr-Commit-Position: refs/heads/master@{#308132}
chromeos: Add separate screen dim/off delays for lock screen
Add power.lock_screen_dim_delay_ms and
power.lock_screen_off_delay_ms prefs that provide alternate
screen-dim and screen-off inactivity delays that are honored
while the screen is locked. They currently default to 30 and
40 seconds, respectively.
BUG=190499
Review URL: https://codereview.chromium.org/793973002
Cr-Commit-Position: refs/heads/master@{#308131}
Roll src/third_party/skia 0ac8c78:a60b2ea
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/0ac8c78..a60b2ea
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/798993002
Cr-Commit-Position: refs/heads/master@{#308130}
Remove mods-since-v0_4_0.diff from third_party/libjingle
The patch was useful only when we had forked version of libjingle
checked in in chromium, which hasn't been the case for very long
time.
[email protected]
Review URL: https://codereview.chromium.org/794643002
Cr-Commit-Position: refs/heads/master@{#308129}
Report PasswordManager.OsPasswordStatus on a background thread with a delay.
The histogram was revived in https://codereview.chromium.org/772413004/ but caused jankiness on the UI thread.
BUG=441428
Review URL: https://codereview.chromium.org/800723004
Cr-Commit-Position: refs/heads/master@{#308128}
cc:Use float literals for float values in PictureLayerTiling tests.
R=enne, vmpstr
Review URL: https://codereview.chromium.org/785273004
Cr-Commit-Position: refs/heads/master@{#308127}
Upstream iOS SuggestionsServiceFactory
Introduce iOS-specific implementation of SuggestionsServiceFactory
and an implementation of suggestions::ImageFetcher interface that
uses image_fetcher::ImageFetcher.
BUG=436897
Review URL: https://codereview.chromium.org/790773003
Cr-Commit-Position: refs/heads/master@{#308126}
Remove native_client_sdk from the PNG presubmit check
The native_client_sdk directory contains auto-generated documentation that
includes PNGs that are flagged by the presubmit check. These PNGs are not used
by Chrome, so they should be ignored by the check.
BUG=150046
[email protected]
Review URL: https://codereview.chromium.org/802463002
Cr-Commit-Position: refs/heads/master@{#308125}
Adding phoglund as shepherd for WebRTC browser tests.
This is just a suggestion to reduce tommi's rubberstamping load.
[email protected]
BUG=None
Review URL: https://codereview.chromium.org/792433003
Cr-Commit-Position: refs/heads/master@{#308124}
Adding configuration protos. We probably want to handle most of these eventually, and some of them (i.e. token length) pretty soon. Adding them now will make it easier later.
Review URL: https://codereview.chromium.org/799793002
Cr-Commit-Position: refs/heads/master@{#308123}
Android: Remove some extra CHECKs()
These were only temporarily needed for root-causing some bot
flakiness.
BUG=396568
[email protected]
NOTRY=True
Review URL: https://codereview.chromium.org/796163003
Cr-Commit-Position: refs/heads/master@{#308122}
aw: Roll aosp glue layer
Includes change to remove TraceEvent.begin()/end() calls.
BUG=439118
Review URL: https://codereview.chromium.org/792793004
Cr-Commit-Position: refs/heads/master@{#308121}
Roll src/third_party/WebKit f405722d:293e0e5 (svn 187027:187036)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/f405722d..293e0e5
[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/799913003
Cr-Commit-Position: refs/heads/master@{#308120}
Add OWNERS for provider and consumer
Add sdefresne & stuartmorgan to OWNERS of
- //ios/consumer
- //ios/provider
- //ios/public/consumer
- //ios/public/producer
BUG=429756
Review URL: https://codereview.chromium.org/796843003
Cr-Commit-Position: refs/heads/master@{#308119}
Revert of Fix crash when we don't have a plane to display (patchset #2 id:20001 of https://codereview.chromium.org/779173007/)
Reason for revert:
Broke Linux ChromiumOS Ozone.
http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Ozone%20Builder/builds/8423
GetPrimaryPlane was changed to return a pointer, but a callsite was
not modified.
Original issue's description:
> Fix crash when we don't have a plane to display
>
> BUG=434115,438835
>
> Committed: https://crrev.com/208e6bf151685abc68ac836db5afb3543d8a1e92
> Cr-Commit-Position: refs/heads/master@{#308105}
[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=434115,438835
Review URL: https://codereview.chromium.org/800053002
Cr-Commit-Position: refs/heads/master@{#308118}
Add support for child accounts on Android.
BUG=440405
Review URL: https://codereview.chromium.org/789853002
Cr-Commit-Position: refs/heads/master@{#308117}
Upstream image_fetcher::ImageFetcher
This class is a wrapper around net::URLFetcherDelegate that is designed
specifically to fetch images. It will transcode WebP encoded images.
BUG=436897, 441327
Review URL: https://codereview.chromium.org/787903003
Cr-Commit-Position: refs/heads/master@{#308116}
Add SOURCE_TEST.
See https://groups.google.com/a/chromium.org/forum/#!searchin/chromium-dev/AppLaunchParams/chromium-dev/uPckpeYSlNA/bwfwZAtbEEkJ
for a discussion of what I'm trying to do, and https://codereview.chromium.org/771003002 for more context of how I'm going to use
this to achieve it.
Review URL: https://codereview.chromium.org/757433004
Cr-Commit-Position: refs/heads/master@{#308115}
Upstream WeakNSObject in //base/ios
Review URL: https://codereview.chromium.org/792443004
Cr-Commit-Position: refs/heads/master@{#308114}
Fix a crash on clicking "Load unpacked extension" multiple times
SelectFile() is getting called more than once for the same window
and causing NOTREACHED() failure on linux, since it tries to re-add
the observer.
To fix the failure, this patch adds a check that does an early-return
if the select file dialog is currently being shown to the specified
window.
BUG=432783
Review URL: https://codereview.chromium.org/772983002
Cr-Commit-Position: refs/heads/master@{#308113}
MacViews: Implement event monitoring for a specific window (Reland)
ManagePasswordBubbleView wants to monitor events on a specific window,
currently using aura specific code that won't work for MacViews.
views::EventMonitor is enhanced to support monitoring events on a window,
with both Mac and Aura implementations.
Also includes minor compile fixes in ZoomBubbleView and StatusBubbleView.
Originally reviewed in https://crrev.com/730833006/
BUG=425229
Review URL: https://codereview.chromium.org/793003004
Cr-Commit-Position: refs/heads/master@{#308112}
Remove a renderer -> browser roundtrip for resolving the showNotification promise.
We always confirm, so we may as well remove the roundtrip together.
BUG=432527
Review URL: https://codereview.chromium.org/803523002
Cr-Commit-Position: refs/heads/master@{#308111}
WebCrypto: Implement crypto.subtle.deriveKey (chromium-side).
BUG=437577
Review URL: https://codereview.chromium.org/749183004
Cr-Commit-Position: refs/heads/master@{#308110}
Generalizing conditional compilation logic for systems with native utf8 locale.
This change was needed for Chromecast, while avoiding adding yet another
preprocessor condition.
BUG=438331
Review URL: https://codereview.chromium.org/790903003
Cr-Commit-Position: refs/heads/master@{#308109}
Instrumenting URLRequestJob::Read to find jank.
Prior instrumentations showed that most of jank (13.3) comes from URLRequestJob::Read.
BUG=423948
Review URL: https://codereview.chromium.org/790723004
Cr-Commit-Position: refs/heads/master@{#308108}
String for warning if only child accounts are present on Supervised account creation.
BUG=435064
Review URL: https://codereview.chromium.org/743123002
Cr-Commit-Position: refs/heads/master@{#308107}
Remove kInstantProcess from renderer ContentSettingsObserver
The kInstantProcess flag was used to check if the current frame belongs to instant and should be whitelisted. This would cause layering troubles once ContentSettingsObserver is componentised.
Instead, this CL moves the check back to the construction of the observer, in ChromeContentRendererClient, and only records the Boolean flag for whitelisting in the observer.
BUG=384874
Review URL: https://codereview.chromium.org/797993002
Cr-Commit-Position: refs/heads/master@{#308106}
Fix crash when we don't have a plane to display
BUG=434115,438835
Review URL: https://codereview.chromium.org/779173007
Cr-Commit-Position: refs/heads/master@{#308105}
Revert of suppress svg test until next blink roll (patchset #1 id:1 of https://codereview.chromium.org/801853002/)
Reason for revert:
blink roll has landed, so this is unneeded
Original issue's description:
> suppress svg test until next blink roll
>
> BUG=
> NOTRY=True
>
> Committed: https://crrev.com/85f7f361478f35bad79e180b69711e6923f886bd
> Cr-Commit-Position: refs/heads/master@{#308093}
[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=
Review URL: https://codereview.chromium.org/798873003
Cr-Commit-Position: refs/heads/master@{#308104}
Roll src/third_party/WebKit 8e6fc6d:f405722d (svn 187007:187027)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/8e6fc6d..f405722d
[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/795353007
Cr-Commit-Position: refs/heads/master@{#308103}
Whiltelist the remoting viewer for the Chromoting extension
Extensions that ship with plugins may use them. Since the viewer is a
builtin plugin, it doesn't get whitelisted by the usual mechanism.
Explicitly whiltelist it.
BUG=409813
[email protected]
Review URL: https://codereview.chromium.org/794903005
Cr-Commit-Position: refs/heads/master@{#308102}
suppress handle leaks from cc.dll!cc::ResourceProvider::CreateBitmap
BUG=441785
[email protected]
NOTRY=true
Review URL: https://codereview.chromium.org/800923003
Cr-Commit-Position: refs/heads/master@{#308101}
Refactor ProtectedMediaIdentifierPermissionContext to derive from PermissionContextBase.
Refactoring of ProtectedMediaIdentifierPermissionContext to derive from
PermissionContextBase class to conform with other APIs like geolocation
and midi. This has the advantage of less code and a consistent path for
all permissions. Also it makes it easier to implement PermissionService
because some functionality like HasPermission() can be implemented at
the level of PermissionContextBase.
Also add the corresponding UMA bits in histograms.xml and
permission_context_uma_util.cc.
BUG=
Review URL: https://codereview.chromium.org/769103002
Cr-Commit-Position: refs/heads/master@{#308100}
Check that all symbolized methods in the output orderfile are in their own linker section in the original object files.
BUG=440018
Review URL: https://codereview.chromium.org/796423003
Cr-Commit-Position: refs/heads/master@{#308099}
Add SSLClientSocket::SerializeNextProtos unittest.
BUG=
Review URL: https://codereview.chromium.org/801803002
Cr-Commit-Position: refs/heads/master@{#308098}
Instrumenting Predictor::StartSomeQueuedResolutions and ProfileIOData::Init to find jank.
Prior instrumentations showed:
StartSomeQueuedResolutions: 9 jph
ProfileIOData::Init: 4.4
BUG=436671
Review URL: https://codereview.chromium.org/796213002
Cr-Commit-Position: refs/heads/master@{#308097}
Instrumenting IOComplete internals to find jank.
Instrumenting IOComplete internals to find jank.
From prior instrumentations, the jank turned to be in
QuicStreamFactory::Job::OnIOComplete - 26 jps
and
TransportConnectJobHelper::OnIOComplete - 7 jph
Instrumentation of the callback of QuicStreamFactory::Job::OnIOComplete is covered by CL https://codereview.chromium.org/789483004/.
This CL instruments the rest.
BUG=436634
Review URL: https://codereview.chromium.org/792233002
Cr-Commit-Position: refs/heads/master@{#308096}
views: Cleanup some things in DetachableToolbarView class.
* Remove unused methods.
* Move SkColor constants into BookmarkBarView (solo user).
BUG=None
[email protected]
Review URL: https://codereview.chromium.org/795353003
Cr-Commit-Position: refs/heads/master@{#308095}
Move ZoomController out of ChromeWebViewGuestDelegate.
This CL moves the ZoomController code for WebView out of
ChromeWebViewGuestDelegate and into GuestViewBase and WebViewGuest. This
will allow non-chrome builds to access the WebView zoom api.
BUG=none
Review URL: https://codereview.chromium.org/787813004
Cr-Commit-Position: refs/heads/master@{#308094}
suppress svg test until next blink roll
BUG=
NOTRY=True
Review URL: https://codereview.chromium.org/801853002
Cr-Commit-Position: refs/heads/master@{#308093}
Remove exceptions for third_party/libc++/trunk/include/support/solaris and
third_party/libc++/trunk/src/support/solaris/xlocale.c from the license checker.
BUG=329819
[email protected]
NOTRY=true
Review URL: https://codereview.chromium.org/764113004
Cr-Commit-Position: refs/heads/master@{#308092}
NaCl: Update revision in DEPS, r14178 -> r14201
This pulls in the following Native Client changes:
r14179: (kschimpf) PNaCl: Update LLVM revision in pnacl/COMPONENT_REVISIONS
r14180: (ncbray) GN: fix layering of library dependencies.
r14181: (shyamsundarr) enable all nonspecial avx1 instructions.
r14183: (dschuff) PNaCl: Update LLVM revision in pnacl/COMPONENT_REVISIONS
r14184: (dschuff) Use an architecture-specific newlib build for nacl-clang
r14185: (dschuff) Make libc.a a linker script for nacl-clang
r14186: (jvoung) Don't use pnacl raw toolchain in llvm nightly and libcxx tests.
r14187: (hamaji) Non-SFI Mode: Build PIE nonsfi_loader
r14188: (dschuff) Update revision for PNaCl r14173->r14185
r14189: (dschuff) PNaCl: Update Clang revision in pnacl/COMPONENT_REVISIONS
r14190: (jvoung) Remove a few locale-related "known failures" from libcxx list.
r14191: (dyen) NaCl Core SDK libs for both x86-32/x86-64 x86 newlib/glibc toolchains.
r14192: (sbc) Update glibc version in tools/REVISIONS (f78e18e->1106743)
r14193: (dyen) Fixed package_version reusing work dirs between revision packages.
r14194: (ncbray) Roll GCC toolchains.
r14195: (hidehiko) Non-SFI mode: Override NACL_BUILD_ARCH and _SUBARCH in build_nexe.py.
r14196: (dschuff) Remove cygwin support from buildbot_pnacl_toolchain.py
r14197: (jvoung) PNaCl: Update LLVM revision in pnacl/COMPONENT_REVISIONS
r14198: (sbc) ncval_new: on success don't produce any output by default.
r14200: (ncbray) GN: do not assemble toolchain in output directory.
r14201: (grt) Stop closing thread handles owned by the Win32 debugging API.
BUG=none
TEST=browser_tests and nacl_integration
CQ_EXTRA_TRYBOTS=tryserver.chromium.linux:linux_rel_precise32,linux_arm_compile,linux_nacl_sdk
Review URL: https://codereview.chromium.org/793383003
Cr-Commit-Position: refs/heads/master@{#308091}
Fix WeakPtrFactory member ordering in device
Changing in the intialization order of WeakPtrFactory such that all
member variables should appear before the WeakPtrFactory to ensure
that any WeakPtrs to Controller are invalidated before its members
variable's destructors are executed, rendering them invalid.
BUG=303818
Review URL: https://codereview.chromium.org/791743006
Cr-Commit-Position: refs/heads/master@{#308090}
Update V8 to version 3.31.56 (based on 0d8fb5dc0b2335f01b310152cbc63119bd36d395).
[email protected]
Review URL: https://codereview.chromium.org/796413003
Cr-Commit-Position: refs/heads/master@{#308089}
Set OS X widget bitmaps immutable, and while we're here use setMatrix().
I've been playing around with a build of Chrome that asserts all bitmaps
recorded into pictures are immutable. Most are, but this one popped out
on sites that use native widgets (checkboxes, text fields, etc.).
While we're here, we can just call SkCanvas::setMatrix() instead of
concating the matrix with its inverse. That works fine with SkPicture now.
BUG=
Review URL: https://codereview.chromium.org/801553002
Cr-Commit-Position: refs/heads/master@{#308088}
Check that V8 snapshot files exist before including them in the installer.
BUG=441258
Review URL: https://codereview.chromium.org/790233003
Cr-Commit-Position: refs/heads/master@{#308087}
Updates manifest files to use the new nl_data.js in input tool
BUG=NONE
TEST=
Note: this test step depends on xkb extension update first. It should be soon available in canary channel.
1. In chrome://settings/languages page, add "Dutch"
2. Check if you see two IMES available for this language(netherland and belgian)
3. enable the two imes and switch to them (assume netherland first)
4. verify the default virtual keyboard is a compact qwerty keyboard and can
switch to us-intl full layout
4. switch to belgian keyboard, verify it is azerty full keyboard and no compact
layout for it
Review URL: https://codereview.chromium.org/794453002
Cr-Commit-Position: refs/heads/master@{#308086}
Fix for DiskCacheBackendTest.SimpleCacheOpenBadFile spurious failures
The test sometimes fails on windows, because entry file is not yet
closed when the test tries to write into it.
Review URL: https://codereview.chromium.org/783473002
Cr-Commit-Position: refs/heads/master@{#308085}
[DevTools] Fix DevToolsManagerTest.TestObserver
BUG=440120
Review URL: https://codereview.chromium.org/790723003
Cr-Commit-Position: refs/heads/master@{#308084}
Support WebSocket per-message deflate extension in http server.
BUG=438230
Review URL: https://codereview.chromium.org/769423005
Cr-Commit-Position: refs/heads/master@{#308083}
events: Generalize IsTouchscreenInternal to any device type
This logic can also be used for keyboards, mice, touchpads, and tablets.
TEST=chrome on link_freon & rush_ryu
BUG=437539
Review URL: https://codereview.chromium.org/791743004
Cr-Commit-Position: refs/heads/master@{#308082}
Fix pylint error in patch_orderfile and symbolize.
BUG=
Review URL: https://codereview.chromium.org/799893003
Cr-Commit-Position: refs/heads/master@{#308081}
Remove ShowDesktopNotificationHostMsgParams in favor of PlatformNotificationData.
This patch removes all uses of ShowDesktopNotificationHostMsgParams and replaces
it with a more directed PlatformNotificationData. The PlatformNotificationData
structure has the same content as the WebNotificationData structure in the Blink
API, and included are canonical conversion functions between the two.
The reason for this change is two-folded:
(1) The content/ layer now has the ability to initialize Web Notification
objects, whereas this previously could only be done by Blink. This means
that we have to carry all associated data around.
The primary user for this are Persistent Notifications, which can outlive
the page they were created by (and thereby the JavaScript objects).
(2) The Web Notification specification is being updated with new features, a
number of which will eventually have to be known to the browser process.
This makes future plumbing significantly clearer.
Also, the *Desktop*Notification.. name is outdated.
BUG=432527
Review URL: https://codereview.chromium.org/794633002
Cr-Commit-Position: refs/heads/master@{#308080}
Update V8 to version 3.31.54 (based on 6459dabdaeaa5bec7ce6b83b7aafc43942a8cd8e).
[email protected]
Review URL: https://codereview.chromium.org/799753002
Cr-Commit-Position: refs/heads/master@{#308079}
cc: Implement geometry-based tile eviction
This patch optimizes the way we do eviction at the tiling level.
Instead of using sort, it uses a reverse spiral iterator to iterate
tiles in reverse order of what they would have been rasterized in.
In addition to that, shared tiles are returned only by one tiling set
eviction queue. This way tiling set eviction queues can skip shared
tiles those priorities for tree priority are closer to those of unshared
tiles of the twin tiling. This lessen the number of out of reversed
priority order tiles returned by tiling set eviction queues (which
were previously handled by sorting). This will also allow eviction tile
priority queue not to check for shared tiles returned twice.
Review URL: https://codereview.chromium.org/736753002
Cr-Commit-Position: refs/heads/master@{#308078}
Roll src/third_party/WebKit 757d75a:8e6fc6d (svn 187004:187007)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/757d75a..8e6fc6d
[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/799873002
Cr-Commit-Position: refs/heads/master@{#308077}
infobars: Fix static initializer created in r308046.
BUG=382924
[email protected]
Review URL: https://codereview.chromium.org/801753002
Cr-Commit-Position: refs/heads/master@{#308076}
[Push] Register: require user-visible to be present in the manifest
Prompt for notifications if the Notification permission was not
previously granted.
Refactor a bit the browser tests to accomodate pages with
different manifests.
BUG=432930
TBR=fgorski
Review URL: https://codereview.chromium.org/785993003
Cr-Commit-Position: refs/heads/master@{#308075}
[android_webview] Split out an apk folder from the glue folder.
The reason for this separation is to distinguish the glue layer code
(which is shared amongst all of the WebView .apks) from the apk-specific
bits (which are not shared at all).
BUG=440792
Review URL: https://codereview.chromium.org/802453002
Cr-Commit-Position: refs/heads/master@{#308074}
Expose aria-pressed as STATE_SYSTEM_PRESSED on windows
According to specs http://rawgit.com/w3c/aria/master/core-aam/core-aam.html
aria-pressed {true, mixed} should set STATE_SYSTEM_PRESSED and false should
clear STATE_SYSTEM_PRESSED
This CL depends on https://codereview.chromium.org/767183002/
BUG=171625
Review URL: https://codereview.chromium.org/771583002
Cr-Commit-Position: refs/heads/master@{#308073}
Upstream JavaScript injection for iOS
Review URL: https://codereview.chromium.org/790803002
Cr-Commit-Position: refs/heads/master@{#308072}
Separate X11 implementation of touch log source
The CL separates the X11 implementation into an independent file so
one may implement different versions for other platforms (e.g.,
ozone). To avoid compilation error, a stub ozone implementation is
also added.
Contributed by [email protected]
BUG=400022
TEST=link and link_freon ChromeOS build
Review URL: https://codereview.chromium.org/794943003
Cr-Commit-Position: refs/heads/master@{#308071}
Move Load() from HTMLDocument::OnEmbed() to the constructor.
[email protected]
Review URL: https://codereview.chromium.org/796963003
Cr-Commit-Position: refs/heads/master@{#308070}
Add support for decoding WebP images
Add a wrapper around libwebp to decompress WebP images and re-encode them
to uncompressed TIFF (if small enough) or JPEG/PNG (dependending on image
features).
BUG=436897
Review URL: https://codereview.chromium.org/771723002
Cr-Commit-Position: refs/heads/master@{#308069}
Revert of Use Surfaces on Windows, Linux, and Mac OS (second try) (patchset #1 id:1 of https://codereview.chromium.org/796693003/)
Reason for revert:
Speculative revert: virtual/slimmingpaint/fast/text/fallback-traits-fixup.html is crashing on Mac.
Example build: http://goo.gl/Ol8CHS
Flakiness dashboard: http://goo.gl/KGLmLS
Original issue's description:
> Use Surfaces on Windows, Linux, and Mac OS (second try)
>
> Surfaces should be feature-complete, so try enabling them on Windows, Linux, and Mac OS. They're still disabled on Chrome OS because they rely on single-threaded browser compositing, and on Android because they haven't been implemented there yet.
>
> BUG=334090
> [email protected]
>
> Committed: https://crrev.com/8a61bd41b8a04bde04d7b538e3d9a42acd7c4ec7
> Cr-Commit-Position: refs/heads/master@{#308028}
[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=334090
Review URL: https://codereview.chromium.org/802683002
Cr-Commit-Position: refs/heads/master@{#308068}
Updating trunk VERSION from 2248.0 to 2249.0
Cr-Commit-Position: refs/heads/master@{#308067}
Revert of Isolate remaining tests under ui/ (patchset #21 id:400001 of https://codereview.chromium.org/724603004/)
Reason for revert:
Speculatively reverting due to chromium.win not triggered testers at all.
http://build.chromium.org/p/chromium.win/builders/Win%20Builder/builds/5439/
succeeded in triggering testers
http://build.chromium.org/p/chromium.win/builders/Win%20Builder/builds/5440/
didn't.
There was no build.git commit nor recipe change.
BUG=441690
Original issue's description:
> Isolate remaining tests under ui/
>
> BUG=98637
> [email protected],[email protected]
>
> Committed: https://crrev.com/4d293d79bd67b683942fd727c46f2b3173d7f03e
> Cr-Commit-Position: refs/heads/master@{#307954}
[email protected],[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=98637
Review URL: https://codereview.chromium.org/802673002
Cr-Commit-Position: refs/heads/master@{#308066}
PasswordFormManager supports multiple drivers
PFM serves potentially multiple frames by providing (auto)fill
information for each. That happens through drivers, which are
recently one per frame. The PFM only supports one driver so far.
This CL makes it handle a queue of drivers until it retrieves
the credentials from the store, and then serve each of the
associated frames through the drivers.
BUG=440438
Review URL: https://codereview.chromium.org/795183002
Cr-Commit-Position: refs/heads/master@{#308065}
Roll src/third_party/WebKit a274a19:757d75a (svn 186995:187004)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/a274a19..757d75a
[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/801683003
Cr-Commit-Position: refs/heads/master@{#308064}
Remove the index of in-band tracks on the Chromium side
Note: https://codereview.chromium.org/754963009 removes the usage of
textTrackIndex() and has to be applied first.
BUG=440777
[email protected]
Review URL: https://codereview.chromium.org/787343003
Cr-Commit-Position: refs/heads/master@{#308063}
Automated Commit: Committing new LKGM version 6573.0.0 for chromeos.
Cr-Commit-Position: refs/heads/master@{#308062}
Revert of Updating OTS repo from https://github.com/khaledhosny/ots.git (patchset #4 id:60001 of https://codereview.chromium.org/775893002/)
Reason for revert:
Broke bots
Original issue's description:
> The original CL is https://codereview.chromium.org/658573004
>
> Updating with to new OTS repo from https://github.com/khaledhosny/ots.git
> Hash tag imported: c24a839b1c66c4de09e58fabaacb82bf3bd692a4
>
> Some important differences between new and old version of OTS:
> 1. Support for MATH table
> 2. Implementation changes related to new WOFF 2.0
> 3. Bug fixes related to OTF tables (GDEF, GSUB etc) parsing
> 4. Accept platform 0 encoding 1 cmap subtables
> 5. Allow fonts with CMAP format-12 or format-13 table
>
> A dummy version of EnableWOFF() is added to get Blink compiled.
> After the following CL is landed in Blink, it'll be removed.
> Blink CL: https://codereview.chromium.org/774253008
>
> # TODO(jschuh): 4267, 4334 are 64-bit cleanness issue. http://crbug.com/167187
>
> # TODO(h.joshi) : Make 4800 go away. <https://github.com/khaledhosny/ots/issues/44>.
> Currently patch to github (https://github.com/himanshuispresent/ots/commit/02f724f758ddb1cb264cc0259ffd5ef1cafa164a) is
> submitted so that taking OTS repository to Chromium should not cause issue on Windows bots.
>
> TEST: Blink layout tests: fast/css/font-face*
> BUG=339857
>
> Committed: https://crrev.com/3b6cd2d4bf9e0b4a9311343a2997ef9363530b14
> Cr-Commit-Position: refs/heads/master@{#308054}
[email protected],[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=339857
Review URL: https://codereview.chromium.org/797183002
Cr-Commit-Position: refs/heads/master@{#308061}
Remove dead code in AwContents.
Review URL: https://codereview.chromium.org/795853002
Cr-Commit-Position: refs/heads/master@{#308060}
[ServiceWorker] Make Stream support in ServiceWorkerURLRequestJob
In ServiceWorkerURLRequestJob::DidDispatchFetchEvent(), if response.stream_url of ServiceWorkerHostMsg_FetchEventFinished is set, ServiceWorkerURLRequestJob starts reading the body of the response from the stream instead of the blob.
But the stream may not be registered yet.
It is because ServiceWorkerHostMsg_FetchEventFinished is sent from the worker thread but StreamHostMsg_StartBuilding which triggers the stream registration is sent from the main thread of the ServiceWorker process.
So if ServiceWorkerURLRequestJob can't get the stream in DidDispatchFetchEvent(), call StreamRegistry::SetRegisterObserver() to receive the stream registration event.
When ServiceWorkerURLRequestJob successfuly gets the stream, it starts reading the stream.
The codes for reading the stream is almost same as the codes in StreamURLRequestJob.
This change depends on these changes:
https://codereview.chromium.org/760823002
https://codereview.chromium.org/759823003
BUG=436424
Review URL: https://codereview.chromium.org/759203002
Cr-Commit-Position: refs/heads/master@{#308059}
Add following pages in Oilpan performance page sets
- key_silk_cases (disabled)
- sync_scroll.key_mobile_sites (enabled on Android)
Disabled/Enabled attributes are added referring Smoothness test.
BUG=438074
Review URL: https://codereview.chromium.org/791923002
Cr-Commit-Position: refs/heads/master@{#308058}
Add type annotations to gallery/js/image_editor/image_util.js.
BUG=433728
TEST=GYP_GENERATORS=ninja tools/gyp/gyp --depth . ui/file_manager/gallery/js/compiled_resources.gyp && ninja -C out/Default | grep "image_util.js"
Review URL: https://codereview.chromium.org/791363003
Cr-Commit-Position: refs/heads/master@{#308057}
Roll src/third_party/WebKit c996f78:a274a19 (svn 186992:186995)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/c996f78..a274a19
[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/799773002
Cr-Commit-Position: refs/heads/master@{#308056}
whitespace change after ots went from DEPS to checked in
Cr-Commit-Position: refs/heads/master@{#308055}
The original CL is https://codereview.chromium.org/658573004
Updating with to new OTS repo from https://github.com/khaledhosny/ots.git
Hash tag imported: c24a839b1c66c4de09e58fabaacb82bf3bd692a4
Some important differences between new and old version of OTS:
1. Support for MATH table
2. Implementation changes related to new WOFF 2.0
3. Bug fixes related to OTF tables (GDEF, GSUB etc) parsing
4. Accept platform 0 encoding 1 cmap subtables
5. Allow fonts with CMAP format-12 or format-13 table
A dummy version of EnableWOFF() is added to get Blink compiled.
After the following CL is landed in Blink, it'll be removed.
Blink CL: https://codereview.chromium.org/774253008
# TODO(jschuh): 4267, 4334 are 64-bit cleanness issue. http://crbug.com/167187
# TODO(h.joshi) : Make 4800 go away. <https://github.com/khaledhosny/ots/issues/44>.
Currently patch to github (https://github.com/himanshuispresent/ots/commit/02f724f758ddb1cb264cc0259ffd5ef1cafa164a) is
submitted so that taking OTS repository to Chromium should not cause issue on Windows bots.
TEST: Blink layout tests: fast/css/font-face*
BUG=339857
Review URL: https://codereview.chromium.org/775893002
Cr-Commit-Position: refs/heads/master@{#308054}
Use base::Clock instead of base::Time::Now in AppSearchProvider.
This CL converts AppSearchProvider to use base::Clock which allows for a
easier testing of AppSearchProvider. This CL also fixes an issue which
was revealed during this conversion and adds a test.
BUG=440286
Review URL: https://codereview.chromium.org/789623003
Cr-Commit-Position: refs/heads/master@{#308053}
Add telemetry test for paper calculator hit testing performance.
This CL adds a new page set |key_hit_test_cases|, the reason to have a separate
set is that we only get meaningful data for |thread_times| and adding it to
|key_silk_cases| would clutter the smoothness numbers.
The main metric is |renderer_main_cpu_time_per_frame|, since the page doesn't
do any rendering, all the hit tests get counted under a single frame budget,
which can be used as a signal for the total cost.
BUG=426406
Review URL: https://codereview.chromium.org/789003002
Cr-Commit-Position: refs/heads/master@{#308052}
Pass through the CONVERT/NONCONVERT/HANKAKU_ZENKAKU keys.
CONVERT(or HENKAN)/NONCONVERT(or MUHENKAN)/HANKAKU_ZENKAKU keys are
special keys in Japanese Keyboard.
This CL is necessary for supporting remote desktop client application in browser tab.
Note that, the accelerator for IME switching is now pass through to every
applications including web page inside tab but applications running inside tab
can not cancel the IME switching.
This is compatible with Windows's behavior.
BUG=438089
TEST=manually done
Review URL: https://codereview.chromium.org/784823002
Cr-Commit-Position: refs/heads/master@{#308051}
Roll GN binaries to r307979 to get the new default logic.
This will allow us to specify which binaries are built by
default by changing what is declared in a group("default")
target in src/BUILD.gn (this was added in r307770).
This rolls buildtools to 4995faa.
[email protected], [email protected]
BUG=430215
Review URL: https://codereview.chromium.org/801623002
Cr-Commit-Position: refs/heads/master@{#308050}
Convert usage of banned std::to_string() to base::IntToString().
[email protected]
BUG=none
Review URL: https://codereview.chromium.org/795423002
Cr-Commit-Position: refs/heads/master@{#308049}
Remove cc::SharedBitmap::memory()
This method is only used with the WebPluginDelegateProxy in the renderer, so only support it on a subclass that can be created by the ChildSharedBitmapManager. This will allow us more flexibility in how we implement SharedBitmaps in the future.
Review URL: https://codereview.chromium.org/802433003
Cr-Commit-Position: refs/heads/master@{#308048}
With V2 hotwording enabled, don't inform the start page that the launcher has opened.
BUG=440600
Review URL: https://codereview.chromium.org/793573003
Cr-Commit-Position: refs/heads/master@{#308047}
Move infobar constants and the code that uses them from components/ to chrome/.
Both the infobar and the infobar container were making use of various infobar
constants that were declared in components/ but (usually) defined in chrome/.
This was a symptom of having put code in the component that really probably
belonged in the embedder.
This CL hoists the relevant logic to a new cross-platform
InfoBarContainerDelegate class defined on the chrome side, which implements some
of the methods of InfoBarContainer::Delegate. Platforms then subclass this to
implement the remaining, platform-specific bits.
This means that the constants in question now live solely in chrome/, avoiding a
bunch of link-time nastiness when trying to build the components code
separately.
BUG=382924
TEST=none
TBR=finnur
Review URL: https://codereview.chromium.org/793783003
Cr-Commit-Position: refs/heads/master@{#308046}
MediaScanner improvements.
Background: In a subsequent CL we'll want to plug the scanner into the progress center (as a "task" I believe) so the user can see that there is some activity going on. This is one reason why we don't just gather up all the files in a single swoop, but do some acrobatics to handle each file individually.
* Update MediaScanner to be non-reusable (1 instance per scan).
* Add separate MediaScanner and ScanResult interfaces.
* MediaScanner now tracks scan duration (which will be reported in a subsequent UMA).
* MediaScanner now gathers local storage requirements so that cloud import can report insufficient storage to user...and prohibit import.
BUG=420680
TEST=browser_test: FileManagerJsTest.*
Review URL: https://codereview.chromium.org/795833002
Cr-Commit-Position: refs/heads/master@{#308045}
Followup to transfer serviceworker state during cross site navigations too.
Fix a bug just introduced in https://crrev.com/bfea6ecef56cba8beb9816e8e9674a9dc456b20e.
BUG=438005
Review URL: https://codereview.chromium.org/788073003
Cr-Commit-Position: refs/heads/master@{#308044}
Scoping auth tokens by app
BUG=431868
Review URL: https://codereview.chromium.org/800613002
Cr-Commit-Position: refs/heads/master@{#308043}
Refactor: Remove switch statements on key format from algorithm_dispatch.cc
Instead internalize them into AlgorithmImplementation.
Review URL: https://codereview.chromium.org/794873002
Cr-Commit-Position: refs/heads/master@{#308042}
Roll src/third_party/WebKit 0bde23c:c996f78 (svn 186989:186992)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/0bde23c..c996f78
[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/800573003
Cr-Commit-Position: refs/heads/master@{#308041}
Add a histogram for session resumption version mismatches.
BUG=441456
Review URL: https://codereview.chromium.org/797693003
Cr-Commit-Position: refs/heads/master@{#308040}
Page context menu accelerator "S" is used twice.
After selecting text in textbox. right click make context menu to
came, then selecting 'S' it switchs focus highlight between
'Spell-checker options' and 'Search Google for "..."
as both have 'S' as associated key.
Have made "O" for spell-checker options and "S" for Search.
BUG=226234
Review URL: https://codereview.chromium.org/794093004
Cr-Commit-Position: refs/heads/master@{#308039}
Revert "Plumb composition character bounds from C++ to Java"
This reverts commit 6d6a279a1cf7d9e8b5072740a494c4031eaa133d.
Turned out that this CL is not necessary.
BUG=424866
[email protected]
Review URL: https://codereview.chromium.org/784503002
Cr-Commit-Position: refs/heads/master@{#308038}
Fix EOS buffer handling in spork.
BUG=none
TEST=playback!
Review URL: https://codereview.chromium.org/796143003
Cr-Commit-Position: refs/heads/master@{#308037}
Ensure that the browser’s copy of page id is in sync with the renderer’s.
This might-maybe-hope-not crash, and so has debugging statements.
BUG=407376
TEST=no crashing, we hope
[email protected]
Review URL: https://codereview.chromium.org/795233002
Cr-Commit-Position: refs/heads/master@{#308036}
Document ClientCertStore interface.
Make it clear there are many of them floating around. Follow-up to comment in
https://codereview.chromium.org/795773002/
BUG=none
Review URL: https://codereview.chromium.org/802563002
Cr-Commit-Position: refs/heads/master@{#308035}
Added PermissionIDSet to APIPermissions
Added a GetPermissions() method to APIPermissions, which returns the
PermissionIDSet for that API permission. This will be used for the new
permission messages system, which can generate
CoalescedPermissionMessages from these permissions.
BUG=398257
Review URL: https://codereview.chromium.org/795543002
Cr-Commit-Position: refs/heads/master@{#308034}
Add display task to trigger display configuration
This CL adds:
1) A DisplayLayoutManager interface which will be implemented within
DisplayConfigurator in a followup CL. This is in charge of providing
enough information to the task to pick the correct display state.
2) A task that will query to update the display list, pick the correct
display state via DisplayLayoutManager then configure the displays
via the ConfigureDisplaysTask.
3) Basic unittests to validate the task. These are only basic since
the DisplayConfigurator unittests are performing the same tests. Ideally
the DisplayLayoutManager code in DisplayConfigurator could be extracted
in its own class such that these unittests can re-use that logic.
BUG=429746
[email protected]
Review URL: https://codereview.chromium.org/788423002
Cr-Commit-Position: refs/heads/master@{#308033}
Cleanup: move elide_url_unittest.cc near its implementation source file.
We don't separate unittests from the code they test, they usually live
near the implementation, e.g.:
chrome/browser/foo.h
chrome/browser/foo.cc
chrome/browser/foo_unittest.cc
BUG=None
TEST=unit_tests
[email protected]
Review URL: https://codereview.chromium.org/802483003
Cr-Commit-Position: refs/heads/master@{#308032}
app_list: Exclude Objective-C from cpplint pass.
BUG=349250
[email protected]
Review URL: https://codereview.chromium.org/799713002
Cr-Commit-Position: refs/heads/master@{#308031}
Bump min PNaCl version to 14173.
We are changing the interface between Chrome and one of
the PNaCl translator nexes so that it uses the NaCl IRT
more (which is a more stable interface). However, this
means that we are not testing the old interface between
Chrome and the PNaCl translator nexe anymore on the chrome
waterfall, so the old interface may get broken. Bump the
min PNaCl version to try and get more users onto using the
new nexe, which uses the newer interface.
The new nexe also brings in a PNaCl translator based on
LLVM 3.5, so having that match the SDK (using LLVM 3.5)
is better for debugging (developer-only unstable debug
metadata has changed between 3.4 and 3.5).
BUG= https://code.google.com/p/nativeclient/issues/detail?id=3914
Review URL: https://codereview.chromium.org/789273002
Cr-Commit-Position: refs/heads/master@{#308030}
Fix live regions on Mac OS X.
We were returning an empty string for AXARIALive for nodes
inside of a live region, and that was confusing VoiceOver.
BUG=440934
Review URL: https://codereview.chromium.org/795363002
Cr-Commit-Position: refs/heads/master@{#308029}
Use Surfaces on Windows, Linux, and Mac OS (second try)
Surfaces should be feature-complete, so try enabling them on Windows, Linux, and Mac OS. They're still disabled on Chrome OS because they rely on single-threaded browser compositing, and on Android because they haven't been implemented there yet.
BUG=334090
[email protected]
Review URL: https://codereview.chromium.org/796693003
Cr-Commit-Position: refs/heads/master@{#308028}
easy-unlock: Get rid of extra flag.
BUG=439638
Review URL: https://codereview.chromium.org/797693002
Cr-Commit-Position: refs/heads/master@{#308027}
Add UpdateCurrentAppInfo() interface to record info about current app, including
app_id, session_id and sdk_version, which are used by MediaPlay/MediaPause
events.
BUG=
Review URL: https://codereview.chromium.org/786233003
Cr-Commit-Position: refs/heads/master@{#308026}
Introduce StreamRegistry::RegisterReaderAbortedStream()
If the reader of the stream is aborted before the stream is registered,
StreamRegistry::RegisterStream() should fail to reduce the memory consumption.
So this change introduces StreamRegistry::RegisterReaderAbortedStream().
We will use this method in this situation:
- The request from the page is sent to the ServiceWorker.
- The ServiceWorker creates a Stream and starts uploading the data to the browser process with it.
- The browser process receives the stream URL in ServiceWorkerHostMsg_FetchEventFinished.
But it didn't receive StreamHostMsg_StartBuilding yet.
- The page stops the loading the resource.
-> Call this method in the browser process.
- The browser receives StreamHostMsg_StartBuilding and creates a Stream and registers it to the StreamRegistry.
-> This registration should fail.
BUG=436424
TEST=content_unittests --gtest_filter=StreamTest.*
Review URL: https://codereview.chromium.org/759823003
Cr-Commit-Position: refs/heads/master@{#308025}
Turn on cardholder/recipient name disambiguation by default.
BUG=429236
[email protected]
Review URL: https://codereview.chromium.org/796993002
Cr-Commit-Position: refs/heads/master@{#308024}
sync setup: Restore previous behavior to focus() passphrase.
[email protected]
BUG=437745
Review URL: https://codereview.chromium.org/794943002
Cr-Commit-Position: refs/heads/master@{#308023}
Implement clipboardRead/Write content capabilities
This adds support for clipboardRead and clipboardWrite
capability grants from white-listed extensions to web
contents.
BUG=409269
[email protected]
Review URL: https://codereview.chromium.org/789063002
Cr-Commit-Position: refs/heads/master@{#308022}
Fix a bug that causes the metrics loop to be broken.
The logs upload loop can be broken if a log upload fails while in state
SENDING_INITIAL_METRICS_LOG.
BUG=441460
Review URL: https://codereview.chromium.org/799613002
Cr-Commit-Position: refs/heads/master@{#308021}
Move chromeos/tpm_* to chromeos/tpm
These files are moved in favor of less files to have in the top-level
chromeos directory.
BUG=none
TEST=builds as before
Review URL: https://codereview.chromium.org/738683002
Cr-Commit-Position: refs/heads/master@{#308020}
Roll ICU to b0932a04c79198b0fd4428230
See https://codereview.chromium.org/796153002 for the actual fix.
BUG=403902
[email protected]
TEST=Speculative: On Windows with the display language set to one other
than English (e.g. ko, pt-BR, zh-CN, etc; just setting the default locale to
one of them does not work on Win 7 or later or using --lang=foo does not
work), start Chrome and go to ftp://ftp.vim.org. Render process should
not crash.
Review URL: https://codereview.chromium.org/798753002
Cr-Commit-Position: refs/heads/master@{#308019}
Roll src/third_party/WebKit 4a1d377:0bde23c (svn 186978:186989)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/4a1d377..0bde23c
[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/800683002
Cr-Commit-Position: refs/heads/master@{#308018}
Enable the new bookmark apps system by default.
This change enables the feature previously known as streamlined hosted
apps by default.
BUG=440670
Review URL: https://codereview.chromium.org/772533005
Cr-Commit-Position: refs/heads/master@{#308017}
[Win] Fix detection of normal windows in HWNDMessageHandler::OnSizeConstraintsChanged.
OnSizeConstraintsChanged should be skipped if the window is a popup or child.
BUG=439038
Review URL: https://codereview.chromium.org/792303002
Cr-Commit-Position: refs/heads/master@{#308016}
Make ProfileSyncService's WeakPtrFactory the last member
This will ensure that WeakPtrs are invalidated before any other members'
destructors are invoked. This is also one of the last classes needing to
change to allow us to turn on a Clang check for WeakPtrFactory member order.
Please see the bug for more details.
BUG=303818
Review URL: https://codereview.chromium.org/795003003
Cr-Commit-Position: refs/heads/master@{#308015}
Remove GetBitmapForSharedMemory from cc::SharedBitmapManager
This is only used in specific circumstances in the renderer, so move it to ChildSharedBitmapManager.
Review URL: https://codereview.chromium.org/795843002
Cr-Commit-Position: refs/heads/master@{#308014}
[Android] Support ALPHA_8 UI resources
The new ResourceManager assumes the generated resource is of type
RGBA8. Add additional type support for A8, the format used by the
overscroll effect on Android L.
BUG=426939
Review URL: https://codereview.chromium.org/798783002
Cr-Commit-Position: refs/heads/master@{#308013}
Content: Disable overlay optimization.
Partial revert of the following patch:
https://codereview.chromium.org/675313002/
BUG=436689
[email protected]
Tbr since code-review is broken and Ted gave me the LGTM.
Review URL: https://codereview.chromium.org/797833002
Cr-Commit-Position: refs/heads/master@{#308012}
Upstream constant related functions
* Moves some functions that deal TabState filenames to TabState
from TabPersistentStore downstream.
* Moves DOCUMENT_SCHEME from IntentHandler.java to UrlConstants.java
with similar schemes. Note that the DOCUMENT_SCHEME doesn't include
the "://" string like the other Java scheme constants; this is because
the Document classes use a real Uri parse to parse the scheme instead
of doing a plain old TextUtils.equals() comparison.
BUG=415747
Review URL: https://codereview.chromium.org/796113003
Cr-Commit-Position: refs/heads/master@{#308011}
Fix WeakPtrFactory member ordering in gpu
Changing in the intialization order of WeakPtrFactory such that all
member variables should appear before the WeakPtrFactory to ensure
that any WeakPtrs to Controller are invalidated before its members
variable's destructors are executed, rendering them invalid.
BUG=303818
Review URL: https://codereview.chromium.org/791353002
Cr-Commit-Position: refs/heads/master@{#308010}
Base: Add Process::WaitForExit and WaitForExitWithTimeout.
The new methods are meant to replace similar functions from kill.h
BUG=417532
Review URL: https://codereview.chromium.org/791503002
Cr-Commit-Position: refs/heads/master@{#308009}
Add the main frame routing ID to WebContentsDelegate, use it in BackgroundContents.
BUG=438474
TEST=as in bug; no crash
[email protected],[email protected]
Review URL: https://codereview.chromium.org/790423002
Cr-Commit-Position: refs/heads/master@{#308008}
IDB: Remove unused variable IndexedDBInfo::path_
[email protected]
Review URL: https://codereview.chromium.org/783393002
Cr-Commit-Position: refs/heads/master@{#308007}
Update strings for enable dev features UI.
BUG=441046
Review URL: https://codereview.chromium.org/799443002
Cr-Commit-Position: refs/heads/master@{#308006}
Reland 1: "mac: Allow Chrome to hand off its active URL to other devices."
The original CL used instance variables in a class extension and automatic
generation of ivars for synthesized properties, features only available on
64-bit builds. The Mac Memory bots are still compiling Chromium in 32-bits.
This reland removes the usage of those features.
> This CL adds the class HandoffManager, which is responsible for interfacing
> with Apple's Handoff APIs. It takes a GURL, and exposes that GURL to Handoff.
>
> This CL adds the class ActiveWebContentsObserver, which is responsible for
> listening to changes to the active browser, the active tab, and the visible
> URL. It notifies its delegate when any of this state might have changed.
>
> AppControllerMac is the delegate of ActiveWebContentsObserver, as well as the
> owner of the HandoffManager. When it receives a delegate callback, it passes an
> updated GURL to the HandoffManager. There is some minimal logic in
> AppControllerMac that prevents URLs from incognito windows from being passed to
> the HandoffManager.
>
> BUG=431051, 438823
> Committed: https://crrev.com/708abc5b0abb5e0916d779bf6d1342fd472a2aa1
> Cr-Commit-Position: refs/heads/master@{#307846}
BUG=431051, 438823
TBR=sky, erikwright, mmenke, avi
Review URL: https://codereview.chromium.org/794853004
Cr-Commit-Position: refs/heads/master@{#308005}
Add TransformFeedback related APIs to command buffer: PART I.
glGenTransformFeedbacks
glDeleteTransformFeedbacks
glIsTransformFeedback
glBindTransformFeedback
glBeginTransformFeedback
glEndTransformFeedback
glPauseTransformFeedback
glResumeTransformFeedback
The missing ones are:
glTransformFeedbackVaryings
glGetTransformFeedbackVarying
Also this CL fixed a bug that's introduced in a previous CL for glIs* handling. Basically the client ID needs to be mapped to the service ID before passing down to the driver. The test is generalized to mask this bug, so this CL fixes both the code and the test behavior.
BUG=429051
TEST=gpu_unittests
[email protected]
NOTRY=true
Review URL: https://codereview.chromium.org/795243002
Cr-Commit-Position: refs/heads/master@{#308004}
Fix mouse cursor during drag and drop after HTML 5 pointer lock on Desktop Linux
The return value of DesktopNativeCursorManager::GetInitializedCursor() is no
longer valid after DesktopNativeCursorManager::SetDisplay() is called.
This CL ensures that the return value of
DesktopNativeCursorManager::GetInitializedCursor() is not cached.
BUG=440534
TEST=Manual, see bug
Review URL: https://codereview.chromium.org/751063008
Cr-Commit-Position: refs/heads/master@{#308003}
Make changes to support bisect for android-chrome.
BUG=
NOTRY=true
Review URL: https://codereview.chromium.org/792183003
Cr-Commit-Position: refs/heads/master@{#308002}
Instrumenting WM_ message handler to find jank.
This is a follow-up for an internal discussion about possible jank, and more generally, performance issues that potentially are not tracked by about://profiler and UMA profiler data.
This CL adds instrumentation that adds tracking for all WM_ message handlers. It's enabled only in Canary, and on other channels we won't track WM_ messages.
If we find it valuable and safe, we can enable this instrumentation on other channels too.
BUG=440919
Review URL: https://codereview.chromium.org/793893002
Cr-Commit-Position: refs/heads/master@{#308001}
Update TrayPopupHeaderButton Visual Feedback
Add a new background to TrayPopupHeaderButton which is used for both mouse and touch feedback. Mouse hover, and tap down, events will trigger the background. Completing a click or tap, or exiting the button, will remove the feedback.
The size of TrayPopupHeadButton has been updated according to the new spec in issue 402515.
TEST=TrayDetailsViewTest.TrayPopupHeaderButtonTouchFeedback, TrayDetailsViewTest.TrayPopupHeaderButtonTouchFeedbackCancellation, TrayDetailsViewTest.TrayPopupHeaderButtonMouseHoverFeedback
BUG=402515
Review URL: https://codereview.chromium.org/800513002
Cr-Commit-Position: refs/heads/master@{#308000}
Update chromedriver to use the new version of LaunchProcess.
BUG=417532
Review URL: https://codereview.chromium.org/793453002
Cr-Commit-Position: refs/heads/master@{#307999}
Allow Mousewheell on Chrome Android to scroll horizontally
We added the horizontal_axis value to the SendMouseWheelEvent method, so that
the mousewheel event now can scroll vertically and horizontally.
BUG=435154
Review URL: https://codereview.chromium.org/792333004
Cr-Commit-Position: refs/heads/master@{#307998}
Call _set_FMA3_enable(0); to work around VS 2013 CRT AVX bug.
BUG=436603
Review URL: https://codereview.chromium.org/802503003
Cr-Commit-Position: refs/heads/master@{#307997}
MacViews: Use views::TestViewsDelegate in ViewEventTestBase
It currently uses ChromeViewsDelegate.
This is a problem for MacViews, because ChromeViewsDelegate only
provides an out-of-process compositor, which isn't available in tests
using ViewEventTestBase.
It's not a problem for Aura, because Aura platforms tend to get their
ContextFactory form aura::Env instead of ViewsDelegate
BUG=403679
Review URL: https://codereview.chromium.org/785233008
Cr-Commit-Position: refs/heads/master@{#307996}
[ServiceWorker] Cache & CacheStorage operation histograms
BUG=439529
Review URL: https://codereview.chromium.org/797463002
Cr-Commit-Position: refs/heads/master@{#307995}
Fix ppapi key codes under Ozone.
Moves the native-event test from RenderWidgetHostViewAura::OnKeyEvent()
down to MakeWebKeyboardEvent() so that nativeKeyCode is correctly set.
Symptoms included incorrect characters in Chromoting, and Search key not working in non-web windows.
BUG=425156
BUG=440184
Review URL: https://codereview.chromium.org/789153004
Cr-Commit-Position: refs/heads/master@{#307994}
Add requests to third party.
Requests is already mirrored on chromium.
It has an Appache 2.0 license.
It is required for the appurify python api found in thirdparty to work.
BUG=439624
Review URL: https://codereview.chromium.org/782083002
Cr-Commit-Position: refs/heads/master@{#307993}
Disable load completion hacks flag, remove usages of the flag in chromium
The flag can be removed once the remaining references in blink are removed.
BUG=426520
Review URL: https://codereview.chromium.org/707173003
Cr-Commit-Position: refs/heads/master@{#307992}
Remove GG_VA_COPY in favor of va_copy
This was a workaround for VS's before 2013 that lack va_copy, and is
no longer required. The unittest is removed as it seems unnecessary
to test the standard library's implementation of va_copy.
[email protected]
[email protected]
Review URL: https://codereview.chromium.org/802533002
Cr-Commit-Position: refs/heads/master@{#307991}
Add onBackgroundColorChanged to Tab and TabObserver
onBackgroundColor is currently coming through ContentViewCore.
The downstream counterpart to this will remove the downstream
notification.
BUG=344589
Review URL: https://codereview.chromium.org/791393003
Cr-Commit-Position: refs/heads/master@{#307990}
Disabled netsim page cycler on mac due to redness/flakiness
BUG=353260
Review URL: https://codereview.chromium.org/801503002
Cr-Commit-Position: refs/heads/master@{#307989}
Renumbering sandbox policy actions to fix bug found by VC++'s /analyze.
Warning was:
src\sandbox\win\src\policy_engine_processor.cc(81) : warning C6313:
Incorrect operator: zero-valued flag cannot be tested with bitwise-and.
This change should have no effect because the kStopOnErrors policy is
never requested.
BUG=427616
Review URL: https://codereview.chromium.org/789543004
Cr-Commit-Position: refs/heads/master@{#307988}
Android: CHECK() for supported child process types
BUG=396568
[email protected]
NOTRY=True
Review URL: https://codereview.chromium.org/797783002
Cr-Commit-Position: refs/heads/master@{#307987}
The GestureRecognizer should never map an ID to a NULL consumer
The current implementation of
GestureRecognizerImpl::GetTargetForGestureEvent() will insert a
mapping between a touch ID and a NULL GestureConsumer to
|touch_id_target_for_gestures_| if queried with a touch ID that
does not already exist in the map. Use .at() instead of []
to avoid this possibility.
BUG=403346
TEST=none
Review URL: https://codereview.chromium.org/466323004
Cr-Commit-Position: refs/heads/master@{#307986}
Revert "MacViews: Implement event monitoring for a specific window"
Causes views_unittests EventMonitorTest.ShouldNotReceiveEventsFromOtherWindow to fail, see
http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%28dbg%29%281%29/builds/35121/steps/views_unittests/logs/stdio
This reverts commit e393fdb1d25ea25693a905aa4af97ed569bb2223.
Cr-Commit-Position: refs/heads/master@{#307985}
Remove some device OWNERS
These people are not really owners. Bye.
BUG=None
[email protected]
NOTRY=True
Review URL: https://codereview.chromium.org/797633003
Cr-Commit-Position: refs/heads/master@{#307984}
Pointer/hover media query support: platform-dependent changes #2
This is the second platform-dependent CL on our way to support pointer, any-pointer, hover and any-hover media queries.
http://dev.w3.org/csswg/mediaqueries-4/#mf-interaction
This CL includes changes for windows, aurax11, linux and ozone.
This follows the platform-independent patch (crrev.com/685153003) and the Android-specific patch (crrev.com/696713002).
BUG=136119
Review URL: https://codereview.chromium.org/781753005
Cr-Commit-Position: refs/heads/master@{#307983}
Data reduction proxy bypass with test server
Include tests that verify the interaction of the data
reduction proxy's bypass mechanism and a real server.
BUG=438866
Review URL: https://codereview.chromium.org/749793002
Cr-Commit-Position: refs/heads/master@{#307982}
Add data reduction proxy debug info to net-internals#bandwidth
- Save off various events in DataReductionProxyEventStore for later use
(last bypass event, data reduction proxy configuration, canary request
state)
- Plumb DataReductionProxyEventStore through ChromeNetworkDelegate to
net_internals_ui.cc for consumption by bandwidth_view.js/html
- Update bandwidth_view.* for rendering the DataReductionProxyEventStore
information
BUG=346356
Review URL: https://codereview.chromium.org/775773002
Cr-Commit-Position: refs/heads/master@{#307981}
Roll src/third_party/WebKit b393412:4a1d377 (svn 186969:186978)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/b393412..4a1d377
[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/797743002
Cr-Commit-Position: refs/heads/master@{#307980}
Update V8 to version 3.31.53 (based on 1b316ed0ad3bbc01cb77840d6c6641208d37436b).
[email protected]
Review URL: https://codereview.chromium.org/798693002
Cr-Commit-Position: refs/heads/master@{#307979}
Update sandbox_win and delegate_execute to use the new version of LaunchProcess.
BUG=417532
Review URL: https://codereview.chromium.org/790003002
Cr-Commit-Position: refs/heads/master@{#307978}
[Views] Instrument unmasking prompt initial implementation
depends on https://codereview.chromium.org/756333003/
BUG=437116
Review URL: https://codereview.chromium.org/773653002
Cr-Commit-Position: refs/heads/master@{#307977}
Rolling to leveldb rev which reuses manifest/log.
This leveldb rev is after 1.18, but is not yet an official leveldb release.
Aside from the manifest/log reuse change, all other leveldb changes are minor:
* 251ebf5 LevelDB now attempts to reuse the preceding MANIFEST and log file when re-opened.
* 77948e7 Add benchmark that measures cost of repeatedly opening the database.
* 34ad72e Move header guard below copyright banner.
* a75d435 Clean up layering of storage/leveldb/...
* b234f65 Added a new fault injection test.
* c4c38f9 Add arm64 support to leveldb.
* cea9b10 Fixed incorrect comment wording for Iterator::Seek.
* c00c569 Deleted old README file.
BUG=402980,395799
Review URL: https://codereview.chromium.org/793423002
Cr-Commit-Position: refs/heads/master@{#307976}
Enable HTTP/2 by default.
Enable HTTP/2 by default on tip of tree. This is a requirement for launch on
Stable.
BUG=401166
Review URL: https://codereview.chromium.org/798613002
Cr-Commit-Position: refs/heads/master@{#307975}
Replace TraceEvent.begin()/end() with explicit names
Replace TraceEvent.begin()/end() calls which implicitly gets the trace
event name by doing a costly stack dump, with explicitly named trace
event names.
Also wrap traces around try/finally.
BUG=439118
Review URL: https://codereview.chromium.org/795053007
Cr-Commit-Position: refs/heads/master@{#307974}
[AppList] Use local favicons/icons with URLSuggestionResult
If available, will use local icons. Otherwise fallback to server provided image.
BUG=440487
TBR=stevenjb
Review URL: https://codereview.chromium.org/795863002
Cr-Commit-Position: refs/heads/master@{#307973}
Hide the proxy socket address from the clients of ProxyResolvingClientSocket.
BUG=webrtc:3868
Review URL: https://codereview.chromium.org/787003004
Cr-Commit-Position: refs/heads/master@{#307972}
Autofill: Add some helper function to make getting elements by id less tedious.
Review URL: https://codereview.chromium.org/798433002
Cr-Commit-Position: refs/heads/master@{#307971}
ozone: Revert to using EGLClientBuffer to fix dma_buf issues
BUG=434115
Review URL: https://codereview.chromium.org/795053006
Cr-Commit-Position: refs/heads/master@{#307970}
[Reland] Remove check for native events in SystemGestureEventFilter::OnMouseEvent()
BUG=401590
TEST=None
TBR=sadrul
Review URL: https://codereview.chromium.org/797713002
Cr-Commit-Position: refs/heads/master@{#307969}
Roll Android SDK tools to V24.0.0
Updates lint to support cheching for missing xxxhdpi assets.
BUG=None
Review URL: https://codereview.chromium.org/796933002
Cr-Commit-Position: refs/heads/master@{#307968}
Adds DNS prefetch support to Chromecast.
[email protected],[email protected]
BUG=419909
Review URL: https://codereview.chromium.org/785693002
Cr-Commit-Position: refs/heads/master@{#307967}
Instrumenting callback of DiskCacheBasedQuicServerInfo::OnIOComplete.
Latest instrumentations show that most of jank comes from DiskCacheBasedQuicServerInfo::OnIOComplete (17.1). Note that it calls DiskCacheBasedQuicServerInfo::DoLoop, which calls a bunch of methods, all of them instrumented now. The above jank happens outside of the DoLoop call, and outside of DiskCacheBasedQuicServerInfo::PersistInternal call.
This points to wait_for_ready_callback_ callback. Instrumenting more.
(There is also 3.4 jank in Transaction::OnIOComplete, but this is not my focus now.)
BUG=422516
Review URL: https://codereview.chromium.org/789483004
Cr-Commit-Position: refs/heads/master@{#307966}
[GCM] Fix gcm network change handling before connect
We were listening to network events and trying to reconnect before even
being told to do the first connection. Until Connect() has been called,
SignalConnectionReset should have no effect.
BUG=440455
Review URL: https://codereview.chromium.org/793883003
Cr-Commit-Position: refs/heads/master@{#307965}
Fix Native Messaging to handle missing caller RenderWidgetHost.
content::RenderWidgetHost::FromID() may return NULL and
MessageService::OpenChannelToNativeApp() wasn't handling that case
properly.
I couldn't reproduce the problem, but I think this change should
fix it.
BUG=420495
Review URL: https://codereview.chromium.org/791343003
Cr-Commit-Position: refs/heads/master@{#307964}
cc: Remove max tiles and skewport constants from tiling client.
This patch removes some more client functionality from picture layer
tiling. These values don't typically change (aside from going from
gpu to cpu rasterization), but are frequently accessed. By eliminating
these calls makes the code more direct (ie it's obvious where these
settings are set).
Also, it potentially makes the code quicker since it eliminates several
virtual calls, although this is only called once per frame.
BUG=433048
R=danakj, enne
Review URL: https://codereview.chromium.org/775483002
Cr-Commit-Position: refs/heads/master@{#307963}
Roll FFmpeg to 7b98b0fc40ec9bdc379b9d8353bf9b669409757b.
Includes workaround for VS2013 accidental FMA3 insturction execution
bug on Windows x64 machines.
TBR=dalecurtis
BUG=440892
Review URL: https://codereview.chromium.org/796913003
Cr-Commit-Position: refs/heads/master@{#307962}
Remove suppressions for two AMD D3D9 tests.
The sRGB and depth texture tests should now pass on D3D9 AMD
systems. AMD-D3D9 only appears on the GPU FYI bots so GPU trybots
won't test this path.
BUG=angle:839
Review URL: https://codereview.chromium.org/792863002
Cr-Commit-Position: refs/heads/master@{#307961}
MacViews: Implement event monitoring for a specific window
ManagePasswordBubbleView wants to monitor events on a specific window,
currently using aura specific code that won't work for MacViews.
views::EventMonitor is enhanced to support monitoring events on a window,
with both Mac and Aura implementations.
Also includes minor compile fixes in ZoomBubbleView and StatusBubbleView.
BUG=425229
TEST=EventMonitorAuraTest, EventMonitorMacTest
Review URL: https://codereview.chromium.org/730833006
Cr-Commit-Position: refs/heads/master@{#307960}
Revert "Revert of Delete the enable/disable layer squashing flags and settings. (patchset #1 id:1 of https://codereview.chromium.org/785323002/)"
TBR=jochen
Review URL: https://codereview.chromium.org/795203002
Cr-Commit-Position: refs/heads/master@{#307959}
Add histogram for "scan credit card" usage.
BUG=439252
Review URL: https://codereview.chromium.org/785953004
Cr-Commit-Position: refs/heads/master@{#307958}
Unfriend views::internal::RootView from views::ViewTargeter
No longer necessary, so unfriend and delete the
associated TODO.
BUG=none
TEST=none
Review URL: https://codereview.chromium.org/796923002
Cr-Commit-Position: refs/heads/master@{#307957}
Roll src/third_party/WebKit 46f4a9f:b393412 (svn 186961:186969)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/46f4a9f..b393412
[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/802493002
Cr-Commit-Position: refs/heads/master@{#307956}
Remove "transition-compositing" flags
This removes the "enable-transition-compositing" and
"disable-transition-compositing" flags and the corresponding
about:flags experiment. The feature controlled by these flags
was removed from Blink (in http://crrev.com/206593005), so
these flags are currently no-ops.
BUG=178119,439845
Review URL: https://codereview.chromium.org/788393003
Cr-Commit-Position: refs/heads/master@{#307955}
Isolate remaining tests under ui/
BUG=98637
[email protected],[email protected]
Review URL: https://codereview.chromium.org/724603004
Cr-Commit-Position: refs/heads/master@{#307954}
Win32k lockdown: move to chrome://flags, add UMA, add Finch.
Supplying via command line is not sustainable because shortcuts are sometimes sanitized, so moving to a flag so a persistent state can be set.
Also add a Finch experiment to enable win32k lockdown, and an UMA metric to report when it's enabled (either by Finch or flags)
BUG=365160
Review URL: https://codereview.chromium.org/792873004
Cr-Commit-Position: refs/heads/master@{#307953}
Move some DocumentTabModel files upstream
* Moves the DocumentTabModel interface upstream.
* Moves the DocumentTabModelInfo protobuf that stores basic
info about a DocumentTabModel upstream. Formerly called
DocumentDatabase.
* Temporarily adds findbugs warnings until the DocumentTabModelImpl moves upstream.
BUG=415747
NOTRY=true
Review URL: https://codereview.chromium.org/796633002
Cr-Commit-Position: refs/heads/master@{#307952}
Cast: Fix missing variable initialization
TBR=miu
BUG=441390
Review URL: https://codereview.chromium.org/800533002
Cr-Commit-Position: refs/heads/master@{#307951}
Null out a field in the RenderFrameHostImpl dtor.
This will be useful as a signal in crash dumps, indicating that the dtor
has run.
BUG=438951
Review URL: https://codereview.chromium.org/794673002
Cr-Commit-Position: refs/heads/master@{#307950}
libwebp: cherry-pick non-Xcode clang (iOS) build fix
check for __apple_build_version__ to distinguish the two; a version
check could work as Apple bumped Xcode's to 5.x/6.x, but it's unclear
how upstream will deal with their versioning as they go 3.6+, so avoid
it for now.
Change-Id: I67cda67c4f68e262a92d805a63cc1496374be063
BUG=436897
Review URL: https://codereview.chromium.org/787333007
Cr-Commit-Position: refs/heads/master@{#307949}
Implement HasPermission() method in PermissionService.
This patch implements the HasPermission() method in the mojo PermissionService.
This methiod will be required for the Permissions API, see
https://w3c.github.io/permissions/
BUG=430238
Committed: https://crrev.com/277b23d74855b51ebe67ae0da7cd9e0b053044cf
Cr-Commit-Position: refs/heads/master@{#307302}
Committed: https://crrev.com/14570267ac4d5dc473d29f256e8d044e9bfcc8d2
Cr-Commit-Position: refs/heads/master@{#307504}
Review URL: https://codereview.chromium.org/750633003
Cr-Commit-Position: refs/heads/master@{#307948}
Revert "mac: Allow Chrome to hand off its active URL to other devices."
This breaks Mac Memory tests. They're still building 32-bit, and this CL used
instance variables in a class extension, which is only supported in 64-bit
builds.
> This CL adds the class HandoffManager, which is responsible for interfacing
> with Apple's Handoff APIs. It takes a GURL, and exposes that GURL to Handoff.
>
> This CL adds the class ActiveWebContentsObserver, which is responsible for
> listening to changes to the active browser, the active tab, and the visible
> URL. It notifies its delegate when any of this state might have changed.
>
> AppControllerMac is the delegate of ActiveWebContentsObserver, as well as the
> owner of the HandoffManager. When it receives a delegate callback, it passes an
> updated GURL to the HandoffManager. There is some minimal logic in
> AppControllerMac that prevents URLs from incognito windows from being passed to
> the HandoffManager.
>
> BUG=431051, 438823
> Committed: https://crrev.com/708abc5b0abb5e0916d779bf6d1342fd472a2aa1
> Cr-Commit-Position: refs/heads/master@{#307846}
[email protected]
NOTRY=true
BUG=431051, 438823
Review URL: https://codereview.chromium.org/799583002
Cr-Commit-Position: refs/heads/master@{#307947}
Delete deprecated synced notifications code
Synced notifications no longer have native code. Delete the remaining code
(which has not been used for serveral milestones).
BUG=439577
[email protected], [email protected], [email protected]
[email protected]
Review URL: https://codereview.chromium.org/780363003
Cr-Commit-Position: refs/heads/master@{#307946}
Fix WeakPtrFactory member ordering in chrome
Changing in the intialization order of WeakPtrFactory such that all
member variables should appear before the WeakPtrFactory to ensure
that any WeakPtrs to Controller are invalidated before its members
variable's destructors are executed, rendering them invalid.
BUG=303818
Review URL: https://codereview.chromium.org/795943002
Cr-Commit-Position: refs/heads/master@{#307945}
Disable RenderFrameHostManagerTest.RestoreFileAccessForHistoryNavigation
on Dr.Memory content_browsertest bots
[email protected]
BUG=none
NOTRY=true
Review URL: https://codereview.chromium.org/796453004
Cr-Commit-Position: refs/heads/master@{#307944}
Add the Sync.Attachments.StoreInitResult histogram.
BUG=436134
Review URL: https://codereview.chromium.org/751313005
Cr-Commit-Position: refs/heads/master@{#307943}
Fix CryptAuthApiCallFlow resulting in an error if the server returns an empty string.
A protocol buffer message can be serialized to the empty string.
Review URL: https://codereview.chromium.org/789353003
Cr-Commit-Position: refs/heads/master@{#307942}
cc: Removed rendering stats instrumentation from tile manager.
This patch removes some more rendering stats instrumentation references
from tile manager.
R=reveman
Review URL: https://codereview.chromium.org/793073002
Cr-Commit-Position: refs/heads/master@{#307941}
Reduce DRP telemetry tests' dependence on net-internals#proxy.
Reduce the data reduction proxy tests' dependence on
net-internals#proxy. After this change, the only tests that still depend
on net-internals#proxy are http_to_direct_fallback, fallback_viaheader,
fallback_probe, explicit_bypass. These tests, along with the
safebrowsing test, are the only ones that can't run against the
android-webview-shell yet.
BUG=440522
Review URL: https://codereview.chromium.org/744703003
Cr-Commit-Position: refs/heads/master@{#307940}
Fix metrics in actions.xml
BUG=440618
[email protected],[email protected]
Review URL: https://codereview.chromium.org/793503003
Cr-Commit-Position: refs/heads/master@{#307939}
Fix some closure compilation issues 8n order to update compiler.jar
[email protected]
BUG=78368
Review URL: https://codereview.chromium.org/780773002
Cr-Commit-Position: refs/heads/master@{#307938}
apps/extensions: add "..." to the end of "Remove from Chrome{e,ium}".
This affects context menus on chrome://apps and right clicking extension icons.
We generally match Windows menu items here, which basically go by the ideology
"if there is more to do after activating this command, add a ... to the end".
http://msdn.microsoft.com/en-us/library/windows/desktop/dn742392%28v=vs.85%29.aspx
I interpret the "Really remove?" prompt after clicking the item as "more to do".
[email protected]
BUG=440366
Review URL: https://codereview.chromium.org/789413002
Cr-Commit-Position: refs/heads/master@{#307937}
[DevTools] Hide unnecessary device header for webrtc devices.
BUG=383418
Review URL: https://codereview.chromium.org/800453002
Cr-Commit-Position: refs/heads/master@{#307936}
Roll src/third_party/WebKit 56b0319:46f4a9f (svn 186954:186961)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/56b0319..46f4a9f
[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/796683003
Cr-Commit-Position: refs/heads/master@{#307935}
Make DYNAMIC_ANNOTATIONS_ENABLED imply SK_DYNAMIC_ANNOTATIONS_ENABLED.
This ought to make Chrome see Skia's TSAN annotations, and so clear up
the intermittent TSAN warnings we're seeing from TRACE macros.
BUG=430815
Review URL: https://codereview.chromium.org/794653003
Cr-Commit-Position: refs/heads/master@{#307934}
Add null check to -zoomHelper: method.
Null deref crash has been observed in the wild.
BUG=441334
Review URL: https://codereview.chromium.org/796043002
Cr-Commit-Position: refs/heads/master@{#307933}
[Extensions] Fix content script injection for blocking scripts
Ensure that if a content script has blocking code (such as a javascript alert),
we don't try to continue injecting scripts.
BUG=431263
Review URL: https://codereview.chromium.org/792913002
Cr-Commit-Position: refs/heads/master@{#307932}
Prompt user to set up an OS password when he saves a password in Chrome.
The code contains a new bubble for this project. The bubble is never shown currently.
BUG=439465
Review URL: https://codereview.chromium.org/793383002
Cr-Commit-Position: refs/heads/master@{#307931}
Fixed header file location.
r278311 moved bitmap fetcher into its own directory, but missed on file
and didn't delete a second. Remedying that.
BUG=none
[email protected]
[email protected]
Review URL: https://codereview.chromium.org/796693002
Cr-Commit-Position: refs/heads/master@{#307930}
Drop the VibrationManager service mojo connection after use.
Currently the Vibration API mojo service connection is kept alive at all times
after the first use (in render_blink_platform_impl) and is not explicitly
closed. As per crbug.com/440435 the fuzzer is complaining about a
"use after free" for a layout test using vibration. It appears the connection
and it's browser-side implementation is destroyed after shutdown..
It looks like we don't need to keep the connection anyway as the Vibration
API is a one-way api (i.e. from the renderer to the browser). This patch
addresses the above issue by resetting the mojo connection on the renderer
side after each call.
BUG=440435
Review URL: https://codereview.chromium.org/795703002
Cr-Commit-Position: refs/heads/master@{#307929}
suppress uninit read at av_packet_unpack_dictionary in media unittests
BUG=441333
[email protected]
NOTRY=true
Review URL: https://codereview.chromium.org/793383004
Cr-Commit-Position: refs/heads/master@{#307928}
Make Logcat yield lines
This CL makes adb.Logcat yield line by line the log of a device.
Will be potentially useful for clients wishing to monitor the log while
waiting for an event to happen.
BUG=438244
Review URL: https://codereview.chromium.org/776543004
Cr-Commit-Position: refs/heads/master@{#307927}
chromeos: Document ShutdownReason values for histograms.
Document several more reasons that Chrome OS can shut down
(the underlying enum is defined within powerd, the Chrome OS
power manager).
BUG=none
Review URL: https://codereview.chromium.org/792063003
Cr-Commit-Position: refs/heads/master@{#307926}
[telemetry] Make thread_times measurment dump its trace value to results
So that when --upload-results option is specified, the trace log can
be uploaded to cloud.
BUG=440982
TEST=run thread_times.key_silk_cases with --upload-results and check that
the trace log is uploaded to cloud.
Review URL: https://codereview.chromium.org/792213002
Cr-Commit-Position: refs/heads/master@{#307925}
Collapse selection if tap is in middle of text selection
When an editable text is selected and touch selection handles are
present, tapping in the middle of selection should collapse selection to
a cursor at tap position.
BUG=419894
Review URL: https://codereview.chromium.org/790523002
Cr-Commit-Position: refs/heads/master@{#307924}
Include model type in attachment uploads and downloads
Pass model type using EntitySpecifics field number in HTTP header on
attachment uploads and downloads. We use the field number because
that's a sync-standard way of communicating model type to the server.
Update comment for GetSpecificsFieldNumberFromModelType to reflect the
fact that this method is use outside of test code.
BUG=440928
Review URL: https://codereview.chromium.org/785063005
Cr-Commit-Position: refs/heads/master@{#307923}
Revert "Non-SFI mode: Use dummy PID for NaCl's IPC channel and IPC channel on Linux platform."
This reverts commit d3eb0838097cbffb09005db2b66ffcdd7e2b9417.
Reason for revert, it breaks chrome://webrtc_internals on Linux.
BUG=441312,358465
[email protected]
Review URL: https://codereview.chromium.org/795153002
Cr-Commit-Position: refs/heads/master@{#307922}
Revert of Remove check for native events in SystemGestureEventFilter::OnMouseEvent() (patchset #1 id:20001 of https://codereview.chromium.org/784233002/)
Reason for revert:
broke ozone build: http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Ozone%20Builder/builds/8366/steps/compile/logs/stdio
Original issue's description:
> Remove check for native events in SystemGestureEventFilter::OnMouseEvent()
>
> BUG=401590
> TEST=None
>
> Committed: https://crrev.com/d2b68827125a71539cbe2ba56eb63aed7c6630e2
> Cr-Commit-Position: refs/heads/master@{#307913}
[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=401590
Review URL: https://codereview.chromium.org/801433002
Cr-Commit-Position: refs/heads/master@{#307921}
cc: Removing unused scheduler::WillDrawIfNeeded method.
BUG=
Review URL: https://codereview.chromium.org/791783003
Cr-Commit-Position: refs/heads/master@{#307920}
suggestions_store_unittest is not using rand() anymore
suggestions_store_unittest is modified not to use rand() as it can be not deterministic even with a constant seed.
BUG=440255
Review URL: https://codereview.chromium.org/789373002
Cr-Commit-Position: refs/heads/master@{#307919}
Move CrOS MSan test specs to chromium.memory.fyi.
BUG=419367
[email protected]
NOTRY=true
Review URL: https://codereview.chromium.org/780303004
Cr-Commit-Position: refs/heads/master@{#307918}
ozone: Add HDPM to gbm and include a pageflip/overlay implementation. Atomic implementation to follow
Review URL: https://codereview.chromium.org/629293003
Cr-Commit-Position: refs/heads/master@{#307917}
Splitting chrome/browser/devtools/device/webrtc/webrtc_device_provider.cc on several files.
It has become too big.
BUG=383418
Review URL: https://codereview.chromium.org/795093002
Cr-Commit-Position: refs/heads/master@{#307916}
Fix WeakPtrFactory member ordering in content
Changing in the intialization order of WeakPtrFactory such that all member variables should appear before the WeakPtrFactory to ensure that any WeakPtrs to Controller are invalidated before its members variable's destructors are executed, rendering them invalid.
BUG=303818
Review URL: https://codereview.chromium.org/794083002
Cr-Commit-Position: refs/heads/master@{#307915}
Update extensions::MessagingBindings to use WebScopedWindowFocusAllowedIndicator with WebDocument.
This will allow Blink to delete some deprecated code.
This is part of a three-sided CL:
Part 1: https://codereview.chromium.org/777483004/
Part 2: <this>
Part 3: https://codereview.chromium.org/722423004
BUG=440740
Review URL: https://codereview.chromium.org/786403003
Cr-Commit-Position: refs/heads/master@{#307914}
Remove check for native events in SystemGestureEventFilter::OnMouseEvent()
BUG=401590
TEST=None
Review URL: https://codereview.chromium.org/784233002
Cr-Commit-Position: refs/heads/master@{#307913}
cc: Small refactor of scheduler_state_machine_unittest macros.
Makes the output on failure nicer in many cases. Reduced a lot of duplication
in the process.
Review URL: https://codereview.chromium.org/795473002
Cr-Commit-Position: refs/heads/master@{#307912}
Push API: delete MockWebPushClient [switchover 2/6]
This functionality is being replaced by LayoutTestPushMessagingService.
Depends on https://codereview.chromium.org/735293005/ (Push API: delete the old layout tests.)
This part 2 of a series of 6 patches. See https://crbug.com/440076 for the plan to land them.
BUG=389194, 440076
Review URL: https://codereview.chromium.org/784873004
Cr-Commit-Position: refs/heads/master@{#307911}
Roll src/third_party/WebKit 95958ac:56b0319 (svn 186950:186954)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/95958ac..56b0319
[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/797583005
Cr-Commit-Position: refs/heads/master@{#307910}
Remove declaration of nonexistent ui_test_utils::TakeEntirePageSnapshot.
This function was removed about 18 months ago:
https://chromiumcodereview.appspot.com/14663014/
Its declaration seems to have been left behind, and should be removed to avoid
confusion.
BUG=None
Review URL: https://codereview.chromium.org/792043003
Cr-Commit-Position: refs/heads/master@{#307909}
Enable presubmit check for copyrighted material in added / modified code
This check is already for a long time performed on some of the main
waterfall bots, including "Android Builder (dbg)",
"Android Clang Builder (dbg)", "Android Arm64 Builder (dbg)", and
also on trybots. The step is called "check licenses".
However, it's better to detect issues even earlier, so we did make sure
that the check can run on Windows, and would like to start running it
during presubmit.
Note that the presubmit check is simpler than the bot check, as it only
scans the files for "copyright-like" strings, while the bot check also
verifies that third-party projects contain Android-compatible licenses.
BUG=343104
Review URL: https://codereview.chromium.org/788163002
Cr-Commit-Position: refs/heads/master@{#307908}
Make the android_webview/glue code actually work.
This patch contains a number of fixes to the glue:
- use the actual package name instead of a hardcoded value when referencing
resources (note: this makes android_webview/glue not compatible with the
Android.mk-based build),
- fix unused imports, add missing docs,
- fix up style,
- un-commend some @Override that we forgot to un-comment,
- suppress deprecation warnings (unfortunately the only way to suppress
overriding deprecated methods or importing deprecated classes is to
suppress warnings for the entire class).
This change also drops the AOSP glue layer DEPS entry.
[email protected]
BUG=440792
Review URL: https://codereview.chromium.org/792103002
Cr-Commit-Position: refs/heads/master@{#307907}
Have FakeGCMProfileService return different registration IDs each time
This will be necessary for testing that the Push API code properly
persists push registrations to disk.
The slightly odd 1000 * (sender_ids.size() - 1) means that existing tests that only register once and pass in a single sender ID are unchanged.
BUG=429212
Review URL: https://codereview.chromium.org/785983002
Cr-Commit-Position: refs/heads/master@{#307906}
DevTools: wipe cursor image after allocation.
BUG=441195
Review URL: https://codereview.chromium.org/792333003
Cr-Commit-Position: refs/heads/master@{#307905}
Revert of Reland of Migrate DeviceUtils.ReadFile to adb_wrapper (patchset #3 id:40001 of https://codereview.chromium.org/794583004/)
Reason for revert:
Broke again android perf bots and nexus 7 debug with error:
CRITICAL:root:Cannot set Chrome command line. Fix this by flashing to a userdebug build.
Original issue's description:
> Reland of Migrate DeviceUtils.ReadFile to adb_wrapper
>
> Original description:
>
> The implementation is based on a simple 'cat' run by shell on the
> device (with optional as_root).
>
> Interface changes:
> - The return value is a string (instead of a list of lines).
> - An exception is raised if the file cannot be read
> (instead of returning an empty list).
>
> Original CL: https://codereview.chromium.org/775333002/
>
> BUG=267773
>
> Committed: https://crrev.com/a8d3b82a9c779568ee64ec5c261c6c7024ef8759
> Cr-Commit-Position: refs/heads/master@{#307881}
[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=267773
Review URL: https://codereview.chromium.org/796013004
Cr-Commit-Position: refs/heads/master@{#307904}
Roll src/third_party/skia 90d354e:0ac8c78
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/90d354e..0ac8c78
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/793373002
Cr-Commit-Position: refs/heads/master@{#307903}
ui/base: Cleanup usage of scoped_ptr.
* Use make_scoped_ptr() when possible (less typing/noise).
* Return nullptr whenever possible.
The entries were found with the following command line:
$ git grep -E '(=|\breturn)\s*scoped_ptr<.*?>([^)]+)' ui/aura
BUG=None
TEST=ui_base_unittests
[email protected]
Review URL: https://codereview.chromium.org/792503004
Cr-Commit-Position: refs/heads/master@{#307902}
[bisect] - Add revision info to profiler links, if available.
Previously, if you kicked off a perf try job with traces enabled and a start/end revision to test, the profiling links would still be called "With Patch/Without Patch". Instead, they should be named with the revisions they were run against.
Without CL: http://build.chromium.org/p/tryserver.chromium.perf/builders/linux_perf_bisect/builds/1173
With CL: http://build.chromium.org/p/tryserver.chromium.perf/builders/linux_perf_bisect/builds/1170
BUG=
Review URL: https://codereview.chromium.org/786303002
Cr-Commit-Position: refs/heads/master@{#307901}
Roll src/third_party/WebKit 551c81e:95958ac (svn 186848:186950)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/551c81e..95958ac
[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/795103002
Cr-Commit-Position: refs/heads/master@{#307900}
[Ozone-DRI] Remove 2 display limit
DisplayConfigurator & Ash now support more than 2 displays, so we can
remove the limit from Ozone.
BUG=none
NOTRY=true
Review URL: https://codereview.chromium.org/789263003
Cr-Commit-Position: refs/heads/master@{#307899}
[Push] Remove unused disable-sync-gcm-in-order-to-try-push-api flag
BUG=437821
Review URL: https://codereview.chromium.org/791963002
Cr-Commit-Position: refs/heads/master@{#307898}
Revert of Rename isSystemLocationEnabled to isLocationEnabled. (patchset #1 id:1 of https://codereview.chromium.org/755643006/)
Reason for revert:
Broke compile.
Original issue's description:
> Rename isSystemLocationEnabled to isLocationEnabled, as per internal review (185995).
>
> The function is still used by the non-public repo, so I'll do this in two steps (provide an alternate function and then remove the old one once all callers have been converted).
>
> BUG=434920
> TBR=bauerb
> NOTRY=true
>
> (TBR-ing after review because this style-guide violation spotted by the bot is temporary until the rename is complete and the end-result, which will follow shortly, is style-guide compliant so fixing this would be throw-away work).
>
> Committed: https://crrev.com/857b5171ddce428338fd3ce3f5ed6e75c9624204
> Cr-Commit-Position: refs/heads/master@{#307895}
[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=434920
Review URL: https://codereview.chromium.org/796853002
Cr-Commit-Position: refs/heads/master@{#307897}
Update V8 to version 3.31.52 (based on aa0664e58f0a8b66f64879f239f77154215b30bc).
[email protected]
Review URL: https://codereview.chromium.org/792403003
Cr-Commit-Position: refs/heads/master@{#307896}
Rename isSystemLocationEnabled to isLocationEnabled, as per internal review (185995).
The function is still used by the non-public repo, so I'll do this in two steps (provide an alternate function and then remove the old one once all callers have been converted).
BUG=434920
TBR=bauerb
NOTRY=true
(TBR-ing after review because this style-guide violation spotted by the bot is temporary until the rename is complete and the end-result, which will follow shortly, is style-guide compliant so fixing this would be throw-away work).
Review URL: https://codereview.chromium.org/755643006
Cr-Commit-Position: refs/heads/master@{#307895}
Change next_proto member type.
Change type of next_proto members of HttpNetworkTransaction and SSLConfig from
vector<string> to NextProtoVector. This offers better type safety and clarity.
Also, when SSLClientConfig needs to remove HTTP/2 protocols due to inadequate
security, it would feel silly having to convert strings back to NextProto. It
just makes sense to postpone generating strings until very close to the wire.
BUG=436835
Review URL: https://codereview.chromium.org/794563003
Cr-Commit-Position: refs/heads/master@{#307894}
Add histrograms for navigation starting at link click time
This CL adds histograms that track navigation time from the moment a user
clicks on a link (as opposed to the navigation start time). This is based on a
blink patch, available at https://chromiumcodereview.appspot.com/773543002/.
BUG=436955
Review URL: https://codereview.chromium.org/772593002
Cr-Commit-Position: refs/heads/master@{#307893}
Updating trunk VERSION from 2247.0 to 2248.0
Cr-Commit-Position: refs/heads/master@{#307892}
content: Add tracing to SingleThreadIdleTaskRunner
Add tracing of idle task execution, allotted time and whether it overran its deadline.
BUG=391005
Review URL: https://codereview.chromium.org/712923003
Cr-Commit-Position: refs/heads/master@{#307891}
Upstream injected JavaScript for the iOS web layer
Review URL: https://codereview.chromium.org/788253002
Cr-Commit-Position: refs/heads/master@{#307890}
Ensure there are always nice icons for bookmark apps.
This change does a few things. Firstly, it stops bookmark apps from
using downloaded favicons / manifest icons. Secondly, it syncs the
color it uses to generate icons. Thirdly, machines that bookmark apps
are synced onto will now generate icons using the synced color.
This means bookmark apps will always have nice icons (although not the
ones downloaded) and they will always be consistent across machines.
Once blob sync is available the downloaded icons will be kept and
synced.
BUG=439347
Review URL: https://codereview.chromium.org/782693002
Cr-Commit-Position: refs/heads/master@{#307889}
[android_webview] Move the glue layer into android_webview/glue
This checks in a copy of the WebView glue layer from master-chromium
at revision d519b07bd3cb09b571689b00250cb5de977b4dfc.
Changes to make the code adhere to the style guide, fix up warnigns
and actually switch over to this from the copy in third_party will
be made as subsequent CLs.
BUG=440792
TEST=None
[email protected], [email protected]
Review URL: https://codereview.chromium.org/795033002
Cr-Commit-Position: refs/heads/master@{#307888}
Roll src/third_party/skia 3490263:90d354e
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/3490263..90d354e
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/793253003
Cr-Commit-Position: refs/heads/master@{#307887}
Sending GCD commands.
Commands needed as signaling channel for WebRTC session.
Since authentication and and cloud services involved there is not much that can be tested automatically. For manual testing:
1. Register DevTools Bridge test app.
2. Enable the "debug devtools" flag.
3. Sign in into Chrome.
4. Open inspector for chrome://webrtc-device-provider/background_worker.html
5. Send a command from console.
6. Observe console messages.
Example of a command:
chrome.send('sendCommand', [{deviceId: WebRTCDeviceProvider.instance.lastDeviceId, 'name': 'base._startSession', 'parameters': {}}])
BUG=383418
Review URL: https://codereview.chromium.org/792523002
Cr-Commit-Position: refs/heads/master@{#307886}
Add Session name to the list of path variables known on Windows.
BUG=416790
TEST=unit_tests
Review URL: https://codereview.chromium.org/747893006
Cr-Commit-Position: refs/heads/master@{#307885}
Allow dynamic assignment of alert role on AXWindowObjWrapper.
BUG=440724
Review URL: https://codereview.chromium.org/796463002
Cr-Commit-Position: refs/heads/master@{#307884}
Add finer error reporting to PolicyPathParser for mac.
Should help us investigate the flaky test and fix it.
WARNING: This CL enables a flaky test which is intended!
BUG=327520
TEST=unit_tests
Review URL: https://codereview.chromium.org/784893002
Cr-Commit-Position: refs/heads/master@{#307883}
Roll src/third_party/skia 2947382:3490263
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/2947382..3490263
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/792333002
Cr-Commit-Position: refs/heads/master@{#307882}
Reland of Migrate DeviceUtils.ReadFile to adb_wrapper
Original description:
The implementation is based on a simple 'cat' run by shell on the
device (with optional as_root).
Interface changes:
- The return value is a string (instead of a list of lines).
- An exception is raised if the file cannot be read
(instead of returning an empty list).
Original CL: https://codereview.chromium.org/775333002/
BUG=267773
Review URL: https://codereview.chromium.org/794583004
Cr-Commit-Position: refs/heads/master@{#307881}
Add a command line switch for emulating shader precision
The switch sets Chrome to universally turn on ANGLE's precision
emulation. Currently it works only with the GL backends
(--use-gl=desktop on Windows). This feature is useful for testing and
debugging WebGL rendering corruption issues that appear on mobile
platforms.
Also moves gl-shader-interm-output switch to gpu_switches, where it
belongs.
BUG=438607
Review URL: https://codereview.chromium.org/784273003
Cr-Commit-Position: refs/heads/master@{#307880}
Add video metrics from webrtc to histograms.xml.
- send/receive bitrates
- received framerate
- decoded framerate
- percentage of delayed frames to renderer
- average delay of delayed frames to renderer
BUG=419657
Review URL: https://codereview.chromium.org/790133002
Cr-Commit-Position: refs/heads/master@{#307879}
Methods and types rename for child accounts.
BUG=372381
[email protected],[email protected]
Review URL: https://codereview.chromium.org/790503002
Cr-Commit-Position: refs/heads/master@{#307878}
Add type annotations to gallery/js/image_editor/image_editor.js.
BUG=433728
TEST=GYP_GENERATORS=ninja tools/gyp/gyp --depth . ui/file_manager/gallery/js/compiled_resources.gyp && ninja -C out/Default | grep "js/image_editor/image_editor.js"
Review URL: https://codereview.chromium.org/799493002
Cr-Commit-Position: refs/heads/master@{#307877}
Automated Commit: Committing new LKGM version 6570.0.0 for chromeos.
Cr-Commit-Position: refs/heads/master@{#307876}
Remove BrowserThread::GetBlockingPool() from chromeos::VersionLoader
Also, remove VersionLoader class and its inner class Backend.
Both of them turned out to be unnecessary. :P
This is in preparation for moving chrome::VersionLoader from
src/chrome/browser/chromeos to src/chromeos
BUG=437719
TEST=about:version works as before (Platform: line is correct) on the real device
Review URL: https://codereview.chromium.org/767163002
Cr-Commit-Position: refs/heads/master@{#307875}
ServiceWorker: Reject registration access from script created documents
This fixes DCHECK failure (BadMessageReceived on release) when attempting
to register/unregister/lookup SW from a document in an iframe using
frame.contentDocument.write(...).
The origin check should be done against the iframe's origin, which is the
same as its container document's origin. But as a quick fix for the crash,
this patch rejects registration access from such iframe documents.
BUG=436034,439696
Review URL: https://codereview.chromium.org/798453003
Cr-Commit-Position: refs/heads/master@{#307874}
Add keyboard navigation for start page tiles in experimental app list.
This CL adds keyboard navigation to the tiles on the experimental app list's
start page.
BUG=438568
Review URL: https://codereview.chromium.org/730343008
Cr-Commit-Position: refs/heads/master@{#307873}
Make SearchResultPageView animation clip to its onscreen bounds.
This CL makes the search page clip to its onscreen bounds during animations.
This prevents the search results from animating in behind the search box when
performing a search from the apps page.
BUG=439853
Review URL: https://codereview.chromium.org/781833005
Cr-Commit-Position: refs/heads/master@{#307872}
Revert of clang: Remove unused warning suppression flags. (patchset #1 id:1 of https://codereview.chromium.org/784183002/)
Reason for revert:
Caused this warning:
..\..\third_party\mesa\src\src\glsl\ast_to_hir.cpp(4067,3) : warning(clang): struct 'ir_variable' was previously declared as a class [-Wmismatched-tags]
struct ir_variable *var = (ir_variable *)node;
^
..\..\third_party\mesa\src\src\glsl/ir.h(306,7) : note(clang): previous use is here
class ir_variable : public ir_instruction {
^
..\..\third_party\mesa\src\src\glsl\ast_to_hir.cpp(4067,3) : note(clang): did you mean class here?
struct ir_variable *var = (ir_variable *)node;
^~~~~~
class
1 warning generated.
Original issue's description:
> clang: Remove unused warning suppression flags.
>
> BUG=
> TBR=cpu
>
> Committed: https://crrev.com/dd843a59d5564ef7d5113151b5078601ab621177
> Cr-Commit-Position: refs/heads/master@{#307408}
[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=
Review URL: https://codereview.chromium.org/798493002
Cr-Commit-Position: refs/heads/master@{#307871}
Roll src/third_party/skia 733fc20:2947382
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/733fc20..2947382
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/792233003
Cr-Commit-Position: refs/heads/master@{#307870}
Wait for debugd before showing enable-dev-features UI.
- Add WaitForServiceToBeAvailable to DebugDaemonClient;
- Wait for debugd before showing enable-dev-features UI;
BUG=440506
Review URL: https://codereview.chromium.org/793863002
Cr-Commit-Position: refs/heads/master@{#307869}
Add type annotations to gallery/js/image_editor/exif_encoder.js.
BUG=433728
TEST=out/Release/browser_tests --gtest_filter=GalleryJsTest.ExifEncoderTest
Review URL: https://codereview.chromium.org/794513003
Cr-Commit-Position: refs/heads/master@{#307868}
Remove timing limitation of SetOption invocation for PPAPI sockets.
Currently PPAPI has timing limitation for sockets' SetOption.
NODELAY, and BROADCAST need to be before Connect() or Bind(),
while RCVBUF_SIZE and SNFBUF_SIZE need to be after it.
This CL removes such a limitation.
Along with the change, pepper_udp_socket_message_filter starts to use UDPSocket instead of UDPServerSocket, so that the implementation direction gets closer to TCP message filter a little bit.
BUG=425563, 420697
TEST=Ran trybots.
Review URL: https://codereview.chromium.org/690903002
Cr-Commit-Position: refs/heads/master@{#307867}
Add type annotations to gallery/js/background.js.
BUG=433728
TEST=GYP_GENERATORS=ninja tools/gyp/gyp --depth . ui/file_manager/gallery/js/compiled_resources.gyp && ninja -C out/Default | grep "background.js"
Review URL: https://codereview.chromium.org/792313002
Cr-Commit-Position: refs/heads/master@{#307866}
[Hotword] Close hotword notification after user has click button.
Otherwise the notification just hangs out in the tray.
BUG=440124
Review URL: https://codereview.chromium.org/787333008
Cr-Commit-Position: refs/heads/master@{#307865}
Add launcherPage.setEnabled API.
This CL adds a launcherPage.setEnabled API which enables or disables the
click zone in the app list which shows and hides the custom launcher page.
BUG=438948
Review URL: https://codereview.chromium.org/778643009
Cr-Commit-Position: refs/heads/master@{#307864}
Add type annotations to gallery/js/image_buffer.js.
BUG=433728
TEST=GYP_GENERATORS=ninja tools/gyp/gyp --depth . ui/file_manager/gallery/js/compiled_resources.gyp && ninja -C out/Default | grep "image_buffer.js"
Review URL: https://codereview.chromium.org/795883002
Cr-Commit-Position: refs/heads/master@{#307863}
ServiceWorker: Add support for .skipWaiting and controllerchange event(2/3)
The ServiceWorkerScriptContext will handle .skipWaiting request by
sending an IPC message to browser process. The message will be handled
by ServiceWorkerVersion.
Currently we will only affect controllees using the same registration of
the worker.
Spec:
http://slightlyoff.github.io/ServiceWorker/spec/service_worker/#service-worker-global-scope-skipwaiting
https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#service-worker-container-controllerchange-event
(1/3): https://codereview.chromium.org/723923002/
(2/3): This
(3/3): https://codereview.chromium.org/765323002/
BUG=370742
Review URL: https://codereview.chromium.org/717353004
Cr-Commit-Position: refs/heads/master@{#307862}
Add UMA stats to the Origin Info dialog on Android
Add UMA stats that count how many times permissions are changed from
the Origin Info dialog, including specifically when a permission is
set to 'Allowed' or 'Blocked'.
BUG=433776
Review URL: https://codereview.chromium.org/769763004
Cr-Commit-Position: refs/heads/master@{#307861}
Refactor: Extract common code for generating asymmetric keys to a helper.
Review URL: https://codereview.chromium.org/786363002
Cr-Commit-Position: refs/heads/master@{#307860}
Adds histograms for casting feature of Video Player
BUG=415386
TEST=browser_test passes
Review URL: https://codereview.chromium.org/760853003
Cr-Commit-Position: refs/heads/master@{#307859}
Fix obsolete test names in test-info.json
BUG=440305, 440314
Review URL: https://codereview.chromium.org/793623002
Cr-Commit-Position: refs/heads/master@{#307858}
Ignore seek operations to the current time during pause state. This change
is required to remove the noseekrequired logic in HTMLMediaElement.cpp
BUG=266631
Review URL: https://codereview.chromium.org/740663002
Cr-Commit-Position: refs/heads/master@{#307857}
Remove unused chrome.send's in Accessibility settings
These checkboxes were updated to correspond to prefs, so the C++ handlers
were removed, but the JS event handlers stayed behind.
BUG=crashes in Debug builds
R=*[email protected],[email protected]
Review URL: https://codereview.chromium.org/796623002
Cr-Commit-Position: refs/heads/master@{#307856}
Further instrumentations of app list text painting.
Comment #28 in the bug explains why we are instrumenting Label this way.
BUG=431326, 440224, 441028
Review URL: https://codereview.chromium.org/795823002
Cr-Commit-Position: refs/heads/master@{#307855}
Prompt for unmasking Wallet credit card on Android
Bare-bones implementation. enable with new flag --enable-wallet-card-import.
BUG=437116
Review URL: https://codereview.chromium.org/756333003
Cr-Commit-Position: refs/heads/master@{#307854}
Non-SFI mode: Use dummy PID for NaCl's IPC channel and IPC channel on Linux platform.
We do not want to expose PID from process on Linux, because it does not play any security role.
Specifically, in NaCl processes, now although getpid() syscall is prohibited by seccomp sandbox, it looks working, probably because of the cache in libc layer.
By this CL, Linux IPC, including nacl_helper_nonsfi, uses dummy PID (-1).
Note; as for nacl_helper process, currently, the process is under PID namespace, so "dummy-like-" PID is already used.
BUG=358465
TEST=Ran trybot.
Review URL: https://codereview.chromium.org/695353005
Cr-Commit-Position: refs/heads/master@{#307853}
Implement ServiceWorkerClient attributes [2/3]
Patch dependency:
[1] Blink: https://crrev.com/783663002/
[2] Chromium: https://crrev.com/771103002/ (THIS PATCH)
[3] Blink: https://crrev.com/778703004/
Spec: http://slightlyoff.github.io/ServiceWorker/spec/service_worker/#service-worker-client
BUG=436335,437152
Review URL: https://codereview.chromium.org/771103002
Cr-Commit-Position: refs/heads/master@{#307852}
[ServiceWorker] Re-enable service_worker.service_worker perf test.
This test was disabled because of the lack of avconv in the try bots.
BUG=433943
Review URL: https://codereview.chromium.org/794013002
Cr-Commit-Position: refs/heads/master@{#307851}
Fix a race in the creation of HidConnectionLinux::Helper.
The creation of this object on the FILE thread races with the possible
destruction of the object on the UI thread. The scoped_ptr<> that owns
the pointer may try to destroy the object on the UI thread if the
connection is closed before the helper is started. Generally, updating
the helper_ pointer from the FILE thread is a bad idea.
This patch moves creation of the helper to the UI thread, it is then
detached from that thread when it is started. The HidConnectionLinux no
longer uses a scoped_ptr<> to hold it and instead must always free it
explicitly with DeleteSoon.
BUG=
Review URL: https://codereview.chromium.org/786343003
Cr-Commit-Position: refs/heads/master@{#307850}
Return the result of CanDiscoverDevices in android_browser_finder.py
BUG=
Review URL: https://codereview.chromium.org/796703002
Cr-Commit-Position: refs/heads/master@{#307849}
Avoid crash on startup if VAAPI cannot be initialized.
The call to vaTerminate crashes if vaInitialize failed. Therefore,
remember whether vaInitialize succeeded, and do not call vaTerminate if
it failed.
BUG=425732
Review URL: https://codereview.chromium.org/784273002
Cr-Commit-Position: refs/heads/master@{#307848}
Check client_ in SurfaceDisplayOutputSurface::SwapBuffersComplete
This may now be called in the destructor, where client_ is NULL.
Review URL: https://codereview.chromium.org/794963002
Cr-Commit-Position: refs/heads/master@{#307847}
mac: Allow Chrome to hand off its active URL to other devices.
This CL adds the class HandoffManager, which is responsible for interfacing
with Apple's Handoff APIs. It takes a GURL, and exposes that GURL to Handoff.
This CL adds the class ActiveWebContentsObserver, which is responsible for
listening to changes to the active browser, the active tab, and the visible
URL. It notifies its delegate when any of this state might have changed.
AppControllerMac is the delegate of ActiveWebContentsObserver, as well as the
owner of the HandoffManager. When it receives a delegate callback, it passes an
updated GURL to the HandoffManager. There is some minimal logic in
AppControllerMac that prevents URLs from incognito windows from being passed to
the HandoffManager.
BUG=431051, 438823
Review URL: https://codereview.chromium.org/767143007
Cr-Commit-Position: refs/heads/master@{#307846}
Add boolean histogram Sync.Attachments.DownloadChecksumResult.
BUG=436134
Review URL: https://codereview.chromium.org/771323003
Cr-Commit-Position: refs/heads/master@{#307845}
Replace SystemUIResourceManager with ResourceManager
And move UIResourceClientAndroid and UIResourceProvider under ui/android.
BUG=426939
Review URL: https://codereview.chromium.org/755643004
Cr-Commit-Position: refs/heads/master@{#307844}
Failing to initialize VAAPI only logs an error on CrOS.
BUG=423029
TEST=run browser_tests in linux with chromeos=1, pass
ExtensionCrxInstallerTest.DoNotSync, no VAAPI error message anymore.
Review URL: https://codereview.chromium.org/708053003
Cr-Commit-Position: refs/heads/master@{#307843}
Namespace cleanup in view
Nukes an unused namespace and moves code outside of views namespace
into views namespace.
BUG=none
TEST=none
[email protected]
[email protected]
Review URL: https://codereview.chromium.org/791993003
Cr-Commit-Position: refs/heads/master@{#307842}
cc: Use GetSize instead of recorded_viewport_
recorded_viewport_ doesn't always reflect the layer size, and as a result the solid
color analysis wasn't being run correctly when recorded_viewport_ was cleared.
BUG=435187
Review URL: https://codereview.chromium.org/792143003
Cr-Commit-Position: refs/heads/master@{#307841}
[Chromoting] Remove ClientSession.Capability.MEDIA_SOURCE_RENDERING.
MEDIA_SOURCE_RENDERING shouldn't be a ClientSession.Capability because:
(1) It does not need to be negotiated with the host.
(2) Capabilities are not guaranteed to be available in onPluginInitialized
Bug was that the Capability was always null so MediaSource we never being
used. Since this flag is only temporary (until VP9 is stable in mediaSource)
we simply make it a boolean (always True for CRD).
NOTRY=True
BUG=440922
Review URL: https://codereview.chromium.org/798443002
Cr-Commit-Position: refs/heads/master@{#307840}
Enabled bookmarks experiment for en-US (except CrOS), removed sync experiment (kept finch)
BUG=
Review URL: https://codereview.chromium.org/792073004
Cr-Commit-Position: refs/heads/master@{#307839}
Close fds for SharedMemory backing SharedBitmaps in browser
The file descriptors are never used once the memory is mapped, so close them to reduce the number of open file descriptors.
BUG=362048,434890,425766,364272,412136,436677
Review URL: https://codereview.chromium.org/791073003
Cr-Commit-Position: refs/heads/master@{#307838}
bookmarks: Cleanup - Rename 'OtherBookmarked' to 'OtherBookmarks'.
The name of the folder shown in the Bookmarks Bar is "Other Bookmarks"
not "Other Bookmarked".
Rename the function and the member variable to say "OtherBookmarks" and
"other_bookmarks".
BUG=None
[email protected]
Review URL: https://codereview.chromium.org/723223005
Cr-Commit-Position: refs/heads/master@{#307837}
Expose mock geofencing service via testRunner.
BUG=383125
Review URL: https://codereview.chromium.org/701953007
Cr-Commit-Position: refs/heads/master@{#307836}
Added ability to force a GLContext SwapInterval to zero.
This will be important for consistency once we allow the SwapInterval to be set dynamically through dev tools.
BUG=437172
Review URL: https://codereview.chromium.org/789823004
Cr-Commit-Position: refs/heads/master@{#307835}
Clean up reader_out_of_date.html to match rest of webui code.
[email protected]
BUG=none
Review URL: https://codereview.chromium.org/790283002
Cr-Commit-Position: refs/heads/master@{#307834}
Refactor storage::CopySyncOption into storage::FlushPolicy.
This is a follow up CL in order to perform further cleanup. The storage::
CopySyncOption and storage::FileWriterDelegate::FlushPolicy enums have been
merged.
TEST=Refactoring only. All current tests should pass.
BUG=440293
Review URL: https://codereview.chromium.org/772713005
Cr-Commit-Position: refs/heads/master@{#307833}
Support IPv6 literals in PAC's "isPlainHostName()" library function.
BUG=382722
Review URL: https://codereview.chromium.org/792743002
Cr-Commit-Position: refs/heads/master@{#307832}
Cleanup: Delete remove_rows_table_model.h
Nobody is using it anymore. We used it in the old days, when the
Settings was a native dialog, now that is a WebUI, looks like nobody
needs this table model.
BUG=None
[email protected]
Review URL: https://codereview.chromium.org/794893002
Cr-Commit-Position: refs/heads/master@{#307831}
Clean up obsolete SkPicture #defines.
These are all now assumed true (and ignored), and there's no SkPicture::clone anymore.
BUG=
Review URL: https://codereview.chromium.org/789253004
Cr-Commit-Position: refs/heads/master@{#307830}
ash: Remove stray X11 ifdef in Shell::OnCastingSessionStartedOrStopped
All ChromeOS builds have ProjectingObserver. We want to avoid changing
behaviors between X11 and freon builds.
BUG=none
TEST=ash_unittests
Review URL: https://codereview.chromium.org/793473002
Cr-Commit-Position: refs/heads/master@{#307829}
Fixing a bug in the key/KeyboardCode mappings
Fixing an incorrect mapping between key codes and KeyboardCodes in the key_code_map file.
BUG=440470
Review URL: https://codereview.chromium.org/796453002
Cr-Commit-Position: refs/heads/master@{#307828}
Fixed build_gles2_cmd_buffer.py not running on Windows
Review URL: https://codereview.chromium.org/793963002
Cr-Commit-Position: refs/heads/master@{#307827}
Refactor doRedirect to expose access code.
This provides a way to get an access code from the JS console that can be
used with the start_host command.
It also simplifies the flow a bit, removing the need to store the XSRF token
in local storage (previously this was needed because doAuthRedirect changed
window.location).
Review URL: https://codereview.chromium.org/792863003
Cr-Commit-Position: refs/heads/master@{#307826}
Add task to configure displays asynchronously
This CL adds:
1) A NativeDisplayDelegate::Configure(..) call that will return its
result via a callback. Currently all the platforms are stubbed and the
callback is called immediately with the return value from the old
Configure().
2) A simple task that applies the changes via the new Configure(). This
task performs the last part of the DisplayConfigurator::EnterState()
function.
3) Unittests to test both asynchronous and synchronous behaviour for
the task.
BUG=429746
Review URL: https://codereview.chromium.org/760943004
Cr-Commit-Position: refs/heads/master@{#307825}
sync setup: Remove unused param and make a few methods private.
[email protected]
BUG=none
TEST=less code, less confusion
Review URL: https://codereview.chromium.org/791013002
Cr-Commit-Position: refs/heads/master@{#307824}
VideoResourceUpdater: Reuse resources for same frame, even if ResourceProvider has references to it
This CL is a follow up to https://codereview.chromium.org/759143003/.
The problem with the previous CL is that it doesn't always reuse the
resources, because they may still be in use by ResourceProvider. When
VideoLayerImpl::DidDraw is called, it will try to free the resources by
calling:
for (size_t i = 0; i < frame_resources_.size(); ++i)
resource_provider->DeleteResource(frame_resources_[i]);
...
void ResourceProvider::DeleteResource(ResourceId id) {
...
if (resource->exported_count > 0 || resource->lock_for_read_count > 0) {
resource->marked_for_deletion = true;
return;
} else {
DeleteResourceInternal(it, Normal);
}
}
It is common that the "marked_for_deletion" path is used, and subsequent
calls to VideoLayerImpl::WillDraw may be forced to upload the data
again. This CL refactors VideoResourceUpdater so it can reuse the
uploaded data in those cases.
BUG=437653
Review URL: https://codereview.chromium.org/787723002
Cr-Commit-Position: refs/heads/master@{#307823}
ash: ozone: Enable MagnifierKeyScroller & SpokenFeedbackToggler
These can now be built after r293520 ("Removing uses of X11 native key
events") but were not enabled in the build. Enable them.
BUG=401316
TEST=ash_unittests
Review URL: https://codereview.chromium.org/789013002
Cr-Commit-Position: refs/heads/master@{#307822}
Add [email protected] to chrome/android/OWNERS.
This also adds OWNERS for the Chrome Android preferences package.
Review URL: https://codereview.chromium.org/787343004
Cr-Commit-Position: refs/heads/master@{#307821}
[ServiceWorker] Re-enable service_worker_micro_benchmark.
We remove the many-registration test because registering many ServiceWorkers is not a compelling use case.
I created service_worker_micro_benchmark_001.wpr file using these commands.
> git clone https://github.com/amiq11/Service-Worker-Performance.git
> git checkout 3238098ea0225f53dab2f69f7406db8a2712dbf9
> python -m SimpleHTTPServer 8091
> ./tools/perf/record_wpr --browser=exact --browser-executable=~/chromium/src/out/Debug/chrome --also-run-disabled-tests service_worker_micro_benchmark_page_set
BUG=430232
TEST=./tools/perf/run_benchmark --browser-executable=~/chromium/src/out/Debug/chrome --also-run-disabled-tests service_worker.service_worker_micro_benchmark
Review URL: https://codereview.chromium.org/772713004
Cr-Commit-Position: refs/heads/master@{#307820}
Ensure the Chromoting Host process eventually terminates when shut down.
The host process is meant to shut down cleanly when receiving a SIGTERM,
or if there is a configuration error.
This CL implements a timed watchdog, running on a new thread, that
triggers a forced exit of the process, in case it fails to terminate
normally within a reasonable time (for example, if some thread is inside
a blocking call).
BUG=420090
TEST=The watchdog shouldn't normally trigger, but I manually added a Sleep() to some thread to verify that it triggers if a thread is blocked for too long.
Review URL: https://codereview.chromium.org/784243003
Cr-Commit-Position: refs/heads/master@{#307819}
downloads: move margin to the *front* of links to fix spacing regression.
[email protected]
BUG=440744
TEST=visual
NOTRY=true
Review URL: https://codereview.chromium.org/794003002
Cr-Commit-Position: refs/heads/master@{#307818}
Create metrics service client after cast service.
Some internal implementations of metrics service client may use objects
instantiated by cast service, during creation phase.
BUG=
Review URL: https://codereview.chromium.org/793153002
Cr-Commit-Position: refs/heads/master@{#307817}
cc: Don't swap PictureLayerTilingSet on activate.
When activating, create new tilings on the active tree and make new
shared tiles. This way we don't have tilings on the recycle tree from
two frames ago, and the path which data travels is much more clear.
BUG=387116
Review URL: https://codereview.chromium.org/640063010
Cr-Commit-Position: refs/heads/master@{#307816}
Revert @viewport enabling patches
This CL reverts
https://codereview.chromium.org/669673003 Use the "enableCSSViewport" method to enable CSS viewport feature
and
https://codereview.chromium.org/633943002 Fix the "--enable-viewport" command line option
BUG=432813
Review URL: https://codereview.chromium.org/791123003
Cr-Commit-Position: refs/heads/master@{#307815}
Cast: Make receiver use cast_transport
Also, fix rtcp_builder to not be responsible for logging event redundancy.
Instead, we make the rtcp_event_subscriber do that.
Review URL: https://codereview.chromium.org/765643006
Cr-Commit-Position: refs/heads/master@{#307814}
Removing profiler instrumentations for task WebDataRequestManager::RequestCompletedOnThread since the jank has been fixed.
I'm doing this manually, so please review.
Not reverting changes automatically, since the instrumentations sat in the code long enough (up to ~2 months), and there were totally 13 CLs with instrumentations, so reverting can easily become very messy.
Please review.
BUG=422460
Review URL: https://codereview.chromium.org/784613002
Cr-Commit-Position: refs/heads/master@{#307813}
aw: Rendering test harness and end-to-end smoke test
The test harness is heavily modelled after LayerTreeTests in
cc.
Add implementation for simulating invalidation and functor
behavior. Add in enough hooks to allow a end-to-end smoke
test from invalidation to draw to functor draw.
BUG=418346
Review URL: https://codereview.chromium.org/786533002
Cr-Commit-Position: refs/heads/master@{#307812}
Convert TextureMailbox to use SharedBitmap instead of SharedMemory.
This reduces the amount of conversions between cc::SharedBitmap and base::SharedMemory in the code.
Review URL: https://codereview.chromium.org/791483002
Cr-Commit-Position: refs/heads/master@{#307811}
Add sampler related ES3 APIs to command buffer.
Including:
glGetSamplerParameter*v
glSamplerParameter*v
glSamplerParameteri/f
glBindSampler
glDeleteSamplers
glGenSamplers
glIsSampler
One major feature that I add is the client/service ID mapping handling.
BUG=429053
TEST=gpu_unittests
[email protected]
Review URL: https://codereview.chromium.org/788123002
Cr-Commit-Position: refs/heads/master@{#307810}
Autofill: Move test only methods to test file and remove some dead code.
Review URL: https://codereview.chromium.org/795443003
Cr-Commit-Position: refs/heads/master@{#307809}
Introduce media::RendererFactory interface.
This class is in charge of creating media::Renderer to be used by the meida
pipeline.
Benefits of this CL:
- We have a central place for media::Renderer creation.
- WebMediaPlayerImpl is much cleaner.
- Creation of MojoRendererImpl is delayed from construction time to load time.
BUG=416570
TEST=Existing tests pass.
Review URL: https://codereview.chromium.org/783003002
Cr-Commit-Position: refs/heads/master@{#307808}
Added documentation for the |allowtransparency| webview attribute.
Previously it was missing from the webview tag documentation.
Review URL: https://codereview.chromium.org/791163002
Cr-Commit-Position: refs/heads/master@{#307807}
Create hosted app shims on Mac.
- Added ability to create app shim on Mac.
- Displays alert for adding hosted app on Mac.
- Added ability to change app name and whether it should be opened in new tab upon creation.
- App shim is revealed in Finder after creation.
BUG=438100
Review URL: https://codereview.chromium.org/777543002
Cr-Commit-Position: refs/heads/master@{#307806}
Add onDeviceAdded and onDeviceRemoved events to chrome.hid.
These new events allow a Chrome App to monitor the connection and
disconnection of human interface devices that they have permission
to access. With this interface it is no longer necessary to poll
the chrome.hid.getDevices API.
BUG=376719
Review URL: https://codereview.chromium.org/787253002
Cr-Commit-Position: refs/heads/master@{#307805}
Always validate the in-flight event count
The in-flight event count maintained by RenderWidgetHostImpl can also be
manipulated by RenderViewHostImpl and RenderFrameHostImpl. Move the
DCHECK validating against invalidate decrements to the common usage path,
and ensure balanced count modifications by RenderFrameHostImpl.
Also factor out a RenderWidgetHostTest for LatencyInfo coordinates that was
feeding extraneous input event acks to the test RenderWidgetHost.
BUG=439844
Review URL: https://codereview.chromium.org/784963002
Cr-Commit-Position: refs/heads/master@{#307804}
Static-ify some of AutofillMetrics.
BUG=439620
[email protected]
Review URL: https://codereview.chromium.org/784153002
Cr-Commit-Position: refs/heads/master@{#307803}
Execute Surface draw callback when Surface is destroyed.
Also add an argument to the callback that's true if the frame was actually drawn, and false otherwise.
BUG=439931, 440827
Review URL: https://codereview.chromium.org/791903002
Cr-Commit-Position: refs/heads/master@{#307802}
WebCrypto: Add the "get key length" operation.
Testing: Done by subsequent changelists for deriveKey().
BUG=437577
Review URL: https://codereview.chromium.org/777633003
Cr-Commit-Position: refs/heads/master@{#307801}
[Cast] Crash fix when converting audio in CastAudioSink.
This change rewrote a bit of the audio plumbing:
https://codereview.chromium.org/759383003/
Unfortunately, I was mistaken about the meaning of the value returned by
AudioConverter::ChunkSize(). With the correct understanding, I have
been able to not only resolve the root cause of the crash (a FIFO
underrun), but also greatly simplify the code.
BUG=440087
Review URL: https://codereview.chromium.org/787083005
Cr-Commit-Position: refs/heads/master@{#307800}
Run Surface draw callback after aggregation and before draw.
Moving the draw callback before the actual draw increases parallelism and performance, because the calling code often waits for the callback before creating a new frame, and drawing the surface can take some time.
BUG=440209
Review URL: https://codereview.chromium.org/789183002
Cr-Commit-Position: refs/heads/master@{#307799}
Upstream autofill preferences.
Autofill preferences allow the user to add and edit autofill profiles and credit
cards. These are now available in Chrome Shell's settings.
BUG=428869
[email protected]
Review URL: https://codereview.chromium.org/793783002
Cr-Commit-Position: refs/heads/master@{#307798}
MacViews: Add Layers to NativeWidgetMac
Continuing its role as an aura::Window workalike, BridgedNativeWidget
becomes a ui::LayerOwner and a ui::LayerDelegate.
During Widget::Init(), calling BridgedNativeWidget::CreateLayer(..) will
install a compositor, and the ui::AcceleratedWidgetMac instance that
coordinates frames coming in from the GPU process will start
acknowledging them.
Note that most tests default to WINDOW_LAYER_TEXTURED. "NONE" is what
all the MacViews tests have been running against todate. It isn't used
much any more on Aura platforms, but we might want to keep it for Mac.
In this change, NativeWidgetMacTest, MiniaturizeExternally explicitly
sets WINDOW_LAYER_NONE since it relies on a synchronous paint. Other
tests now run with a layer. None regress. However, if we get better
results on Mac with WINDOW_LAYER_NONE in Release code for windows that
don't need a UI compositor, we will need to parameterize layer_type in
tests to keep coverage of both draw paths.
After this all (12 crashing, 1 failing) ViewLayerTest.* tests pass.
WidgetTest.CloseWidgetWhileAnimating moves from crashing to failing.
BUG=424058, 378134
TEST=views_unittests Before: 469 tests run. 20 fail, 16 crash. After:
468 tests run, 20 fail, 3 crash.
Review URL: https://codereview.chromium.org/710253002
Cr-Commit-Position: refs/heads/master@{#307797}
Added Omnibox.SearchProvider.AddHistoryResultsTime & Omnibox.SearchProvider.ConvertResultsTime.
BUG=
Review URL: https://codereview.chromium.org/793813002
Cr-Commit-Position: refs/heads/master@{#307796}
Skeleton code for experiment setup, which will determine should "Allow to collect URL?" bubble be shown.
This patch doesn't adding functional changes to Chrome.
BUG=435080
[email protected],[email protected]
Review URL: https://codereview.chromium.org/777423004
Cr-Commit-Position: refs/heads/master@{#307795}
Move logic for displaying notifications to the ProfileNotificationServiceImpl.
BUG=439950
Review URL: https://codereview.chromium.org/787193002
Cr-Commit-Position: refs/heads/master@{#307794}
MacViews: Fix for DropdownBarHost missing symbols
MacViews browser was missing these symbols:
(1) DropdownBarHost::SetHostViewNative
(2) DropdownBarHost::SetWidgetPositionNative
Fixed (1) by stubbing it for Mac.
Fixed (2) by making it cross-platform.
Also deleted the unused parameter |no_redraw|.
BUG=425229
Review URL: https://codereview.chromium.org/789913002
Cr-Commit-Position: refs/heads/master@{#307793}
Update remoting Android OWNERS
NOTRY=true
Review URL: https://codereview.chromium.org/795793002
Cr-Commit-Position: refs/heads/master@{#307792}
win gn: Semi-support for non-depot_tools toolchain
I had to set:
DEPOT_TOOLS_WIN_TOOLCHAIN=0
GYP_MSVS_OVERRIDE_PATH=C:/Program Files (x86)/Microsoft Visual Studio 12.0
GYP_MSVS_VERSION=2013
WindowsSdkDir=C:/Program Files (x86)/Windows Kits/8.1
then
gn gen out\gn --args="is_debug=true cpu_arch=\"x86\""
ninja -C out/gn base
worked OK.
Further patches welcome to make this less ugly.
[email protected]
Review URL: https://codereview.chromium.org/789303002
Cr-Commit-Position: refs/heads/master@{#307791}
Updating trunk VERSION from 2246.0 to 2247.0
Cr-Commit-Position: refs/heads/master@{#307790}
[android] Enable credit card scan by default.
Replaces --enable-credit-card-scan flag with --disable-credit-card-scan
flag. Turns on credit card scan by default on Android.
BUG=428085
Review URL: https://codereview.chromium.org/785353002
Cr-Commit-Position: refs/heads/master@{#307789}
cc: fix blending + texture rectangle mask errors
The backdrop texture target is always GL_TEXTURE2D as it comes from
GLRenderer::GetFramebufferTexture. Only the mask sampler in the render
pass shader has a parameterizable texture target. The backdrop
shouldn't be configurable.
Depends on:
https://codereview.chromium.org/791853002/
https://codereview.chromium.org/739893004/
BUG=439621
Review URL: https://codereview.chromium.org/790963002
Cr-Commit-Position: refs/heads/master@{#307788}
sync setup: fix data type change regression.
Fix |this| being wrong in an unbound event handler.
It also makes Choose what to sync -> Sync everything -> Choose what to sync
preserve selected checkboxes again.
[email protected]
BUG=none?
TEST=syncing some data types works without console errors
Review URL: https://codereview.chromium.org/755313010
Cr-Commit-Position: refs/heads/master@{#307787}
cc: Push layer properties after tree/host properties during commit.
PictureLayer push properties will update tilings and maybe cause it
to choose a new tile size. If the viewport size is not pushed at that
time, it will choose the wrong tile size with GPU rasterization (where
tile sizes are based on the viewport size).
This test passes before/after this patch, but will fail with the
don't-swap-tilings patch without the changes in this CL.
BUG=387116
Review URL: https://codereview.chromium.org/796473002
Cr-Commit-Position: refs/heads/master@{#307786}
Refactor BookmarksBridge#searchBookmarks to return a list of BookmarkMatches
BUG=433986
Review URL: https://codereview.chromium.org/787163002
Cr-Commit-Position: refs/heads/master@{#307785}
Minor visual improvements to text selection UI
Getting rid of the blue cursor lines drawn at the edges of text selection
highlight (when selecting) and on top of the blinking black cursor (when
editing).
Shifting the selection handles 2pts below the text baseline.
Offsetting the touch selection context menu by 2pts from the text highlight.
BUG=436047
Review URL: https://codereview.chromium.org/769393002
Cr-Commit-Position: refs/heads/master@{#307784}
[Android] Disable overscroll effects when the view is hidden
Disable all overscroll effects when the view is hidden, avoiding
related rendering and animation issues caused by the (potentially
severely) delayed animation.
Also ensure animation is rescheduled if necessary by the browser
compositor after it regains visibility.
BUG=440736
Review URL: https://codereview.chromium.org/790243002
Cr-Commit-Position: refs/heads/master@{#307783}
Enable writing layout tests for persistent notifications.
Layout tests written for persistent notifications will use the existing
infrastructure for page notifications. That means that they can be fully
interacted with using their regular, Web exposed API, but can also utilize
the existing permission plumbing and click simulation made available
through the TestRunner.
BUG=432527
Review URL: https://codereview.chromium.org/789523002
Cr-Commit-Position: refs/heads/master@{#307782}
Roll src/third_party/skia 3054be1:733fc20
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/3054be1..733fc20
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/725063004
Cr-Commit-Position: refs/heads/master@{#307781}
Use GetDefaultSessionStorageNamespace in prerender.
This is a deprecated function, but the existing logic to query the map and look
up the empty string key does not make prerender aware of storage partitions
either. It also doesn't quite do the same thing as the namespace may not have
been created yet. The tests (and code itself) currently only work because the
default namespace has usually already been created by now.
It would be cleaner if prerenders tracked a source WebContents, but that's
easier to do once sessionStorage merging is removed and prerenders can be defined
to never cross WebContents. So start by doing this to unblock the merging removal
and then we'll switch it to WebContents and perhaps eventually fix
https://crbug.com/440533. (Also the merging removal is otherwise ready.)
BUG=440539
Review URL: https://codereview.chromium.org/784403003
Cr-Commit-Position: refs/heads/master@{#307780}
Revert canary experiment that disabled experiments for 50% users.
We should have collected enough metrics at this point to evaluate
this, so we can disable the experiment now.
If we ever need more data, we can always re-introduce it.
BUG=421481
Review URL: https://codereview.chromium.org/791733004
Cr-Commit-Position: refs/heads/master@{#307779}
Reduce the number of test_data files being mapped in unit_tests.isolate
[email protected]
BUG=
Review URL: https://codereview.chromium.org/789153003
Cr-Commit-Position: refs/heads/master@{#307778}
WebCrypto: Allow the import of HMAC keys which are not a multiple of 8 bits.
BUG=431085
Review URL: https://codereview.chromium.org/780693003
Cr-Commit-Position: refs/heads/master@{#307777}
Allow closing SharedMemory without unmapping it.
This allows us to reduce the number of fds that are in use if the SharedMemory is mapped once and never shared to another process.
Review URL: https://codereview.chromium.org/762273002
Cr-Commit-Position: refs/heads/master@{#307776}
cc: Make blending pixel tests use impl-side painting
[email protected],[email protected]
BUG=439621
Review URL: https://codereview.chromium.org/739893004
Cr-Commit-Position: refs/heads/master@{#307775}
Safe Browsing: Add Omnibox Interaction Incident Reporter
Tested. Seems to work (records the right histogram values when I expect it to trigger; doesn't record them when I don't).
[email protected]
BUG=
Review URL: https://codereview.chromium.org/720163003
Cr-Commit-Position: refs/heads/master@{#307774}
Performance monitor: Cleaned up more unused code after the about://performance removal
R=simonhatch
BUG=
Review URL: https://codereview.chromium.org/788063002
Cr-Commit-Position: refs/heads/master@{#307773}
Fix GN build
Cr-Commit-Position: refs/heads/master@{#307772}
Delete blobs in IndexedDBContextImpl::DeleteForOrigin
BUG=435631
Review URL: https://codereview.chromium.org/770153004
Cr-Commit-Position: refs/heads/master@{#307771}
Add support for a 'default' target to GN.
Many build systems (including make and ninja) have the
concept of a "default" target that should be built if
you don't specify something explicitly to build: in
make, it's the first target found in the Makefile; in ninja
it is the target declared with the "default" directive, and
if that isn't found, the first target in the ninja file.
This CL adds the ability to set the "default" target
in the GN file; if it isn't set, we use GN's prior behavior,
which is to use "all" as the default target, and build
everything.
[email protected]
BUG=440644
Review URL: https://codereview.chromium.org/784413004
Cr-Commit-Position: refs/heads/master@{#307770}
Fix CrOS GN build.
TBR=skuhne
Review URL: https://codereview.chromium.org/790153003
Cr-Commit-Position: refs/heads/master@{#307769}
Roll Clang 218707:223109 (+r223211, +r223219, -r220714), take 2
This also reverts:
"Re-enable globals instrumentation under ASan on Mac."
964445e21b60278ff6e0de560c4110d8a161be36.
It was causing test failures.
BUG=431803, 440602, 352073
[email protected]
NOTRY=true
Review URL: https://codereview.chromium.org/790263003
Cr-Commit-Position: refs/heads/master@{#307768}
Move output surface fallback from cc to embedders
Having this in cc means that all embedders get this logic and API, even
though only RenderWidgetCompositor and ui::Compositor use it.
This also means that cc no longer has to be robust to null
SetOutputSurface, which makes the API to embedders a bit more
clear.
Review URL: https://codereview.chromium.org/738983002
Cr-Commit-Position: refs/heads/master@{#307767}
Revert of Implement HasPermission() method in PermissionService. (patchset #28 id:580001 of https://codereview.chromium.org/750633003/)
Reason for revert:
This still causes build failures, I just got this locally:
ninja -C out/Release/ chrome
ninja: Entering directory `out/Release/'
[46/16655] CXX obj/content/public/app/content_app_both.content_main_delegate.o
FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/content/public/app/content_app_both.content_main_delegate.o.d -DCONTENT_IMPLEMENTATION -DV8_DEPRECATION_WARNINGS -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE=0 -DDISABLE_NACL -DCHROMIUM_BUILD -DCR_CLANG_REVISION=218707 -DUSE_LIBJPEG_TURBO=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_PRE_SYNC_BACKUP -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY -DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE -DDONT_EMBED_BUILD_METADATA -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_GOOGLE_NOW=1 -DCLD_VERSION=2 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_SERVICE_DISCOVERY=1 -DENABLE_WIFI_BOOTSTRAPPING=1 -DENABLE_LOAD_COMPLETION_HACKS=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DMOJO_USE_SYSTEM_IMPL -DSK_ENABLE_INST_COUNT=0 -DSK_SUPPORT_GPU=1 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' -DSK_ENABLE_LEGACY_API_ALIASING=1 -DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1 -DGR_GL_IGNORE_ES3_MSAA=0 -DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT -DSK_SUPPORT_LEGACY_TEXTRENDERMODE -DSK_IGNORE_GPU_LAYER_HOISTING -DSK_SUPPORT_LEGACY_NewRasterPMColor -DSK_USE_POSIX_THREADS -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -D_FORTIFY_SOURCE=2 -Igen -I../.. -I../../third_party/khronos -I../../gpu -I../../skia/config -I../../third_party/WebKit/Source -I../../third_party/WebKit -I../../third_party/skia/src/core -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/pdf -I../../third_party/skia/include/gpu -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../third_party/skia/include/utils/mac -I../../skia/ext -I../../third_party/icu/source/i18n -I../../third_party/icu/source/common -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -O2 -fvisibility=hidden -Werror -Wnewline-eof -mmacosx-version-min=10.6 -arch x86_64 -Wall -Wendif-labels -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-selector-type-mismatch -Wheader-hygiene -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register -Wexit-time-destructors -std=c++11 -fno-rtti -fno-exceptions -fvisibility-inlines-hidden -fno-threadsafe-statics -Xclang -load -Xclang /Volumes/MacintoshHD2/src/chromefetch/src/third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.dylib -Xclang -add-plugin -Xclang find-bad-constructs -fcolor-diagnostics -fno-strict-aliasing -c ../../content/public/app/content_main_delegate.cc -o obj/content/public/app/content_app_both.content_main_delegate.o
In file included from ../../content/public/app/content_main_delegate.cc:8:
../../content/public/browser/content_browser_client.h:22:10: fatal error: 'content/public/common/permission_status.mojom.h' file not found
#include "content/public/common/permission_status.mojom.h"
^
1 error generated.
[46/16655] CXX obj/content/app/content_app_both.content_main_runner.o
FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/content/app/content_app_both.content_main_runner.o.d -DCONTENT_IMPLEMENTATION -DV8_DEPRECATION_WARNINGS -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE=0 -DDISABLE_NACL -DCHROMIUM_BUILD -DCR_CLANG_REVISION=218707 -DUSE_LIBJPEG_TURBO=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_PRE_SYNC_BACKUP -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY -DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE -DDONT_EMBED_BUILD_METADATA -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_GOOGLE_NOW=1 -DCLD_VERSION=2 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_SERVICE_DISCOVERY=1 -DENABLE_WIFI_BOOTSTRAPPING=1 -DENABLE_LOAD_COMPLETION_HACKS=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DMOJO_USE_SYSTEM_IMPL -DSK_ENABLE_INST_COUNT=0 -DSK_SUPPORT_GPU=1 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' -DSK_ENABLE_LEGACY_API_ALIASING=1 -DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1 -DGR_GL_IGNORE_ES3_MSAA=0 -DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT -DSK_SUPPORT_LEGACY_TEXTRENDERMODE -DSK_IGNORE_GPU_LAYER_HOISTING -DSK_SUPPORT_LEGACY_NewRasterPMColor -DSK_USE_POSIX_THREADS -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -D_FORTIFY_SOURCE=2 -Igen -I../.. -I../../third_party/khronos -I../../gpu -I../../skia/config -I../../third_party/WebKit/Source -I../../third_party/WebKit -I../../third_party/skia/src/core -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/pdf -I../../third_party/skia/include/gpu -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../third_party/skia/include/utils/mac -I../../skia/ext -I../../third_party/icu/source/i18n -I../../third_party/icu/source/common -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -O2 -fvisibility=hidden -Werror -Wnewline-eof -mmacosx-version-min=10.6 -arch x86_64 -Wall -Wendif-labels -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-selector-type-mismatch -Wheader-hygiene -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register -Wexit-time-destructors -std=c++11 -fno-rtti -fno-exceptions -fvisibility-inlines-hidden -fno-threadsafe-statics -Xclang -load -Xclang /Volumes/MacintoshHD2/src/chromefetch/src/third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.dylib -Xclang -add-plugin -Xclang find-bad-constructs -fcolor-diagnostics -fno-strict-aliasing -c ../../content/app/content_main_runner.cc -o obj/content/app/content_app_both.content_main_runner.o
In file included from ../../content/app/content_main_runner.cc:36:
../../content/public/browser/content_browser_client.h:22:10: fatal error: 'content/public/common/permission_status.mojom.h' file not found
#include "content/public/common/permission_status.mojom.h"
^
1 error generated.
Original issue's description:
> Implement HasPermission() method in PermissionService.
>
> This patch implements the HasPermission() method in the mojo PermissionService.
> This methiod will be required for the Permissions API, see
> https://w3c.github.io/permissions/
>
> BUG=430238
>
> Committed: https://crrev.com/277b23d74855b51ebe67ae0da7cd9e0b053044cf
> Cr-Commit-Position: refs/heads/master@{#307302}
>
> Committed: https://crrev.com/14570267ac4d5dc473d29f256e8d044e9bfcc8d2
> Cr-Commit-Position: refs/heads/master@{#307504}
[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=430238
Review URL: https://codereview.chromium.org/792173002
Cr-Commit-Position: refs/heads/master@{#307766}
Added an appview test that ensures that multiple successive calls to connect() are handled properly. This requires (and so also tests) that the action queue works properly in guest_view.js, as many consecutive destroy() and create() calls will get queued.
Review URL: https://codereview.chromium.org/756573004
Cr-Commit-Position: refs/heads/master@{#307765}
Refactor FrameTreeBrowserTest to use embedded_test_server().
BUG=418236
Review URL: https://codereview.chromium.org/755923007
Cr-Commit-Position: refs/heads/master@{#307764}
Clean up render_frame_impl.cc removing unnecessary static.
Review URL: https://codereview.chromium.org/787333003
Cr-Commit-Position: refs/heads/master@{#307763}
The static BrowserPlugin() in GuestViewContainer is now named uniquely for each view type.
BrowserPlugin() is now named with the respective view type prepended onto its name so that each view type is guaranteed to use the correct version.
Review URL: https://codereview.chromium.org/794773002
Cr-Commit-Position: refs/heads/master@{#307762}
[AppList] Add a Suggestions Provider to applist.
Only works with the null query, will return suggestions data if available (user is signed-in and suggestions are available for them).
BUG=440487
TEST=SuggestionsSearchProviderTest
Review URL: https://codereview.chromium.org/775893005
Cr-Commit-Position: refs/heads/master@{#307761}
cc: Return null interface context for TestContextProvider
Unit tests that use TestContextProvider and gpu_rasterization_forced
require a GrContext to create the SkSurface.
We now return a GrContext created using GrGLCreateNullInterface.
BUG=332502
Review URL: https://codereview.chromium.org/768113009
Cr-Commit-Position: refs/heads/master@{#307760}
Adding a memory pressure observer for ChromeOS.
This is a memory observer for ChromeOS which triggers the existing memory pressure listening objects to release memory.
Part of this code came from the old Athena project (see https://codereview.chromium.org/5113830031).
Note that all this code resides for the time being behind a flag.
BUG=439493
TEST=-
Review URL: https://codereview.chromium.org/788713003
Cr-Commit-Position: refs/heads/master@{#307759}
Re-word WebCrypto error messages for JWK.
s/property/member
BUG=428949
Review URL: https://codereview.chromium.org/760283004
Cr-Commit-Position: refs/heads/master@{#307758}
Make enable-dev-feateures work with test images.
BUG=440494
Review URL: https://codereview.chromium.org/793803003
Cr-Commit-Position: refs/heads/master@{#307757}
Roll breakpad 1408:1409
1409: Breakpad: Fix build with new clang versions.
BUG=none
[email protected]
[email protected], [email protected]
Review URL: https://codereview.chromium.org/790293002
Cr-Commit-Position: refs/heads/master@{#307756}
Instrumented libraries: attempt to fix a deadlock in libxcb1.
Backport a fix for an issue that looks related.
BUG=440063
[email protected]
NOTRY=true
Review URL: https://codereview.chromium.org/796553002
Cr-Commit-Position: refs/heads/master@{#307755}
cc: refactor blending tests to use pixel resource test
This change should be a no-op. This is in preparation for testing
blending tests with texture rectangle.
[email protected]
BUG=439621
Review URL: https://codereview.chromium.org/791853002
Cr-Commit-Position: refs/heads/master@{#307754}
DeviceEventLog cleanup
This CL does the following:
* Fixes the formatting for the network log in chrome://network
* Adds a LOGIN type for login events
* Uses a string for 'type' in GetString to allow multiple types (or non- types) to be passed)
Add login type, use type strings in GetAsType
BUG=293739
Review URL: https://codereview.chromium.org/784223003
Cr-Commit-Position: refs/heads/master@{#307753}
Revert of Revert of Revert of Revert of Enable telemetry unittests on Mac 10.9 (patchset #1 id:1 of https://codereview.chromium.org/788263002/)
Reason for revert:
Failing test disabled in https://codereview.chromium.org/790253002/
Original issue's description:
> Revert of Revert of Revert of Enable telemetry unittests on Mac 10.9 (patchset #1 id:1 of https://codereview.chromium.org/789233002/)
>
> Reason for revert:
> Telemetry tests still fails.
>
> Original issue's description:
> > Revert of Revert of Enable telemetry unittests on Mac 10.9 (patchset #1 id:1 of https://codereview.chromium.org/792683002/)
> >
> > Reason for revert:
> > The failing test was disabled in https://codereview.chromium.org/789043003
> >
> > Original issue's description:
> > > Revert of Enable telemetry unittests on Mac 10.9 (patchset #1 id:1 of https://codereview.chromium.org/779943004/)
> > >
> > > Reason for revert:
> > > Tests fail with a different error.
> > >
> > > Original issue's description:
> > > > Enable telemetry unittests on Mac 10.9
> > > >
> > > > The tests were fixed in https://codereview.chromium.org/789853003
> > > >
> > > > BUG=423688
> > > >
> > > > Committed: https://crrev.com/e0fe19f3e05e83e820be8a8e2850853bc0434b21
> > > > Cr-Commit-Position: refs/heads/master@{#307522}
> > >
> > > [email protected],[email protected]
> > > NOTREECHECKS=true
> > > NOTRY=true
> > > BUG=423688
> > >
> > > Committed: https://crrev.com/dbf34f1e5d36e433c9d30df974da8c5f6fa665e5
> > > Cr-Commit-Position: refs/heads/master@{#307553}
> >
> > [email protected],[email protected]
> > NOTREECHECKS=true
> > NOTRY=true
> > BUG=423688
> >
> > Committed: https://crrev.com/1e2366706b52428a3a6355864b6e9a845216ae3d
> > Cr-Commit-Position: refs/heads/master@{#307696}
>
> [email protected],[email protected],[email protected]
> NOTREECHECKS=true
> NOTRY=true
> BUG=423688
>
> Committed: https://crrev.com/79b9048ef6ddf1278beef8fac69536798f6d3963
> Cr-Commit-Position: refs/heads/master@{#307734}
[email protected],[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=423688
Review URL: https://codereview.chromium.org/775363003
Cr-Commit-Position: refs/heads/master@{#307752}
Add CastLogsProto to ChromecastUserMetricsExtension that is for Chromecast
specific log data.
BUG=440626
Review URL: https://codereview.chromium.org/791563002
Cr-Commit-Position: refs/heads/master@{#307751}
Disable testRestoreBrowserWithMultipleTabs on Mac
It's failing on Mac 10.9 debug builds: http://build.chromium.org/p/chromium.mac/builders/Mac10.9%20Tests%20%28dbg%29/builds/936/steps/telemetry_unittests/logs/stdio
BUG=
Review URL: https://codereview.chromium.org/790253002
Cr-Commit-Position: refs/heads/master@{#307750}
Add ui_touch_selection_unittests to buildbots
This is a follow-up to http://crrev.com/759433002 which introduced
ui_touch_selection_unittests.
BUG=399721
Review URL: https://codereview.chromium.org/792633002
Cr-Commit-Position: refs/heads/master@{#307749}
[Cronet] Install test files if they do not already exist
Now UploadTestServer also serves files, but installation of test files is in
MockUrlRequestJobFactory. This prevents UploadTestServer from being used
separately from MockUrlRequestJobFactory. Move installation to application,
and only install if files do not exist.
BUG=415781
Review URL: https://codereview.chromium.org/784583003
Cr-Commit-Position: refs/heads/master@{#307748}
Push API: add registration support to LayoutTestPushMessagingService [switchover 5/6]
This patch has no dependencies.
This part 5 of a series of 6 patches. See https://crbug.com/440076 for the plan to land them.
BUG=389194, 440076
Review URL: https://codereview.chromium.org/766653007
Cr-Commit-Position: refs/heads/master@{#307747}
Push API: pass ServiceWorkerRegistration for registration from document [switchover 4/6]
Depends on https://codereview.chromium.org/786013002/ (Push API: pass ServiceWorkerRegistration to client for registration from document.)
This part 4 of a series of 6 patches. See https://crbug.com/440076 for the plan to land them.
BUG=389194, 440076
Review URL: https://codereview.chromium.org/788693002
Cr-Commit-Position: refs/heads/master@{#307746}
Expose WebContents from PrintingContextDelegate
Refactor of PrintingContextDelegate to allow getting the webcontents.
This change is related to https://codereview.chromium.org/740983002/,
that will rely on the new method
BUG=437338
Review URL: https://codereview.chromium.org/787783003
Cr-Commit-Position: refs/heads/master@{#307745}
Revert of [android_webview] Move the glue layer into android_webview/glue (patchset #1 id:1 of https://codereview.chromium.org/784973004/)
Reason for revert:
Causing failures in Linux perf bots.
See
https://code.google.com/p/chromium/issues/detail?id=440895 for details.
Original issue's description:
> [android_webview] Move the glue layer into android_webview/glue
>
> This checks in a copy of the WebView glue layer from master-chromium
> at revision d519b07bd3cb09b571689b00250cb5de977b4dfc.
> Changes to make the code adhere to the style guide, fix up warnigns
> and actually switch over to this from the copy in third_party will
> be made as subsequent CLs.
>
> BUG=440792
> TEST=None
> [email protected]
>
> Committed: https://chromium.googlesource.com/chromium/src/+/d6d785aa0b13b649dfa27b1707ea93b9553640c9
[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=440792
Review URL: https://codereview.chromium.org/792133002
Cr-Commit-Position: refs/heads/master@{#307744}
MSE and non-MSE: Relax mp4a mimetype to allow leading 0 in aud-oti
Adds codec string support for mp4a.40.02 and mp4a.40.05 to match
existing support (or lack thereof) for mp4a.40.2 and mp4a.40.5,
respectively.
To satisfy presubmit, also includes result of $ git cl format net
BUG=440607
[email protected],[email protected],[email protected]
TEST=Updated MediaCanPlayTypeTest.CodecSupportTest_*
Review URL: https://codereview.chromium.org/791863002
Cr-Commit-Position: refs/heads/master@{#307743}
Add Mockito as a dependency to junit_test_support.
BUG=
Review URL: https://codereview.chromium.org/785003002
Cr-Commit-Position: refs/heads/master@{#307742}
history: improve focus for 'Remove selected items' dialog.
Follow same focus behavior as settings overlays by using FocusOutlineManager.
Focus behavior is different depending on whether or not an element on the history page had been focused using the keyboard (same as for settings overlays).
BUG=431032
Review URL: https://codereview.chromium.org/731413003
Cr-Commit-Position: refs/heads/master@{#307741}
Child account block interstitial: Show reason for blocking.
Also, semi-related cleanups:
- fix indents and a missing "</div>" in .html
- rename FilteringBehaviorSource to FilteringBehaviorReason
BUG=404671
Review URL: https://codereview.chromium.org/790103003
Cr-Commit-Position: refs/heads/master@{#307740}
Update media/audio to use the new version of LaunchProcess.
BUG=417532
Review URL: https://codereview.chromium.org/747893007
Cr-Commit-Position: refs/heads/master@{#307739}
Move VisibleForTesting from WebContents implementation to interface
This was added to the implementation by mistake. This annotation is needed
for proguard to not strip these calls because they will be used for downstream
tests.
BUG=434499
Review URL: https://codereview.chromium.org/787123004
Cr-Commit-Position: refs/heads/master@{#307738}
Update browser_watcher to use the new version of LaunchProcess.
BUG=417532
Review URL: https://codereview.chromium.org/791663003
Cr-Commit-Position: refs/heads/master@{#307737}
[Extensions Toolbar Mac] Implement the new extensions overflow on mac
Make mac use the new extensions overflow design, so that overflowed icons are
shown in the wrench menu and every extension has an icon.
Known issues:
- Dragging between overflow/main containers doesn't work.
- Context menus in the overflow container don't work.
It's worth noting that all of these issues actually exist in the current, stable
version of the mac toolbar.
(Pre-Work: Add the new fields to WrenchMenuButtonViewController in
wrench_menu_controller.h, @synthesize them in the .mm; see diff for specifics.)
* Create a new item in the WrenchMenu.xib named
"Wrench Menu - Toolbar Actions Overflow Item"
* Add a "Custom View" to the new item.
* Add a "Browser Actions Container" to the Custom View.
* Set the width and height for each of the "Wrench Menu - Toolbar Actions
Overflow Item", "Custom View", and "Browser Actions Container" to be
275 x 29 (WxH). 275 matches the other menu items, and 29 is the height of a
toolbar action icon.
* In Placeholders > File's Owner > Outlets, point |overflowActionsContainerView|
to the "Browser Actions Container", and |toolbarActionsOverflowItem| to
"Wrench Menu - Toolbar Actions Overflow Item".
[email protected] (small ui/ changes)
BUG=429810
Review URL: https://codereview.chromium.org/768243003
Cr-Commit-Position: refs/heads/master@{#307736}
Update browser/sessions to use the new version of LaunchProcess.
BUG=417532
[email protected]
Review URL: https://codereview.chromium.org/788043003
Cr-Commit-Position: refs/heads/master@{#307735}
Revert of Revert of Revert of Enable telemetry unittests on Mac 10.9 (patchset #1 id:1 of https://codereview.chromium.org/789233002/)
Reason for revert:
Telemetry tests still fails.
Original issue's description:
> Revert of Revert of Enable telemetry unittests on Mac 10.9 (patchset #1 id:1 of https://codereview.chromium.org/792683002/)
>
> Reason for revert:
> The failing test was disabled in https://codereview.chromium.org/789043003
>
> Original issue's description:
> > Revert of Enable telemetry unittests on Mac 10.9 (patchset #1 id:1 of https://codereview.chromium.org/779943004/)
> >
> > Reason for revert:
> > Tests fail with a different error.
> >
> > Original issue's description:
> > > Enable telemetry unittests on Mac 10.9
> > >
> > > The tests were fixed in https://codereview.chromium.org/789853003
> > >
> > > BUG=423688
> > >
> > > Committed: https://crrev.com/e0fe19f3e05e83e820be8a8e2850853bc0434b21
> > > Cr-Commit-Position: refs/heads/master@{#307522}
> >
> > [email protected],[email protected]
> > NOTREECHECKS=true
> > NOTRY=true
> > BUG=423688
> >
> > Committed: https://crrev.com/dbf34f1e5d36e433c9d30df974da8c5f6fa665e5
> > Cr-Commit-Position: refs/heads/master@{#307553}
>
> [email protected],[email protected]
> NOTREECHECKS=true
> NOTRY=true
> BUG=423688
>
> Committed: https://crrev.com/1e2366706b52428a3a6355864b6e9a845216ae3d
> Cr-Commit-Position: refs/heads/master@{#307696}
[email protected],[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=423688
Review URL: https://codereview.chromium.org/788263002
Cr-Commit-Position: refs/heads/master@{#307734}
Notify the webcontents of the background page of extensions that it's hidden, if we're running in the right ThrottleBackgroundExtensionPages field trial.
This means the background pages will behave similarly to hidden tabs in terms of resources, including JS timer throttling
R=yoz,kalman,asvitkine
BUG=424661
Review URL: https://codereview.chromium.org/732803004
Cr-Commit-Position: refs/heads/master@{#307733}
[android_webview] Move the glue layer into android_webview/glue
This checks in a copy of the WebView glue layer from master-chromium
at revision d519b07bd3cb09b571689b00250cb5de977b4dfc.
Changes to make the code adhere to the style guide, fix up warnigns
and actually switch over to this from the copy in third_party will
be made as subsequent CLs.
BUG=440792
TEST=None
[email protected]
Review URL: https://codereview.chromium.org/784973004
Cr-Commit-Position: refs/heads/master@{#307732}
Added info logs about which command is running when sending a perf tryjob
BUG=404975
Review URL: https://codereview.chromium.org/788183003
Cr-Commit-Position: refs/heads/master@{#307731}
Roll src/third_party/skia f9d09c9:3054be1
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/f9d09c9..3054be1
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/795613002
Cr-Commit-Position: refs/heads/master@{#307730}
Combine networking private factories and add verify delegate factory.
In order to move networking private to src/extensions, we need to
separate the construction of the verify delegates from the main
factory (which will reside in src/extensions and not know about the
verify delegates).
It seemed simpler to merge the factories and put all of the #ifdef
code in one place.
The factory-within-a-factory is less than ideal, but ended up being
simpler than introducing another singleton (since the factory impl
needs to be in src/chrome but src/extensions needs to know about it).
BUG=363776
For isolated change to chrome_browser_main_extra_parts_profiles.cc:
[email protected]
Review URL: https://codereview.chromium.org/747223002
Cr-Commit-Position: refs/heads/master@{#307729}
In chromevox: Move nav_braille.js to top-level braille directory.
Removes behaviour from NavBraille to get rid of the dependency on
cvox.ChromeVox.
BUG=
Review URL: https://codereview.chromium.org/776093003
Cr-Commit-Position: refs/heads/master@{#307728}
Roll src/third_party/WebKit 4c45103:551c81e (svn 186846:186848)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/4c45103..551c81e
[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/795543003
Cr-Commit-Position: refs/heads/master@{#307727}
Reduce page_cycler repeat count from 10 to 6
Reduce the count to avoid timeout.
BUG=429709
TEST=tools/perf/run_benchmark page_cycler.typical_25
Review URL: https://codereview.chromium.org/789753002
Cr-Commit-Position: refs/heads/master@{#307726}
Support generating an HMAC key with a bit length that is not a multiple of 8.
BUG=438469
Review URL: https://codereview.chromium.org/778733003
Cr-Commit-Position: refs/heads/master@{#307725}
Minor GuestView cleanup
Remove browser_context parameter in WebViewGuest::GetOrGenerateRulesRegistryID
Remove GuestViewBase::owner_render_process_id()
BUG=none
[email protected] for trivial change in declarative_api.cc
Review URL: https://codereview.chromium.org/790913002
Cr-Commit-Position: refs/heads/master@{#307724}
update to use surface instead of canvas
BUG=
NOTRY=True
no try since ozone is not in the CQ, and this is a build-fix
Review URL: https://codereview.chromium.org/789203003
Cr-Commit-Position: refs/heads/master@{#307723}
[Telemetry] Version checking code for optional dependencies.
BUG=437525
Review URL: https://codereview.chromium.org/777313003
Cr-Commit-Position: refs/heads/master@{#307722}
Disable mojo unittest EmbedderTest.MultiprocessChannels on Dr.Memory bots
[email protected]
BUG=440828
NOTRY=true
Review URL: https://codereview.chromium.org/788163004
Cr-Commit-Position: refs/heads/master@{#307721}
Fix invisible text in Settings on HTC One S devices.
This is a hacky workaround for this bug until the AppCompat library is updated
with a better fix. More details on the AppCompat bug:
https://code.google.com/p/android/issues/detail?id=78819
BUG=439236
Review URL: https://codereview.chromium.org/789083002
Cr-Commit-Position: refs/heads/master@{#307720}
Disable WebRtcBrowserTest.CanMakeAudioCallAndThenRenegotiateToVideo
content_browsertests from Dr.Memory bots
[email protected]
BUG=none
NOTRY=true
Review URL: https://codereview.chromium.org/792873003
Cr-Commit-Position: refs/heads/master@{#307719}
Add two new modifier key tests.
BUG=None
TEST=browser_test --gtest_filter=VirtualKeyboardBrowserTests.ModifierTest
Review URL: https://codereview.chromium.org/792583002
Cr-Commit-Position: refs/heads/master@{#307718}
Cleanup: Move KeywordTable unittests into components_unittests target.
Looks like there is nothing more preventing us from moving it from
unit_tests target to components_unittests.
BUG=None
TEST=components_unittests --gtest_filter=KeywordTableTest*
[email protected]
[email protected]
Review URL: https://codereview.chromium.org/787283002
Cr-Commit-Position: refs/heads/master@{#307717}
bookmarks: Simplify the branch for setting button image.
No need to have two SetImage() calls, we can have just one and use a
ternary operator in the second parameter to simplify the code.
BUG=None
[email protected]
Review URL: https://codereview.chromium.org/794483002
Cr-Commit-Position: refs/heads/master@{#307716}
Fix USB build dependency
usb_device_handle.* includes net components. Fix dependency (note this
was already present in GN).
BUG=none
[email protected]
Review URL: https://codereview.chromium.org/788223002
Cr-Commit-Position: refs/heads/master@{#307715}
Revert of Delete the enable/disable layer squashing flags and settings. (patchset #1 id:1 of https://codereview.chromium.org/785323002/)
Reason for revert:
The patch caused multiple blink layout tests to fail.
Test expectations dashboard: http://goo.gl/NvoO5S
Example failed build bot: http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux/builds/41154
Original issue's description:
> Delete the enable/disable layer squashing flags and settings.
>
> TBR=jam,jochen
>
> Committed: https://crrev.com/f56bfaf1de4e66047ea9dda4cc7e31f074fb80df
> Cr-Commit-Position: refs/heads/master@{#307620}
[email protected]
NOTREECHECKS=true
NOTRY=true
Review URL: https://codereview.chromium.org/789163004
Cr-Commit-Position: refs/heads/master@{#307714}
Move EventRouter into fileOperationUtil namespace; use enum for event type.
Move the EventRouter from the FileOperationManager into the fileOperationUtil namespace, whence it will be shared. Also, switch from using strings to using an enum for the task type.
BUG=420680
Review URL: https://codereview.chromium.org/792463005
Cr-Commit-Position: refs/heads/master@{#307713}
Revert of Revert of Call to CrosSettings::Set() is replaced by OwnerSettingsService::Set() in VersionUpda... (patchset #2 id:250001 of https://codereview.chromium.org/790183002/)
Reason for revert:
Accidentally committed without CQ, broke build :(
Original issue's description:
> Revert of Call to CrosSettings::Set() is replaced by OwnerSettingsService::Set() in VersionUpdaterCros. (patchset #7 id:120001 of https://codereview.chromium.org/738843002/)
>
> Reason for revert:
> Speculative revert to see if this is the cause of issue 440063.
>
> BUG=440063
> [email protected]
>
> Original issue's description:
> > Call to CrosSettings::Set() is replaced by OwnerSettingsService::Set() in VersionUpdaterCros. Also, fixed permissions checks for channel switcher UI in a multi-profiles sessions.
> >
> > BUG=433840
> > TEST=existing unit_tests for OwnerSettingsService
> >
> > Committed: https://crrev.com/e0ed5a18bc9e3fa930f1af3b8f9c3cfdb91329f5
> > Cr-Commit-Position: refs/heads/master@{#305012}
>
> [email protected],[email protected]
> NOTREECHECKS=true
> NOTRY=true
> BUG=433840
>
> Committed: https://crrev.com/ed8e4785e42fdf65d79656fb922f2d1b16e9857b
> Cr-Commit-Position: refs/heads/master@{#307710}
[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=440063
Review URL: https://codereview.chromium.org/788243002
Cr-Commit-Position: refs/heads/master@{#307712}
Revert of Migrate DeviceUtils.ReadFile to adb_wrapper (patchset #6 id:100001 of https://codereview.chromium.org/775333002/)
Reason for revert:
Broke telemetry android_browser_backend due to missing client change
Original issue's description:
> Migrate DeviceUtils.ReadFile to adb_wrapper
>
> The implementation is based on a simple 'cat' run by shell on the
> device (with optional as_root).
>
> Interface changes:
> - The return value is a string (instead of a list of lines).
> - An exception is raised if the file cannot be read (instead of returning an empty list).
>
> BUG=267773
>
> Committed: https://crrev.com/c75a264a0386df5931a9b6ac8c81337794d034d0
> Cr-Commit-Position: refs/heads/master@{#307672}
[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=267773
Review URL: https://codereview.chromium.org/796433002
Cr-Commit-Position: refs/heads/master@{#307711}
Revert of Call to CrosSettings::Set() is replaced by OwnerSettingsService::Set() in VersionUpdaterCros. (patchset #7 id:120001 of https://codereview.chromium.org/738843002/)
Reason for revert:
Speculative revert to see if this is the cause of issue 440063.
BUG=440063
[email protected]
Original issue's description:
> Call to CrosSettings::Set() is replaced by OwnerSettingsService::Set() in VersionUpdaterCros. Also, fixed permissions checks for channel switcher UI in a multi-profiles sessions.
>
> BUG=433840
> TEST=existing unit_tests for OwnerSettingsService
>
> Committed: https://crrev.com/e0ed5a18bc9e3fa930f1af3b8f9c3cfdb91329f5
> Cr-Commit-Position: refs/heads/master@{#305012}
[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=433840
Review URL: https://codereview.chromium.org/790183002
Cr-Commit-Position: refs/heads/master@{#307710}
Added utility functions related to working with "facets".
A "facet" is defined as the manifestation of a logical application on a given platform, for example, as an Android application, or as a Web application accessible from a browser. Facets that belong to the same logical application can be treated as synonymous for certain purposes, e.g., sharing log-in credentials between them.
BUG=437865
Review URL: https://codereview.chromium.org/771173002
Cr-Commit-Position: refs/heads/master@{#307709}
Introduce new content APIs for persistent notifications.
This patch introduces two new APIs on the PlatformNotificationService
for displaying and closing persistent notifications. Whilst the message
filter calls them, there are no implementations yet.
BUG=432527
Review URL: https://codereview.chromium.org/776813004
Cr-Commit-Position: refs/heads/master@{#307708}
Adapt Chrome OS related part of ChildAccountService.
Follow up for https://codereview.chromium.org/783083002/
BUG=372381
[email protected]
Review URL: https://codereview.chromium.org/785893003
Cr-Commit-Position: refs/heads/master@{#307707}
Roll WebRTC 7853:7864, Libjingle 7854:7860
WebRTC 7853:7864
Changes: https://chromium.googlesource.com/external/webrtc/trunk/webrtc.git/+log/6c79878..764bd22
Libjingle 7854:7860
Changes: https://chromium.googlesource.com/external/webrtc/trunk/talk.git/+log/8da17a9..e2d3246
[email protected], [email protected]
Review URL: https://codereview.chromium.org/795583002
Cr-Commit-Position: refs/heads/master@{#307706}
Break dependency of DeviceTempFile from DeviceUtils
Instead of accessing DeviceUtils methods (which tend to cause a circular
dependency with that module), we access directly the lower level
AdbWrapper to create temp files on the device.
Interface changes:
- DeviceTempFile expects an AdbWrapper object (instead of a DeviceUtils
object).
Implementation changes:
- by default, write temp files to /data/local/tmp (c.f. BUG 436133)
- use 'test' to check for existence of files and directories
- use 'touch' to reserve the name of a temp file
- provide a |name_quoted| property
- ignore errors when removing temp file
The first patch set comes from the reverted CL:
https://codereview.chromium.org/751063002/
BUG=440703,436133
Review URL: https://codereview.chromium.org/793653002
Cr-Commit-Position: refs/heads/master@{#307705}
Fix a couple of compile errors in the foreground module.
BUG=None
Review URL: https://codereview.chromium.org/795533002
Cr-Commit-Position: refs/heads/master@{#307704}
[Ozone] Fix build
Change Ozone interface to use SkSurface rather than SkCanvas
BUG=none
[email protected]
NOTRY=true
Review URL: https://codereview.chromium.org/794603003
Cr-Commit-Position: refs/heads/master@{#307703}
android: Remove unused TraceEvent.startAsync/finishAsync
There are no calls to the version that takes a string arg, so remove
that version.
BUG=
Review URL: https://codereview.chromium.org/785423002
Cr-Commit-Position: refs/heads/master@{#307702}
Roll src/third_party/WebKit 34051e7:4c45103 (svn 186845:186846)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/34051e7..4c45103
[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/793683003
Cr-Commit-Position: refs/heads/master@{#307701}
Refactored destroy() out of onElementDetached() in the guestviews.
This allowed most (3/4) of the onElementDetached() functions to be removed entirely.
BUG=431002
Review URL: https://codereview.chromium.org/786413002
Cr-Commit-Position: refs/heads/master@{#307700}
Fix crashes in ElementsUploadDataStreamTest
standard lib reports:
error: attempt to insert with an iterator range
[__first, __last) from this container.
When compiling standard lib from gcc 4.9 with C++11, insert
cannot take the same vector as both source and destination.
BUG=None
Review URL: https://codereview.chromium.org/789953002
Cr-Commit-Position: refs/heads/master@{#307699}
<workerframe>: Remove Unnecessary Requires in worker_frame.js
BUG=434226
[email protected]
Review URL: https://codereview.chromium.org/791993002
Cr-Commit-Position: refs/heads/master@{#307698}
SkCanvas::NewRaster is deprecated, create a surface instead
BUG=skia:3216
Review URL: https://codereview.chromium.org/791753002
Cr-Commit-Position: refs/heads/master@{#307697}
Revert of Revert of Enable telemetry unittests on Mac 10.9 (patchset #1 id:1 of https://codereview.chromium.org/792683002/)
Reason for revert:
The failing test was disabled in https://codereview.chromium.org/789043003
Original issue's description:
> Revert of Enable telemetry unittests on Mac 10.9 (patchset #1 id:1 of https://codereview.chromium.org/779943004/)
>
> Reason for revert:
> Tests fail with a different error.
>
> Original issue's description:
> > Enable telemetry unittests on Mac 10.9
> >
> > The tests were fixed in https://codereview.chromium.org/789853003
> >
> > BUG=423688
> >
> > Committed: https://crrev.com/e0fe19f3e05e83e820be8a8e2850853bc0434b21
> > Cr-Commit-Position: refs/heads/master@{#307522}
>
> [email protected],[email protected]
> NOTREECHECKS=true
> NOTRY=true
> BUG=423688
>
> Committed: https://crrev.com/dbf34f1e5d36e433c9d30df974da8c5f6fa665e5
> Cr-Commit-Position: refs/heads/master@{#307553}
[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=423688
Review URL: https://codereview.chromium.org/789233002
Cr-Commit-Position: refs/heads/master@{#307696}
Disabling qtkit testing on 720p; broken in WebRTC.
[email protected]
BUG=440762
Review URL: https://codereview.chromium.org/778403004
Cr-Commit-Position: refs/heads/master@{#307695}
Start pulling away notification logic from ChromeContentBrowserClient.
This moves a bunch of notification permission logic (specifically for
extensions) from ChromeContentBrowserClient to a new object, the
PlatformNotificationService, which is a singleton in the browser process.
BUG=439950
Review URL: https://codereview.chromium.org/774573003
Cr-Commit-Position: refs/heads/master@{#307694}
Updating trunk VERSION from 2245.0 to 2246.0
Cr-Commit-Position: refs/heads/master@{#307693}
FamilyInfoFetcher: fall back to default profile image URL if actual URL is empty/missing
(server-side part was added in cl/81042426)
BUG=404671
Review URL: https://codereview.chromium.org/782303002
Cr-Commit-Position: refs/heads/master@{#307692}
Cache function templates in PluginObject to avoid memory leak.
Without caching, each call to PluginObject::GetPropertyOrMethod creates
a new function template. V8 stores all function templates internally
for the lifetime of the web-page.
BUG=439966
Review URL: https://codereview.chromium.org/785213002
Cr-Commit-Position: refs/heads/master@{#307691}
Gallery: Filter out file names that started with '.'.
If a file name start with '.', the file may not an image even if it has the
image exntension such as '.jpg'. Files.app hides file names that start with '.'
by default. The CL let Gallery follow Files.app.
BUG=435008
TEST=GalleryJsTest.BackgroundTest
Review URL: https://codereview.chromium.org/783633002
Cr-Commit-Position: refs/heads/master@{#307690}
Remove bitrot from record_android_profile.py
Update record_android_profile.py to the most recent Telemetry API.
Review URL: https://codereview.chromium.org/787843004
Cr-Commit-Position: refs/heads/master@{#307689}
Add controlled setting indicators for policy-installed extensions.
Unified representation of policy-installed extensions between settings
and extensions page.
BUG=110366
TEST=force-install extension through policy and check that indicators appears.
Review URL: https://codereview.chromium.org/647733002
Cr-Commit-Position: refs/heads/master@{#307688}
[Telemetry] Disable testPowerMonitoringSync test on Mac & cleanup test macros
testPowerMonitoringSync is an end-end test for power measurement and requires hardware that supports power usage measurement. The Telemetry unit tests are currently run on a VM on the bots and don't support power measurement.
Disable this test in the interim.
In addition this CL changes a bunch of uses of benchmark.Disabled/Enabled -> telemetry.unit_test_util.test.Disabled/Enabled in unit tests.
BUG=440666
Review URL: https://codereview.chromium.org/789043003
Cr-Commit-Position: refs/heads/master@{#307687}
Roll src/third_party/WebKit 50ec006:34051e7 (svn 186842:186845)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/50ec006..34051e7
[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/793673002
Cr-Commit-Position: refs/heads/master@{#307686}
app_list: Enable level 1 of cpplint, be stricker.
Otherwise we are not checking the following, because depot_tool's
presubmit_canned_checks.py:CheckChangeLintsClean filters them:
* build/include
* build/include_order
* build/namespace
* readability/casting
* runtime/int
* runtime/virtual
* whitespace/braces
* readability/inheritance
Entries were found with the following command line:
$ for f in $(g ls-files ui/app_list | grep ".*\cc$" | grep -v cocoa); do
cpplint.py $f; done
And
$ for f in $(g ls-files ui/app_list | grep ".*\h$" | grep -v cocoa); do
cpplint.py $f; done
They were cleaned up until no errors were reported.
BUG=None
TEST=see above
[email protected]
Review URL: https://codereview.chromium.org/788493002
Cr-Commit-Position: refs/heads/master@{#307685}
Introduce Stream::flush [2/2 chromium]
There is no way to flush the buffer in the stream.
This cl introduces Stream::flush method.
We can flush the buffer in the browser process using this method from blink.
We will use this method when we send the data from the ServiceWorker to the browser process progressively.
1/2 blink: https://codereview.chromium.org/747323007/
2/2 chromium: https://codereview.chromium.org/760823002/
BUG=436424
Review URL: https://codereview.chromium.org/760823002
Cr-Commit-Position: refs/heads/master@{#307684}
Enables API change in native WebRTC audio device module
TBR=tommi
BUG=NONE
Review URL: https://codereview.chromium.org/788153002
Cr-Commit-Position: refs/heads/master@{#307683}
Roll src/third_party/WebKit 3905b12:50ec006 (svn 186834:186842)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/3905b12..50ec006
[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/793573004
Cr-Commit-Position: refs/heads/master@{#307682}
tuple: further generalize/simplify Tuple implementation
Instead of specially implementing Tuple for 0 to 8 arguments, use a
more traditional implementation by having Tuple<A, B, ...> inherit
from TupleLeaf<0, A>, TupleLeaf<1, B>, etc. This allows Tuple to be
used with an arbitrary number of arguments.
To remain backwards compatible with code that accesses "t.a", "t.b",
etc., we specialize TupleLeaf for the first 8 elements to store their
values in appropriately named member variables. These accessors work
even for Tuples with more than 8 elements, but the 9th element and
beyond are only supported with get<N>().
Review URL: https://codereview.chromium.org/792763002
Cr-Commit-Position: refs/heads/master@{#307681}
Gallery: Add EntryListWatcher class.
The CL adds EntryListWatcher class that observes and removes list item if the
corresponding entry is removed from file system.
The class is going to be used for Gallery.Item.
BUG=436350
TEST=FileManagerJsTest.EntryListWatcherTest
Review URL: https://codereview.chromium.org/772333004
Cr-Commit-Position: refs/heads/master@{#307680}
Don't update extension app on navigate if it doesnt' have a launch url.
The extension app is usually updated on navigations so that the app
icon shown in the windows task bar is correct. This shouldn't be done
if the extension associated with the browser doesn't have a valid
launch url.
This change only affects how the new bookmark apps operate. Prior to
the new bookmark apps system, the extension app is never updated on
navigations.
BUG=440670
Review URL: https://codereview.chromium.org/788113004
Cr-Commit-Position: refs/heads/master@{#307679}
Don't change default hosted app containers for new bookmark apps flow.
Before this change the new bookmark apps flow changed the default hosted
app launch container to be a window instead of an app. This change is
unnecessary to enable hosted apps.
BUG=440673
Review URL: https://codereview.chromium.org/793613002
Cr-Commit-Position: refs/heads/master@{#307678}
Added CoalescedPermissionMessages to ManifestPermissions
Added a new type, CoalescedPermissionMessage, which represents a
permission message made up of 0 or more permissions. Also started a
refactor to move IDs out of APIPermission::ID and PermissionMessage::ID
and into their own common class.
Added a new method GetPermissions() to ManifestPermission, which allows
manifest permissions to specify their own custom permissions (and hence
custom messages) for apps with that permission. Updated all 5 subclasses
(automation, bluetooth, sockets, UI overrides hanlder and the mock
manifest).
Also added another FilterHostPermissions() method to ExtensionsClient
that can create CoalescedPermissionMessages.
BUG=398257
Committed: https://crrev.com/45d827a6ba247ef55275c52ade2dfddbaeb87a9f
Cr-Commit-Position: refs/heads/master@{#307630}
Review URL: https://codereview.chromium.org/750353003
Cr-Commit-Position: refs/heads/master@{#307677}
Fix empty PasswordManagerDriver in ContentCredentialManagerDispatcher.
After https://codereview.chromium.org/707173004 PasswordManagerDriver lifetime is bound to frame. It should be stored as a weak pointer. It can't be retrieved in ContentCredentialManagerDispatcher's constructor because ContentPasswordManagerDriverFactory is created later in ChromePasswordManagerClient's constructor.
BUG=439534
Review URL: https://codereview.chromium.org/787823003
Cr-Commit-Position: refs/heads/master@{#307676}
Update V8 to version 3.31.51 (based on 19418d76dfba7a48b3ab5760e2295a425b50590b).
[email protected]
Review URL: https://codereview.chromium.org/790113002
Cr-Commit-Position: refs/heads/master@{#307675}
Generalize V4L2 HW video codec device names
Switch to more generalized V4L2 video accelerator device names and update
sandbox rules to reflect that.
After video_ChromeHWDecodeUsed autotest is fixed, this cl is submitted again
due to crrev.com/730693005 reverted in crrev.com/784553004.
BUG=405861, 437598, 439175
TEST=passed video_ChromeHWDecodeUsed with h264 and vp8 on peach_pit.
Media.GpuVideoDecoderInitializeStatus value is 0 when playing a video
from youtube. DUT only has /dev/video-enc and /dev/video-dec device nodes.
Review URL: https://codereview.chromium.org/786993002
Cr-Commit-Position: refs/heads/master@{#307674}
Roll src/third_party/WebKit 2b69a42:3905b12 (svn 186833:186834)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/2b69a42..3905b12
[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/794523002
Cr-Commit-Position: refs/heads/master@{#307673}
Migrate DeviceUtils.ReadFile to adb_wrapper
The implementation is based on a simple 'cat' run by shell on the
device (with optional as_root).
Interface changes:
- The return value is a string (instead of a list of lines).
- An exception is raised if the file cannot be read (instead of returning an empty list).
BUG=267773
Review URL: https://codereview.chromium.org/775333002
Cr-Commit-Position: refs/heads/master@{#307672}
Correct the name of mousedown event on the autocomplete list.
BUG=440251
TEST=go through the repro step on the issue
Review URL: https://codereview.chromium.org/791913002
Cr-Commit-Position: refs/heads/master@{#307671}
Migrate DeviceUtils.parallel to adb_wrapper
The implementation uses AdbWrapper.GetDevices to get the list of
attached devices when needed.
BUG=267773
Review URL: https://codereview.chromium.org/784103005
Cr-Commit-Position: refs/heads/master@{#307670}
Fix app list search box rendering above speech view.
This CL fixes issues with the app list where the search box widget would
render above the speech view while accepting input.
This has been fixed by appropriately animating the search box widget
when the speech view is shown and disabling the search box.
BUG=439835
Review URL: https://codereview.chromium.org/781413002
Cr-Commit-Position: refs/heads/master@{#307669}
Only cancel pending navigation on user gesture.
This prevent sites navigating internally to block user from navigating.
BUG=75195
Review URL: https://codereview.chromium.org/746993003
Cr-Commit-Position: refs/heads/master@{#307668}
Updating WebRTC demo pages.
The main purpose is to pull down a demo page change where we assign IDs
to video tags. That way we'll measure dropped frames separately for VGA
and HD, which doesn't make sense to group together like they are now.
BUG=None
Review URL: https://codereview.chromium.org/790713002
Cr-Commit-Position: refs/heads/master@{#307667}
Fix html viewer.
[email protected]
Review URL: https://codereview.chromium.org/776553003
Cr-Commit-Position: refs/heads/master@{#307666}
[Android] Enable breakpad microdumps on aarch64.
This is a followup to the previous roll (crrev.com/774693003)
which brought the breakpad support for aarch64, forgetting to
enable it on the chromium side.
BUG=410294
Review URL: https://codereview.chromium.org/790753002
Cr-Commit-Position: refs/heads/master@{#307665}
Upstream iOS TestWebState
Review URL: https://codereview.chromium.org/787863002
Cr-Commit-Position: refs/heads/master@{#307664}
[chromedriver] Handle Tracing.end response for Chrome 40 and earlier builds
BUG=chromedriver:997
[email protected]
Review URL: https://codereview.chromium.org/791613003
Cr-Commit-Position: refs/heads/master@{#307663}
Remove ViewFlushedPaint
All the uses have been moved to ViewInitiatedPaint.
Review URL: https://codereview.chromium.org/782113002
Cr-Commit-Position: refs/heads/master@{#307662}
Remove app uninstall from ui/app_list.
This CL removes an obsolete codepath that updated the app list search
results when an app was uninstalled.
This was enabled by https://codereview.chromium.org/781643003/.
BUG=438120
Review URL: https://codereview.chromium.org/776193002
Cr-Commit-Position: refs/heads/master@{#307661}
Revert of Added CoalescedPermissionMessages to ManifestPermissions (patchset #6 id:160001 of https://codereview.chromium.org/750353003/)
Reason for revert:
Static initializers in permission message utils
Original issue's description:
> Added CoalescedPermissionMessages to ManifestPermissions
>
> Added a new type, CoalescedPermissionMessage, which represents a
> permission message made up of 0 or more permissions. Also started a
> refactor to move IDs out of APIPermission::ID and PermissionMessage::ID
> and into their own common class.
>
> Added a new method GetPermissions() to ManifestPermission, which allows
> manifest permissions to specify their own custom permissions (and hence
> custom messages) for apps with that permission. Updated all 5 subclasses
> (automation, bluetooth, sockets, UI overrides hanlder and the mock
> manifest).
>
> Also added another FilterHostPermissions() method to ExtensionsClient
> that can create CoalescedPermissionMessages.
>
> BUG=398257
>
> Committed: https://crrev.com/45d827a6ba247ef55275c52ade2dfddbaeb87a9f
> Cr-Commit-Position: refs/heads/master@{#307630}
[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=398257
Review URL: https://codereview.chromium.org/793633003
Cr-Commit-Position: refs/heads/master@{#307660}
Roll src/third_party/skia e18a530:f9d09c9
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/e18a530..f9d09c9
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/791003002
Cr-Commit-Position: refs/heads/master@{#307659}
Roll src/third_party/WebKit 1f8c5e1:2b69a42 (svn 186828:186833)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/1f8c5e1..2b69a42
[email protected],[email protected]
Review URL: https://codereview.chromium.org/787323002
Cr-Commit-Position: refs/heads/master@{#307658}
Add type annotations to gallery/js/image_editor/image_view.js.
BUG=433728
TEST=GYP_GENERATORS=ninja tools/gyp/gyp --depth . ui/file_manager/gallery/js/compiled_resources.gyp && ninja -C out/Default | grep "image_view.js"
Review URL: https://codereview.chromium.org/792733002
Cr-Commit-Position: refs/heads/master@{#307657}
Automated Commit: Committing new LKGM version 6561.0.0 for chromeos.
Cr-Commit-Position: refs/heads/master@{#307656}
Update V8 to version 3.31.50 (based on 581747c8692789309dabcf0f1f59ab1f1936c5f2).
[email protected]
NOTRY=true
Review URL: https://codereview.chromium.org/786933004
Cr-Commit-Position: refs/heads/master@{#307655}
Added unittest to make sure future changes in P224EncryptedKeyExchange don't change output.
External implementations already expect this values.
BUG=438470
[email protected], [email protected]
Review URL: https://codereview.chromium.org/789743002
Cr-Commit-Position: refs/heads/master@{#307654}
Style fixes for blobs_use_quota.html
Review URL: https://codereview.chromium.org/795483002
Cr-Commit-Position: refs/heads/master@{#307653}
Roll src/third_party/WebKit 033f047:1f8c5e1 (svn 186827:186828)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/033f047..1f8c5e1
[email protected],[email protected]
Review URL: https://codereview.chromium.org/791633006
Cr-Commit-Position: refs/heads/master@{#307652}
Fix injecting script into all frames within <webview>.
This broke after we added the check to match frame's src against
<webview>'s src.
We shouldn't be doing this for non top level frames.
This CL also makes skipping multiple loadstop-s from utils.js configurable, the option can be truned on by setting
config.SKIP_MULTIPLE_LOADSTOP = true;
BUG=433948
Test=<webview>.executeScript with allFrames: true should inject script into all frames
Review URL: https://codereview.chromium.org/792603002
Cr-Commit-Position: refs/heads/master@{#307651}
Revert of Make the sort order in thumbnail view always alphabetical.
Original issue's description:
> Make the sort order in thumbnail view always alphabetical.
>
> Implemented sort related wrapper to ListContainer to fix the actual sort order
> in thumbnail view in alphabetical order.
>
> BUG=438915
> TEST=sort files non-alphabetically in list view, change view to grid view, and confirm the sort order is alphabetical.
> After that, change view to list view, and confirm that the first sort order is restored.
>
> Committed: https://crrev.com/bd854587a2e1b3ca8e7b13299e3d74978b1933f9
> Cr-Commit-Position: refs/heads/master@{#307233}
BUG=438915,440659
[email protected]
Review URL: https://codereview.chromium.org/788113003
Cr-Commit-Position: refs/heads/master@{#307650}
Move layout of the app list search box widget into the contents view.
This CL moves the responsibility of positioning the search box widget via
Layout() to the contents view rather than the app list view.
This fixes a bug where launcherPage.show() would leave the search box in
the start page's position. It also consolidates the responsibility of
search box positioning at the ContentsView layer.
BUG=439333
Review URL: https://codereview.chromium.org/774933012
Cr-Commit-Position: refs/heads/master@{#307649}
Adds support for ChromeOS for SigninStatusMetricsProvider.
BUG=400532
Review URL: https://codereview.chromium.org/761783002
Cr-Commit-Position: refs/heads/master@{#307648}
[chromedriver] Release ChromeDriver 2.13
BUG=
Review URL: https://codereview.chromium.org/774383002
Cr-Commit-Position: refs/heads/master@{#307647}
Gallery: Fix condition to use thumbnail images in slide mode.
The CL fixes two conditions to use thumbnail images in slide mode.
* If the effect is not specified, the thumbnail images should be used.
* If metadata.external.thumbnail (as well as metadata.thumbnail) is not empty,
the thumbnail images should be used.
BUG=435443
TEST=GalleryJsTest.ImageViewTest
Review URL: https://codereview.chromium.org/777153002
Cr-Commit-Position: refs/heads/master@{#307646}
Update app list search results when apps are uninstalled.
This CL fixes an issue where search result tile items in the experimental app
list would not be updated when apps were uninstalled.
BUG=438120
Review URL: https://codereview.chromium.org/781643003
Cr-Commit-Position: refs/heads/master@{#307645}
Have audio_logging_enabled reflect its actual value, instead of being permanently false.
BUG=397019
Review URL: https://codereview.chromium.org/795463002
Cr-Commit-Position: refs/heads/master@{#307644}
Roll src/third_party/WebKit 6d9a0ae:033f047 (svn 186822:186827)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/6d9a0ae..033f047
[email protected],[email protected]
Review URL: https://codereview.chromium.org/787283003
Cr-Commit-Position: refs/heads/master@{#307643}
Roll src/third_party/skia 933d438:e18a530
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/933d438..e18a530
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/789103002
Cr-Commit-Position: refs/heads/master@{#307642}
Cleanup: Delete insets_f.h header file.
It is just a pass through for ui/gfx/geometry/insets_f.h. Since nobody
is including ui/gfx/insets_f.h we can just remove it now.
BUG=395370
TEST=None
[email protected],[email protected]
Review URL: https://codereview.chromium.org/747283004
Cr-Commit-Position: refs/heads/master@{#307641}
Fix threading bugs in product label UI.
As mentioned in https://codereview.chromium.org/680393002/#msg6, the current code had some threading issues.
BUG=438953
[email protected],[email protected]
[email protected]
Review URL: https://codereview.chromium.org/780203002
Cr-Commit-Position: refs/heads/master@{#307640}
[chromedriver] Don't wait for responses from Tracing.end
BUG=chromedriver:997
Review URL: https://codereview.chromium.org/785403002
Cr-Commit-Position: refs/heads/master@{#307639}
[chromedriver] Disable ImplicitWaitTest.testShouldImplicitlyWaitForASingleElement on Android
BUG=chromedriver:998
[email protected]
Review URL: https://codereview.chromium.org/785233006
Cr-Commit-Position: refs/heads/master@{#307638}
Remove unused SafeBrowsingDatabaseManager::extension_blacklist_ member.
All extension BL operations use the |extension_blacklist_store_| directly
and the |extension_blacklist_| itself was never initialized/updated/used.
Looks like this has been the case since the initial CL @ http://crrev.com/3e72ed75
This cleanup makes it easier to progress on issue 440517.
BUG=440517
Review URL: https://codereview.chromium.org/724733004
Cr-Commit-Position: refs/heads/master@{#307637}
Only show a warning for frames pointing at UwS URLs, not resources.
Where "frames" applies to the top-level frame, <iframe>'s, and <frame>'s.
Augmented SafeBrowsingBlockingPageBrowserTest to run for all 3 of MALWARE/PHISHING/UNWANTED threats.
BUG=439043
TEST=
A) New SafeBrowsingServiceTest.UnwantedImgIgnored test doesn't pass without corresponding ui_manager.cc change.
B) All SafeBrowsingBlockingPageBrowserTest augmented to run for UNWANTED_URL and PHISHING threats as well pass.
C) Manually verified that an iframe/frame/main_frame pointing to an Unwanted site triggers an interstitial, yet an image inclusion doesn't.
Review URL: https://codereview.chromium.org/770503004
Cr-Commit-Position: refs/heads/master@{#307636}
IDB: Show blob path on chrome://indexeddb-internals
[email protected],[email protected]
BUG=409436
Review URL: https://codereview.chromium.org/791443002
Cr-Commit-Position: refs/heads/master@{#307635}
Remove obsolete chunk of EAC3-related code in media
EAC3 codec support has been removed from Chrome a while ago
and the kEnableEac3Playback command line switch doesn't
exist anymore, but this chunk of code survived since it's
inside ifdef ENABLE_EAC3_PLAYBACK, which is not defined
anywhere.
BUG=none
Review URL: https://codereview.chromium.org/793533002
Cr-Commit-Position: refs/heads/master@{#307634}
App launcher: Use title case for 'All Apps' button.
BUG=440042
Review URL: https://codereview.chromium.org/785383002
Cr-Commit-Position: refs/heads/master@{#307633}
Roll src/third_party/WebKit a1de3bf:6d9a0ae (svn 186814:186822)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/a1de3bf..6d9a0ae
[email protected],[email protected]
Review URL: https://codereview.chromium.org/793553002
Cr-Commit-Position: refs/heads/master@{#307632}
Roll src/third_party/skia a8918a0:933d438
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/a8918a0..933d438
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/787043005
Cr-Commit-Position: refs/heads/master@{#307631}
Added CoalescedPermissionMessages to ManifestPermissions
Added a new type, CoalescedPermissionMessage, which represents a
permission message made up of 0 or more permissions. Also started a
refactor to move IDs out of APIPermission::ID and PermissionMessage::ID
and into their own common class.
Added a new method GetPermissions() to ManifestPermission, which allows
manifest permissions to specify their own custom permissions (and hence
custom messages) for apps with that permission. Updated all 5 subclasses
(automation, bluetooth, sockets, UI overrides hanlder and the mock
manifest).
Also added another FilterHostPermissions() method to ExtensionsClient
that can create CoalescedPermissionMessages.
BUG=398257
Review URL: https://codereview.chromium.org/750353003
Cr-Commit-Position: refs/heads/master@{#307630}
tuple: update to make use of C++11
This CL adds a generic variadic Tuple class that generalizes
Tuple1, Tuple2, etc. It also adds the C++11-style get<N>(tuple)
method for accessing tuple members. As a demonstration, the
DispatchToFunction() and DispatchToMethod() functions have been
updated to make use of these and became substantially shorter.
However, to remain compatible with existing code that accesses
Tuple fields by name, the Tuple class is actually implemented via
multiple specializations that match the TupleN classes that used
to exist. Once all access to foo.a, bar->b, ... have been updated
to get<0>(foo), get<1>(*bar), ... then we can simplify Tuple
further and eventually replace it with std::tuple.
Review URL: https://codereview.chromium.org/693693005
Cr-Commit-Position: refs/heads/master@{#307629}
Show all non-generic file handlers as "Open" in file tasks combobutton.
This CL changes text of file tasks combobutton to "Open" for any non-generic file handlers (file handlers which take specific file types such as: ["jpg"]).
BUG=430368
TEST=Manually tested
Review URL: https://codereview.chromium.org/793543002
Cr-Commit-Position: refs/heads/master@{#307628}
For tamper detection, previously if we see tampering happens on images, we report it to one UMA histogram. This CL separates UMA report for different image types: we have different UMA histograms for GIF, PNG, JPEG and WebP.
BUG=381907
Review URL: https://codereview.chromium.org/719403003
Cr-Commit-Position: refs/heads/master@{#307627}
easy_unlock: Fix official build bot.
Work around the test failure caused by dynamical loading of the app
after test case starts and watching for navigation notifications. The
problem should be gone when the app is bundled with Chrome as other
component apps.
BUG=439998
Review URL: https://codereview.chromium.org/787843005
Cr-Commit-Position: refs/heads/master@{#307626}
Always close SSL socket in TestWebServer
This fixes a bug where TestWebServer leaves a socket open, which can
lead to a deadlock in some circumstances.
BUG=424418
Review URL: https://codereview.chromium.org/663683002
Cr-Commit-Position: refs/heads/master@{#307625}
Cleanup: adopt C++11 range-based-for to simplify the code.
BUG=None
[email protected]
TEST=build succeed
Review URL: https://codereview.chromium.org/791873002
Cr-Commit-Position: refs/heads/master@{#307624}
Fix a possible memory leak in GenerateFrameImage()
This is to cover the case like when frame-gradient-size is 0, but the
color is not null. It's unlikely, but possible. In such situation, the
color structure must be freed to avoid a memory leak.
BUG=none
Review URL: https://codereview.chromium.org/783663004
Cr-Commit-Position: refs/heads/master@{#307623}
Fix size reported on chrome://indexeddb-internals/
BUG=435627,435631
Review URL: https://codereview.chromium.org/779303003
Cr-Commit-Position: refs/heads/master@{#307622}
Navigation transitions (web to native app): Revert exit transition (Chrome side)
We need a way to revert exit transition and show hidden transition elements when coming back from native app (when back button is pressed).
This is the Chrome side of the CL. Blink side CL is here: https://codereview.chromium.org/653223002/
BUG=370696
Review URL: https://codereview.chromium.org/775843004
Cr-Commit-Position: refs/heads/master@{#307621}
Delete the enable/disable layer squashing flags and settings.
TBR=jam,jochen
Review URL: https://codereview.chromium.org/785323002
Cr-Commit-Position: refs/heads/master@{#307620}
Add comments to connection error log message to indicate that server code
has to be updated when a new error is added here.
BUG=
Review URL: https://codereview.chromium.org/788933002
Cr-Commit-Position: refs/heads/master@{#307619}
cc: Remove a todo about solid analysis.
This patch removes a todo that, in my opinion, should not be addressed.
R=enne
Review URL: https://codereview.chromium.org/794463002
Cr-Commit-Position: refs/heads/master@{#307618}
Update apps/ to use the new version of LaunchProcess.
BUG=417532
Review URL: https://codereview.chromium.org/788953002
Cr-Commit-Position: refs/heads/master@{#307617}
Plugin Power Saver: Embedder decides whether content is peripheral.
This refactor has a few goals:
1. Previously, when the user clicks on the poster image, the content origin is whitelisted. This prevents further throttling once the 'real' plugin is loaded. That's actually incorrect, and just a hack to get it working. We really just want that particular 'real' plugin to skip throttling, not whitelist the whole origin.
2. With this patch, GetPosterImage is eliminated, and ShouldThrottle and WhitelistContentOrigin are called solely on the embedder side. This supports goal #1, and also will allow us (in a subsequent patch) move parts of PluginPowerSaverHelper out of content/.
3. The embedder decides 'is_peripheral_content', and plumbs that boolean all the way down into content/. To implement the M41 PPS setting in the Settings menu, we will have to plumb 'power_saver_enabled' through to content in a similar way. content/ has no access to Settings, so the embedder has to decide and pass it down.
4. 'is_peripheral_content' is actually different from 'power_saver_enabled'. We need to pass 'is_peripheral_content' down separately, since we collect metrics on all peripheral plugins, even if the user doesn't have the setting enabled.
BUG=403800
Review URL: https://codereview.chromium.org/753553007
Cr-Commit-Position: refs/heads/master@{#307616}
Add support for 'live' recursive scanning.
This is in advance of changes to MediaScanner that will publish information *while* scanning, which allows us to present a live view of the scanning process to the user.
Implement DirectoryReader support in MockDirectoryEntry.
BUG=420680
TEST=browser_test: FileManagerJsTest.*
Review URL: https://codereview.chromium.org/785953003
Cr-Commit-Position: refs/heads/master@{#307615}
Avoid stale navigation requests without excessive page id knowledge in the renderer process.
This reverts the page id portions of r92748 and r96724, but keeps some unrelated cleanup as well as some tests.
BUG=431853, 178491
TEST=covered by tests, as well as it shouldn't regress the original bug 86758
Review URL: https://codereview.chromium.org/743803002
Cr-Commit-Position: refs/heads/master@{#307614}
Roll src/third_party/WebKit dd85771:a1de3bf (svn 186808:186814)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/dd85771..a1de3bf
[email protected],[email protected]
Review URL: https://codereview.chromium.org/793483002
Cr-Commit-Position: refs/heads/master@{#307613}
Cleanup: Remove --no-message-box switch from ui/base switches.
It is probably better to just remove it, as it probably does not have
many users.
BUG=439769
[email protected],[email protected]
Review URL: https://codereview.chromium.org/747393004
Cr-Commit-Position: refs/heads/master@{#307612}
Move the copying of the decoded surface to the output surface off the main GPU thread to the DXVA decoder thread.
The copy operation is expensive especially for 1080P frames which causes jankiness while playing the video. This also ensures
that we can now enable H264PROFILE_HIGH videos for H/W decode on Windows.
Changes in this patch as below:-
1. The copy of the decoded surface to the output surface is now done on the decoder thread. When the copy completes we
execute a callback on the main thread to infom the client that the texture is now ready.
2. Removed the kFlushingPendingInputBuffers state as this is no longer needed.
3. Added a boolean flag pending_flush_ to the DXVA decoder class. This is used to prevent multiple flush done notifications
from being sent.
4. Added a DropFrame function to the DXVAPictureBuffer class. This is invoked from the Reset function to drop frames which have not been presented yet.
BUG=426707, 439632
Review URL: https://codereview.chromium.org/781343003
Cr-Commit-Position: refs/heads/master@{#307611}
[Android] Use NavigationController for pull-to-refresh activation
When pull-to-refresh is triggered, use the NavigationController to
trigger the reload instead of WebContents::ReloadFocusedFrame. This is
consistent with how toolbar-triggered reloads are performed.
Also reduce the animation time for a single reload animation rotation.
BUG=440406,428429
Review URL: https://codereview.chromium.org/792623003
Cr-Commit-Position: refs/heads/master@{#307610}
Update browser/ssl to use the new version of LaunchProcess.
BUG=417532
Review URL: https://codereview.chromium.org/789743004
Cr-Commit-Position: refs/heads/master@{#307609}
Update browser/sync to use the new version of LaunchProcess.
BUG=417532
Review URL: https://codereview.chromium.org/793443002
Cr-Commit-Position: refs/heads/master@{#307608}
Introduce WebUnitTestSupport::getBlobItems() to check the blob content in unit tests. [2/2 chromium]
1/2 blink: https://codereview.chromium.org/762603005/
2/2 chromium: https://codereview.chromium.org/784473002/
BUG=436424
Review URL: https://codereview.chromium.org/784473002
Cr-Commit-Position: refs/heads/master@{#307607}
Extract display testing code so that it can be shared with others
No functional change intended.
BUG=429746
Review URL: https://codereview.chromium.org/790793003
Cr-Commit-Position: refs/heads/master@{#307606}
Roll src/third_party/skia c0bd648:a8918a0
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/c0bd648..a8918a0
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/788023002
Cr-Commit-Position: refs/heads/master@{#307605}
Remove page_set presubmit now that we upload in record_wpr.
BUG=
Review URL: https://codereview.chromium.org/788013002
Cr-Commit-Position: refs/heads/master@{#307604}
Update app_shim to use the new version of LaunchProcess.
BUG=417532
Review URL: https://codereview.chromium.org/789623005
Cr-Commit-Position: refs/heads/master@{#307603}
Remove creator_child_id from PrerenderContents.
This is cleanup along the way to simplifying the prerender
SessionStorageNamespace input. It's completely unused.
BUG=440539
Review URL: https://codereview.chromium.org/791793002
Cr-Commit-Position: refs/heads/master@{#307602}
Fix WeakPtrFactory in service_worker
BUG=303818
[email protected]
Review URL: https://codereview.chromium.org/790863002
Cr-Commit-Position: refs/heads/master@{#307601}
Add concept of a ScopedUserGestureForTests to ExtensionFunction
Also use it in InlineInstallPrivateApi tests
BUG=436624
Review URL: https://codereview.chromium.org/761533003
Cr-Commit-Position: refs/heads/master@{#307600}
Update sync/tools to use the new version of LaunchProcess.
BUG=417532
Review URL: https://codereview.chromium.org/728763004
Cr-Commit-Position: refs/heads/master@{#307599}
Wait for two frames before ending CompositingRWHVBrowserTest.CopyTwice
The copies could be completed in either order, so wait for both to finish before ending test.
BUG=439834
Review URL: https://codereview.chromium.org/759693005
Cr-Commit-Position: refs/heads/master@{#307598}
android: Remove TraceEvent.startAsync/finishAsync
Nothing calls these and they are slow due to dumping the calling stack.
BUG=439118
Review URL: https://codereview.chromium.org/768823003
Cr-Commit-Position: refs/heads/master@{#307597}
Update app_installer to use the new version of LaunchProcess.
BUG=417532
[email protected]
Review URL: https://codereview.chromium.org/791733002
Cr-Commit-Position: refs/heads/master@{#307596}
Add a centralized RecordSimpleAction() interface, so that
chromecast/internal could have a different implementation.
Review URL: https://codereview.chromium.org/772383002
Cr-Commit-Position: refs/heads/master@{#307595}
Revert "Roll Clang 218707:223109 (+r223211, +r223219, -r220714)" and follow-ups.
It was causing strange test failures in Mac ASan builds.
BUG=431803, 440602
NOTRY=true
TBR=thakis
Review URL: https://codereview.chromium.org/785393002
Cr-Commit-Position: refs/heads/master@{#307594}
Cleaning up MruWindowTracker::BuildWindowList()
Removing the top_most_at_end parameter which was always set to false and
was never used.
The previous CL (https://codereview.chromium.org/752253002) was reverted as it caused ash_unittests to fail on Windows:
http://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20(dbg)(1)
http://build.chromium.org/p/chromium.win/builders/Win8%20Aura
This is a retry, but we keep reversing the windows list after we build it.
[email protected]
BUG=None
Review URL: https://codereview.chromium.org/785273002
Cr-Commit-Position: refs/heads/master@{#307593}
Add frameId option to chrome.tabs.connect and chrome.tabs.sendMessage.
BUG=264286
[email protected],[email protected],[email protected]
TEST=browser_tests ExtensionApiTest.Messaging
Review URL: https://codereview.chromium.org/758443002
Cr-Commit-Position: refs/heads/master@{#307592}
Truncate some strings in form_autofill_util.cc instead of creating new substrings.
Review URL: https://codereview.chromium.org/786213004
Cr-Commit-Position: refs/heads/master@{#307591}
CC: WeakPtrFactory should be the last member
This CL moves BackToBackBeginFrameSource's WeakPtrFactory to be the last member. See the bug for details.
BUG=303818
Review URL: https://codereview.chromium.org/787203002
Cr-Commit-Position: refs/heads/master@{#307590}
Fix some android configuration
This adds //chrome/test:test_support_unit to the root build targets for
Android. This target is used by downstream things and so adding it to
the root will ensure that it is buildable upstream. This requires making
the sync integration/performance stuff be not defined if !is_android
(since they depend on things that aren't defined on that platform).
Changes the internal configuration hooks to not require setting the sdk
information.
Makes unittest_apk actually forward datadeps.
BUG=359249
TBR=cpu
Review URL: https://codereview.chromium.org/758473002
Cr-Commit-Position: refs/heads/master@{#307589}
egl: Don't query EGL_POST_SUB_BUFFER_SUPPORTED_NV without extension
We should only query the surface for this feature if the requisite
extension is supported. Querying has incorrect results with llvmpipe
on ubuntu trusty, which doesn't support the extension.
BUG=440473
TEST=chrome --use-gl=egl (chromeos build) - no partial swap errors
Review URL: https://codereview.chromium.org/792623002
Cr-Commit-Position: refs/heads/master@{#307588}
Remove unused mouse cursor shape includes.
Review URL: https://codereview.chromium.org/785083003
Cr-Commit-Position: refs/heads/master@{#307587}
Disable MSVC warning 4244 for the third-party power gadget code.
There's no obvious way to submit fixes upstream for this, and the warning
doesn't highlight any real bugs.
BUG=81439
TEST=none
Review URL: https://codereview.chromium.org/754183006
Cr-Commit-Position: refs/heads/master@{#307586}
[Sync] Enforce child-to-parent deletion order with more than max entries
If there are more deleted items than the max number of entries in a
commit (90), we were mistakenly bailing out of our top-to-bottom
traversal of the deleted entries upon hitting the max. This can lead to
committing parents before children.
Instead, we now do the full traversal, reverse, and then truncate the list,
to ensure children are always deleted before parents.
BUG=439442
Review URL: https://codereview.chromium.org/786553002
Cr-Commit-Position: refs/heads/master@{#307585}
Do not load more tabs than we have resources for
BUG=439599
TEST=SessionRestoreTest.NoMemoryPressureLoadsAllTabs, SessionRestoreTest.MemoryPressureLoadsNotAllTabs
Review URL: https://codereview.chromium.org/786163002
Cr-Commit-Position: refs/heads/master@{#307584}
Basic android app implementation.
BUG=417542,439346
Review URL: https://codereview.chromium.org/776883004
Cr-Commit-Position: refs/heads/master@{#307583}
Roll src/third_party/WebKit 71d0c65:dd85771 (svn 186796:186808)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/71d0c65..dd85771
[email protected],[email protected]
Review URL: https://codereview.chromium.org/784423002
Cr-Commit-Position: refs/heads/master@{#307582}
Refactor: Extract some duplicated code for verifying usages during import of asymmetric key.
Review URL: https://codereview.chromium.org/787123003
Cr-Commit-Position: refs/heads/master@{#307581}
Performance Monitor: Add separate UMA logging for extension renderers
R=thestig,kalman,simonhatch,asvitkine
BUG=424661
Review URL: https://codereview.chromium.org/773083002
Cr-Commit-Position: refs/heads/master@{#307580}
Transfer serviceworker state during cross site navigations too.
The ServiceWorkerProviderHost is an object that persist across the lifetime of a document. It's created prior to the document and prior to the initiation of the resource load for the documents main resource. Today, when a cross-site xfer occurs the host is deleted and a new host is created that knows nothing of whats going on... so not surprisingly things are broken.
The change is to retain the original ServiceworkerProviderHost and transfer ownership of it to the process in which the document finally lands.
BUG=438005
Review URL: https://codereview.chromium.org/702843004
Cr-Commit-Position: refs/heads/master@{#307579}
Fix ChromeVox webstore release.
TEST=run upload_to_chromevox.py; load unpacked .zip file on another platform e.g. Mac and verify basic functionality.
Review URL: https://codereview.chromium.org/780183003
Cr-Commit-Position: refs/heads/master@{#307578}
Roll WebRTC 7843:7853, Libjingle 7844:7854
WebRTC 7843:7853
Changes: https://chromium.googlesource.com/external/webrtc/trunk/webrtc.git/+log/32494ca..6c79878
Libjingle 7844:7854
Changes: https://chromium.googlesource.com/external/webrtc/trunk/talk.git/+log/ac243cf..8da17a9
[email protected]
Review URL: https://codereview.chromium.org/788963002
Cr-Commit-Position: refs/heads/master@{#307577}
[Chromoting] Add ClientSession.Capability to enable of MediaSource rendering.
Add a Capability to enable/disable use of the MediaSource-based rendering
in the client. By default, this feature is enabled for CRD.
Note that the ClientPlugin has a feature that indicates whether or not
MediaSource is available. This new capability controls whether or not this
feature is enabled.
NOTRY=True
BUG=
Review URL: https://codereview.chromium.org/784353002
Cr-Commit-Position: refs/heads/master@{#307576}
GN + Android: extract android_standalone_library rule.
This patch extracts the rule needed to produce a standalone .dex.jar for
a set of Java dependencies into a separate rule. This allows to package
any android library into a standalone .dex.jar file without affecting
the target being packaged.
BUG=437290
Review URL: https://codereview.chromium.org/778093004
Cr-Commit-Position: refs/heads/master@{#307575}
Include blob data when downloading IndexedDB archive from chrome://indexeddb-internals/
BUG=409436
Review URL: https://codereview.chromium.org/779433006
Cr-Commit-Position: refs/heads/master@{#307574}
Refactored the viewInstanceId out of buildAttachParams() for the guestviews.
BUG=431002
Review URL: https://codereview.chromium.org/787983002
Cr-Commit-Position: refs/heads/master@{#307573}
Fixes the color profile selection UI.
This is a speculative fix for the bug.
- currently color profiles are not supported at all, and it would
not be for all devices. Hidden by default would be a better choice.
- do not add to the available color profiles if the value is
invalid.
BUG=chrome-os-partner:32747
[email protected]
TEST=manually, with dummy data
Review URL: https://codereview.chromium.org/784203002
Cr-Commit-Position: refs/heads/master@{#307572}
[Chromoting] Add ClientSession.Capability to enable Gnubby-based auth.
This capability is always enabled for the CRD webapp.
NOTRY=True
BUG=
[email protected]
Review URL: https://codereview.chromium.org/787033003
Cr-Commit-Position: refs/heads/master@{#307571}
Add the names of plugins to the blocked plugin bubble.
BUG=414399
TEST=browser_tests --gtest_filter=ChromeRenderViewTest.*
TEST=unit_tests --gtest_filter=ContentSettingBubbleModelTest.Plugins
Review URL: https://codereview.chromium.org/777103002
Cr-Commit-Position: refs/heads/master@{#307570}
Remove chromevox.com from ChromeVox Next whitelist.
ChromeVox Next is not yet ready to be enabled for specific sites. Keeping around the chromevox_next_test whitelisting for easily testing CV Next.
TEST=navigate to chromevox.com and verify classic is running rather than next.
Review URL: https://codereview.chromium.org/784973002
Cr-Commit-Position: refs/heads/master@{#307569}
Stop setting --enable-viewport on Android.
This formerly no-op command-line flag was hooked up to turn on the CSS
viewport runtime feature in Blink in
https://codereview.chromium.org/633943002 . That caused this feature to
be accidentally shipped on Android.
NOTRY=true
BUG=440297
Review URL: https://codereview.chromium.org/785233004
Cr-Commit-Position: refs/heads/master@{#307568}
If the renderer drops a navigation, make sure the spinner doesn't spin endlessly.
BUG=431853
TEST=none
Review URL: https://codereview.chromium.org/790843002
Cr-Commit-Position: refs/heads/master@{#307567}
Remove streamlined hosted apps window treatment on windows / linux.
The desired treatment is very different to that currently implemented
on windows and linux. Hence the treatment will be removed until a time
when (/ if) it can be done properly.
ChromeOS still keeps the new treatment as it has the desired treatment,
which has a back button, website settings button etc. in the window
frame.
BUG=439324
Review URL: https://codereview.chromium.org/780223003
Cr-Commit-Position: refs/heads/master@{#307566}
AddressSanitizer: disable ODR-violation checks on Mac
They started failing after the Clang roll. Seems they're not ready
for prime time yet.
BUG=431803, 440543
TBR=glider
NOTRY=true
Review URL: https://codereview.chromium.org/788033002
Cr-Commit-Position: refs/heads/master@{#307565}
Return result from HidService::GetDevices asynchronously.
On Linux HID enumeration happens asynchronously. This change updates
HidService and HidDeviceManager to track an asynchronous enumeration
and not return any results to API clients until the first enumeration
has been completed.
In preparation for broadcasting device add/remove events to apps this
change also switches HidDeviceManager to maintaining its resource ID
mappings using a HidService::Observer. This also made the switch to an
asynchronous GetApiDevices API easier.
BUG=376719
Review URL: https://codereview.chromium.org/782153003
Cr-Commit-Position: refs/heads/master@{#307564}
Try to fix Linux shared lib deps (Debian edition)
It seems the update in https://crrev.com/dcc1f6bc8b1b5ab295cd0888db37b0e7c0749eb0
was not enough.
This is kind of speculative because the dependencies do not reproduce on
my Trusty box.
BUG=431803
TEST=official linux builders go green
NOTRY=true
TBR=thestig
Review URL: https://codereview.chromium.org/784423003
Cr-Commit-Position: refs/heads/master@{#307563}
[Chromoting] Add GDrive capability support to the webapp.
Add GDrive ClientSession.Capability to the webapp so that it can work with
hosts that have enhanced GDrive support.
Currently CRD hosts do not have this special GDrive support, so this
Capability is not being enabled for the CRD application.
NOTRY=True
BUG=
[email protected]
Review URL: https://codereview.chromium.org/792593002
Cr-Commit-Position: refs/heads/master@{#307562}
Roll src/third_party/WebKit f7d6842:71d0c65 (svn 186787:186796)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/f7d6842..71d0c65
[email protected],[email protected]
Review URL: https://codereview.chromium.org/790853003
Cr-Commit-Position: refs/heads/master@{#307561}
[Chromoting] Move shared onExtensionMessage code into Application.
Applicaiton's onExtensionMessage will now call the Delegate first to allow
it to handle the message before falling back on the default (which is to have
the ClientSession handle it).
NOTRY=True
BUG=
Review URL: https://codereview.chromium.org/787083003
Cr-Commit-Position: refs/heads/master@{#307560}
Fix showModalDialog not closing with window.close
Now that the logic for output surface (re)creation has been moved up to
RenderWidgetCompositor rather than being buried in cc,
https://codereview.chromium.org/513433002/ can be reverted and output
surface creation can just be blocked directly.
Previously, there was a race between the compositor posting messages to
creating output surfaces and the RenderWidget close message. This was
fixed by destroying the compositor (and its weak pointer) so that create
output surface was aborted. Because the compositor was destroyed,
DoDeferredClose needed to be non-nestable, for reasons given in the
above description.
Instead, use the host closing boolean to abort create output surface
messages, and preserve the compositor until the actual close. This lets
DoDeferredClose be handled by the modal dialog nested message loop and
lets window.close run for showModalDialog for the brief period while it
still exists.
BUG=436514
Review URL: https://codereview.chromium.org/790883002
Cr-Commit-Position: refs/heads/master@{#307559}
Remote assistance on Chrome OS Part IX - Input injection on Ozone
This CL implements InputInjectorChromeOS with the SystemInputInjector API.
It also introduce a new class, DisplayRotationFilter, on the input pipeline to handle
display rotation settings on Ozone.
BUG=426716
Review URL: https://codereview.chromium.org/756643006
Cr-Commit-Position: refs/heads/master@{#307558}
Re-enable key-frames every 10,000 frames.
This works around crbug.com/440223.
BUG=440493
Review URL: https://codereview.chromium.org/787973002
Cr-Commit-Position: refs/heads/master@{#307557}
[Chromoting] Fix updateScrollbar to verify that 'scroller' exists.
The old code gets the element and starts trying to use it without verifying
that it exists or not. This cl adds a check to ensure that it exists before
trying to update it.
NOTRY=True
BUG=
Review URL: https://codereview.chromium.org/785263002
Cr-Commit-Position: refs/heads/master@{#307556}
Initialize UserMetricsRecorder on Windows Ash and Ozone
Code in Ash assumes that Shell::metrics() is non-NULL. This CL makes it such
that Shell::metrics() is non-NULL on Windows Ash and Ozone
BUG=401590
TEST=None
Review URL: https://codereview.chromium.org/786863003
Cr-Commit-Position: refs/heads/master@{#307555}
Try to fix Linux shared lib deps
It seems the update in https://crrev.com/dcc1f6bc8b1b5ab295cd0888db37b0e7c0749eb0
was not enough.
This is kind of speculative because the dependencies do not reproduce on
my Trusty box.
BUG=431803
TEST=official linux builders go green
TBR=thestig
NOTRY=true
Review URL: https://codereview.chromium.org/788003002
Cr-Commit-Position: refs/heads/master@{#307554}
Revert of Enable telemetry unittests on Mac 10.9 (patchset #1 id:1 of https://codereview.chromium.org/779943004/)
Reason for revert:
Tests fail with a different error.
Original issue's description:
> Enable telemetry unittests on Mac 10.9
>
> The tests were fixed in https://codereview.chromium.org/789853003
>
> BUG=423688
>
> Committed: https://crrev.com/e0fe19f3e05e83e820be8a8e2850853bc0434b21
> Cr-Commit-Position: refs/heads/master@{#307522}
[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=423688
Review URL: https://codereview.chromium.org/792683002
Cr-Commit-Position: refs/heads/master@{#307553}
Roll src/third_party/skia 02b217f:c0bd648
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/02b217f..c0bd648
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/790853002
Cr-Commit-Position: refs/heads/master@{#307552}
[Reland] Improve the logic for hiding the multi-window resize handle
Improvements:
- The resize handle no longer hides when a user moves the mouse along the shared
window edge
- The resize handle no longer hides when a user moves the mouse over the resize
shadow
- Removed call to redundant MultiWindowResizeController::DelayedHide()
BUG=None
TEST=MultiWindowResizeControllerTest.IsOverWindows
Review URL: https://codereview.chromium.org/774983004
Cr-Commit-Position: refs/heads/master@{#307551}
Cronet: Remove redundant success checks and waits in tests.
The test fixture itself waits for successful creation of the
test activity when launching a test app. This CL removes
redundant success checks/waits in test bodies.
BUG=NONE
Review URL: https://codereview.chromium.org/784373002
Cr-Commit-Position: refs/heads/master@{#307550}
Support for password manager suggestions on password fields.
This adds support for the password manager to, optionally, request
suggestions to be displayed on a password field rather than the
traditional choice of a username field. While not used right now, this
is a prerequisite for implementing "fill on account select" as an
experiment since there needs to be a way for users to fill on select if
the username field is uneditable.
This is implemented by adding an option to the autofill IPC message that
the field to receive suggestions is a password field, not a username
field. Thus, this the password manager (a) knows to only show one
suggestion for the specified username, and (b) knows that there should
be a title in th dropdown menu.
BUG=410963
Review URL: https://codereview.chromium.org/767353002
Cr-Commit-Position: refs/heads/master@{#307549}
Re-enable Eager Gesture Recognition on Aura
This enables eager gesture recognition on Aura for the unified gesture
detector.
The previous attempt at enabling eager gesture recognition
(crrev.com/393953012) failed.
See crbug.com/408594 for details.
See https://codereview.chromium.org/551373006/ for some additional history.
BUG=332418
TEST=GestureRecognizerTest.{*,EagerGestureDetection}
Also manually tested on Cros and Windows.
Review URL: https://codereview.chromium.org/680413006
Cr-Commit-Position: refs/heads/master@{#307548}
Implement Experimental Worker Thread Frame Skeleton
Worker Thread Frame is still a highly experimental proposal. This implementation exists to allow folks to play a with a concrete prototype to form a set of requirements.
BUG=434226
[email protected]
Review URL: https://codereview.chromium.org/745423002
Cr-Commit-Position: refs/heads/master@{#307547}
Add ability to pass through parameter from adb_run_mojo_shell
I would have liked the ability to pass through an array but I couldn't
see to get that to work.
BUG=none
TEST=none
[email protected]
Review URL: https://codereview.chromium.org/782823003
Cr-Commit-Position: refs/heads/master@{#307546}
cc: Rename TileManager::ManageTiles to PrepareTiles.
Renaming ManageTiles to PrepareTiles in preparation for re-factoring TileManager APIs for CPU & GPU (Ganesh).
BUG=440238
Review URL: https://codereview.chromium.org/767083005
Cr-Commit-Position: refs/heads/master@{#307545}
DrawToNativeContext is windows-only, so remove it from other ports
patch from issue 789443002 at patchset 30014 (http://crrev.com/789443002#ps30014)
BUG=
Review URL: https://codereview.chromium.org/787123002
Cr-Commit-Position: refs/heads/master@{#307544}
No UserInfo fetch on Android before ProfileInfo::DoFinalInit.
BUG=440109,432286
[email protected]
Review URL: https://codereview.chromium.org/792633003
Cr-Commit-Position: refs/heads/master@{#307543}
Use standard team idiom for removing observers.
BUG=420680
TEST=browser_test: FileManagerJsTest.*
Review URL: https://codereview.chromium.org/781683003
Cr-Commit-Position: refs/heads/master@{#307542}
Chromecast: enable browser CDMs.
[email protected],[email protected]
BUG=336640
Review URL: https://codereview.chromium.org/792483002
Cr-Commit-Position: refs/heads/master@{#307541}
Move t.p.page_set_archive_info.PageSetArchiveInfo to t.wpr.archive_info.WprArchiveInfo.
BUG=439700
Review URL: https://codereview.chromium.org/765203003
Cr-Commit-Position: refs/heads/master@{#307540}
Change build-ctags.sh output file name from ".tags" to "tags"
Two reasons for this change:
1. Default value of the tags option in Vim (that tells it
where to load tags from) is: "tags=./tags,./TAGS,tags,TAGS"
So now Vim should be able to pick up tags with default
settings when current dir is chromium/src
2. src/.gitignore already has "tags" in it, but not ".tags"
which, I think, indicates that people expect the tags file
name to not have a leading dot
BUG=none
Review URL: https://codereview.chromium.org/791723002
Cr-Commit-Position: refs/heads/master@{#307539}
Build content_shell for performance test
Some blink performance suites need content_shell. To enable the suites,
add content_shell to dependency list of chromium_builder_perf.
This will increase the build time for compiling several C++ files and
linking content_shell, which should be a small addition to the current
build time.
BUG=426599
TBR=dtu
Review URL: https://codereview.chromium.org/783813004
Cr-Commit-Position: refs/heads/master@{#307538}
cc: Make skewport target time be specified in seconds.
This patch removes in-frames skewport target with some calculations
to convert it to seconds. Instead, the skewport time is specified
in seconds directly. In GPU raster mode, the skewport target is 0.f
as before.
R=ernstm, danakj
Review URL: https://codereview.chromium.org/784983002
Cr-Commit-Position: refs/heads/master@{#307537}
Copy the previous framebuffer when modesetting
BUG=435433
NOTRY=true
Review URL: https://codereview.chromium.org/786273004
Cr-Commit-Position: refs/heads/master@{#307536}
[Android] Add build/android/OWNERS.
Prompted by https://codereview.chromium.org/786093002 removing the
wildcard from build/OWNERS.
[email protected],[email protected]
BUG=
Review URL: https://codereview.chromium.org/791693002
Cr-Commit-Position: refs/heads/master@{#307535}
Roll BoringSSL.
Adds an API to control ClientHello padding. This pulls in the following
changes:
306e520 Remove ec hybrid point format
8c37cb6 Advance to the next state variant when reusing messages (PR3597).
0ac86b0 Remove dtls1_enc.
1299923 Check EVP_Cipher return values.
8278184 Remove redundant checks in ssl_cert_dup.
83abdd6 Fixed memory leak due to incorrect freeing of DTLS reassembly bit mask
e518f65 Update references to RFCs.
41aa325 ClientHello Padding for Fast Radio Opening in 3G.
74c68e5 Renegerate OID outputs.
a6689b0 Keep the obj_mac.h license header round-tripping.
687759d Restore obj_mac.num from upstream.
7baab87 Add documentation for the OID scripts.
f1eba30 Don't include undef in cross reference table.
61f1085 Switch crypto/bn back to _umul128 on Windows clang.
d8a3e78 Shush a MSVC bool/int comparison warning.
90eeb11 Remove SSL_set_debug.
edb03cf Remove some unimplemented prototypes.
BUG=440443
Review URL: https://codereview.chromium.org/787183002
Cr-Commit-Position: refs/heads/master@{#307534}
Show and send as feedback URL in referrer form.
In "Allow to collect URL?" bubble URL in referrer form will be shown
instead of host only. If it's too long then it will be fade out with "..."
BUG=435080
[email protected]
Review URL: https://codereview.chromium.org/756113003
Cr-Commit-Position: refs/heads/master@{#307533}
The WorkspaceLayoutManager responsible for ordering windows in the always on top
container was not being added as a KeyboardObserver.
This change refactors the always_on_top_controller to give easier access to the
layout manager, and adds this layout manager as a listener to
KeyboardBoundsChanging events.
BUG=423658
TEST=VirtualKeyboardAlwaysOnTopControllerTest.NotifyKeyboardBoundsChanged
Review URL: https://codereview.chromium.org/780433004
Cr-Commit-Position: refs/heads/master@{#307532}
Android: Destroy GLHelper before the context
The scaling stages will try to delete GL resources during
destruction.
BUG=440017
NOTRY=True
Review URL: https://codereview.chromium.org/792533003
Cr-Commit-Position: refs/heads/master@{#307531}
[Local NTP] Enable Material Design styling by default.
BUG=400332
Review URL: https://codereview.chromium.org/784553005
Cr-Commit-Position: refs/heads/master@{#307530}
Fix WeakPtrFactory ordering in media
A lot of these followed the pattern of listing WeakPtr last, which isn't
bad, but destructing WeakPtrFactory first invalidates *all* WeakPtrs it has
vended. And doing this consistently will allow us to turn on a Clang
checker (see the bug for more info).
BUG=303818
[email protected]
Review URL: https://codereview.chromium.org/791633004
Cr-Commit-Position: refs/heads/master@{#307529}
Roll buildtools_revision to pick up new clang-format scripts in git checkouts.
BUG=440168
[email protected]
Review URL: https://codereview.chromium.org/787953002
Cr-Commit-Position: refs/heads/master@{#307528}
[ServiceWorker] Cookie tree size population for Mac.
BUG=
Review URL: https://codereview.chromium.org/777743002
Cr-Commit-Position: refs/heads/master@{#307527}
Generalize GPU rasterization device whitelist.
This change is based on the empirical data in the following
spreadsheets:
1. http://go/ganesh-test-spreadsheet -- showing the results of a manual test
pass various devices we have locally)
2. http://go/ganesh-previous-whitelist -- showing the list of devices we've
successfully whitelisted by machine-model-name in this file. (This
patch replaces that cherry-picked list, as every device in it that
survived until now has Adreno 3xx.)
Conclusions:
1. All Adreno 3xx are stable, with high confidence.
2. Nvidia, Broadcom and Hisilicon are considered stable with medium
confidence (fine everywhere we've tested so far, but number of devices
tested is limited).
3. All PowerVR and Mali-628 have really bad performance even on simple text pages.
4. Some but not all Mali-400 and Adreno 2xx have serious bugs. There's
no systematic criteria to distinguish the good from the bad, so none of
them are whitelisted here. Might be worth revisiting these in the
future as their market share seems relatively high (either via targeted
whitelisting, or workarounds).
NOTRY=true
BUG=424970
Review URL: https://codereview.chromium.org/760053003
Cr-Commit-Position: refs/heads/master@{#307526}
Add argument to pass elastic overscroll delta to Blink (Chrome side)
Blink will need to use this argument to translate input events during
overscroll.
R=enne
TBR=jam
BUG=133097
Review URL: https://codereview.chromium.org/783373002
Cr-Commit-Position: refs/heads/master@{#307525}
Remove kDefaultSSLVersionMax.
https://crrev.com/768413002 made kDefaultSSLVersionMax obsolete. This CL
removes its declaration and definition, and changes its only remaining
occurrence to SSLClientSocket::GetMaxSupportedSSLVersion().
BUG=436835
Review URL: https://codereview.chromium.org/748143005
Cr-Commit-Position: refs/heads/master@{#307524}
Move data reduction proxy logic out of chrome and android webview network delegates
In order to move the data reduction proxy logic from
ChromeNetworkDelegate and AwNetworkDelegate to
DataReductionProxyNetworkDelegate, pure virtual methods in
NetworkDelegate move to the new subclass NetworkDelegateImpl.
All subclasses of NetworkDelegate now subclass
NetworkDelegateImpl.
The DataReductionProxyNetworkDelegate subclasses
WrappingNetworkDelegate. WrappingNetworkDelegate subclasses
NetworkDelegateand and takes a NetworkDelegate in its
constructor and owns it. For every override OnFoo,
WrappingNetworkDelegate provides a protected virtual void
OnFooInternal(), with an empty default implementation.
DataReductionProxyNetworkDelegate subclasses
WrappingNetworkDelegate and moves implementations from
ChromeNetworkDelegate and AwNetworkDelegate inside the
On*Internal() methods.
BUG=429734
Review URL: https://codereview.chromium.org/734263003
Cr-Commit-Position: refs/heads/master@{#307523}
Enable telemetry unittests on Mac 10.9
The tests were fixed in https://codereview.chromium.org/789853003
BUG=423688
Review URL: https://codereview.chromium.org/779943004
Cr-Commit-Position: refs/heads/master@{#307522}
Skip conversion for Drive apps with no URL.
Do not start conversion when a Drive app has no create_url and
save the warning log for other errors.
BUG=none
Review URL: https://codereview.chromium.org/784633003
Cr-Commit-Position: refs/heads/master@{#307521}
Make AttachmentService accessible directly from
SyncableService without having to have SyncData.
Added a new method SetAttachmentService to SyncableService
interface. It should be implemented by a syncable service that
supports attachments. By default this method does nothing.
This method is called SharedChangeProcessor when it gets
connected to an attachment enabled syncable service (which
provides a non-default implementation GetAttachmentStore).
Added a new test case that tests attachment specific
integration code in GenericChangeProcessor and SyncableService.
BUG=439510
Review URL: https://codereview.chromium.org/769913003
Cr-Commit-Position: refs/heads/master@{#307520}
Fix WebLayerImplFixedBoundsTest
Need to use EXPECT_FLOAT_EQ instead.
BUG=
Review URL: https://codereview.chromium.org/736083004
Cr-Commit-Position: refs/heads/master@{#307519}
Remove a condition to prevent focus on captured window.
As I commented on the issue 402272, this condition was added
to prevent fullscreen cancel when a context menu window
comes up (see crbug.com/174731 for the details). However,
that bug doesn't make sense because fullscreen isn't
cancelled anymore when another window gets the focus.
[email protected]
TEST=manually -- see the bug line. Also this doesn't make regression on crbug.com/174731 with http://www.flashvideofactory.com/test/demofullscreen345.html
BUG=402272
Review URL: https://codereview.chromium.org/753223004
Cr-Commit-Position: refs/heads/master@{#307518}
cc: Renaming Rasterizer and RasterWorkerPool interfaces
We're planning to add a new Rasterizer interface to abstract some differences between GPU (Ganesh) and Software rasterization.
The old Rasterizer and RasterWorkerPool interfaces will be renamed to TileTaskRunner and TileTaskWorkerPool, to clarify they are not the actual rasterizers.
BUG=440188
Review URL: https://codereview.chromium.org/786583002
Cr-Commit-Position: refs/heads/master@{#307517}
Roll buildtools_revision to pick up new clang-format.
(also make the quotes for angle_revision consistent with the other revisions.)
BUG=440168
[email protected]
Review URL: https://codereview.chromium.org/789923002
Cr-Commit-Position: refs/heads/master@{#307516}
-navabi, +klundberg for third_party/junit/OWNERS
BUG=
Review URL: https://codereview.chromium.org/723803005
Cr-Commit-Position: refs/heads/master@{#307515}
Reland: Move TouchSelectionController from content to ui
This patch is only moving new unified touch selection files from
content/ to ui/touch_selection/. This is the first step to allow Aura
use the new unified TouchSelectionController.
The only change to TouchSelectionController needed for this move is
replacing use of cc::ViewportSelectionBound with ui::SelectionBound.
The actual use of the new touch selection for Aura will happen in future
CL(s). After that, we can remove current touch selection code from
ui/base/touch/.
BUG=399721
Committed: https://crrev.com/29fd405ca491a6fcf0dde6277d92d44300cb2926
Cr-Commit-Position: refs/heads/master@{#307336}
Review URL: https://codereview.chromium.org/759433002
Cr-Commit-Position: refs/heads/master@{#307514}
Add DumpAccessibilityTree tests (17 of 20) ARIA Role: main, radio ARIA state/property: aria-multiselectable HTML Tags: dd, script, input with a suggestions source element
BUG=170589, 170588
Review URL: https://codereview.chromium.org/786243002
Cr-Commit-Position: refs/heads/master@{#307513}
Refactored all the state checking in guest_view.js into one function.
This reduced the state checking code in both volume and complexity.
BUG=431002
Review URL: https://codereview.chromium.org/790813003
Cr-Commit-Position: refs/heads/master@{#307512}
easy-unlock: Clean up unused switches.
BUG=439583
Review URL: https://codereview.chromium.org/783213005
Cr-Commit-Position: refs/heads/master@{#307511}
Roll src/third_party/WebKit c8b8339:f7d6842 (svn 186784:186787)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/c8b8339..f7d6842
[email protected],[email protected]
Review URL: https://codereview.chromium.org/789893002
Cr-Commit-Position: refs/heads/master@{#307510}
Add an end-to-end origin replication test to SitePerProcessTest.
This CL adds a new test, SitePerProcessBrowserTest.OriginReplication that uses location.ancestorOrigins to check that origin replication works end-to-end with --site-per-process. The test creates an A-embed-B-embed-C frame hierarchy and then ensures that B and C see correct origins for their ancestors.
BUG=426512
Review URL: https://codereview.chromium.org/750543005
Cr-Commit-Position: refs/heads/master@{#307509}
Chromecast: automatically create home/config dir.
Currently, cast_shell crashes if .config/cast_shell doesn't exist.
[email protected]
BUG=None
Review URL: https://codereview.chromium.org/787103003
Cr-Commit-Position: refs/heads/master@{#307508}
Revert of [chromedriver] Reenable PageLoadingTest.testShouldBeAbleToNavigateBackInTheBrowserHistory* (patchset #1 id:1 of https://codereview.chromium.org/786163003/)
Reason for revert:
This is causing bot failures. Not sure why it was working locally for Andrew but we'll need to investigate.
Original issue's description:
> [chromedriver] Reenable PageLoadingTest.testShouldBeAbleToNavigateBackInTheBrowserHistory*
>
> BUG=chromedriver:653
> NOTRY=true
>
> Committed: https://crrev.com/95563f4d9e1c8c5a78e91cb879651237f71f5eab
> Cr-Commit-Position: refs/heads/master@{#307416}
[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=chromedriver:653
Review URL: https://codereview.chromium.org/786313003
Cr-Commit-Position: refs/heads/master@{#307507}
Pass a RenderCdmManager to RenderCdmFactory in ENABLE_BROWSER_CDMS case.
There are not yet any active build configurations for ENABLE_BROWSER_CDMS
outside of OS_ANDROID, though Chromecast is looking to use this path.
Current behavior is a build failure without this CL.
[email protected],[email protected]
BUG=435176
Review URL: https://codereview.chromium.org/786983002
Cr-Commit-Position: refs/heads/master@{#307506}
Changed the GPU Tracer so the category names can be customized.
[email protected]
BUG=None
TEST=trybots
Review URL: https://codereview.chromium.org/776603003
Cr-Commit-Position: refs/heads/master@{#307505}
Implement HasPermission() method in PermissionService.
This patch implements the HasPermission() method in the mojo PermissionService.
This methiod will be required for the Permissions API, see
https://w3c.github.io/permissions/
BUG=430238
Committed: https://crrev.com/277b23d74855b51ebe67ae0da7cd9e0b053044cf
Cr-Commit-Position: refs/heads/master@{#307302}
Review URL: https://codereview.chromium.org/750633003
Cr-Commit-Position: refs/heads/master@{#307504}
Allow profile to signin with an account that was disconnected.
This bug was introduced with https://codereview.chromium.org/763673002/
BUG=439593
Review URL: https://codereview.chromium.org/789703002
Cr-Commit-Position: refs/heads/master@{#307503}
Added trailing semicolon to the list of ia2 attributes.
R=dmazzoni
BUG=434124
Review URL: https://codereview.chromium.org/725083005
Cr-Commit-Position: refs/heads/master@{#307502}
Fix typo in Modifiers handler in InputView Adapter
BUG=None
TESTS=Go to about:keyboard and press alt followed by any character key. There should be zero Javascript errors.
Review URL: https://codereview.chromium.org/787833003
Cr-Commit-Position: refs/heads/master@{#307501}
Roll src/third_party/skia 8b7b9c2:02b217f
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/8b7b9c2..02b217f
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/788903002
Cr-Commit-Position: refs/heads/master@{#307500}
Remove border-radius and box-shadow webkit prefix, that are hopefully no longer required.
BUG=403361
Review URL: https://codereview.chromium.org/783933004
Cr-Commit-Position: refs/heads/master@{#307499}
[Hotword] Make the AudioLogging/AudioHistory prefs consistent by
combining them.
kHotwordAudioHistoryEnabled and kHotwordAudioLoggingEnabled effectively
track the same state. Having both of them and requiring them to be in
sync is asking for trouble so this CL eliminates
kHotwordAudioHistoryEnabled since a) it is used in fewer places having
been around for a shorter period and b) kHotwordAudioLoggingEnabled is a
more accurate name for how the pref will be used.
This CL updates any usages of kHotwordAudioHistoryEnabled to refer to
kHotwordAudioLoggingEnabled.
As a result of fixing this CL, I realized that setting
kHotwordAudioHistoryEnabled in
HotwordAudioHistoryHandler::AudioHistoryComplete was incorrect based on
the fact that the response value for the set command is irrelevant. To
fix this, I added a new callback for the set function that sets the pref
based on the desired value if the set was successful. This fixes bug
437093 but is really part of this CL since this CL is about making
preference consistent.
BUG=436716,437093
Review URL: https://codereview.chromium.org/770003005
Cr-Commit-Position: refs/heads/master@{#307498}
Add PIXEL_FORMAT_NV12 into VideoPixelFormat
This cl add PIXEL_FORMAT_NV12 into video capture type
and add calls in OnIncomingCapturedData() to call
the new API.
This cl also add unit-test to run OnIncomingCapturedData()
with all supported formats.
Review URL: https://codereview.chromium.org/760593003
Cr-Commit-Position: refs/heads/master@{#307497}
Enable chrome.gyp:browser on iOS
When unit_tests was turned down on iOS, no chrome.gyp target was added
to replace it in all.gyp, so nothing has been exercising that part of
the build system on iOS.
This adds 'browser', and fixes issues that have crept in since then.
Most notably:
- Removes chrome_browser_non_android_sources, moving everything that
was there to ..._non_mobile_sources
- Removes an iOS-only class that was removed downstream, and had
rotted upstream.
This won't find link issues, but will at least ensure that the gyp
files continue working on iOS for as long as they are necessary.
BUG=None
Review URL: https://codereview.chromium.org/785233002
Cr-Commit-Position: refs/heads/master@{#307496}
Add PasswordFormManagerTest.DriverDeletedBeforeStoreDone
This test should have been added to check the fix in
https://codereview.chromium.org/786823002/.
It checks that if a PasswordManagerDriver gets deleted earlier
than a password store returns data to a PasswordFormManager created
for that driver, all is handled gracefully.
BUG=439534
Review URL: https://codereview.chromium.org/787883002
Cr-Commit-Position: refs/heads/master@{#307495}
[telemetry] - Add a new flag to specify cloud storage bucket for uploading profiling data. Previously, all uploads defaulted to internal storage but for the perf trybots we want to be able to specify public storage.
BUG=433456
TEST=
Command: tools/perf/run_benchmark --browser=release --profiler=trace --upload-results --upload-bucket=partner sunspider
View generated profiler files online at https://console.developers.google.com/m/cloudstorage/b/chrome-partner-telemetry/o/profiler-file-id_0-2014-11-26_15-46-0429017.json for page http://www.webkit.org/perf/sunspider-1.0.2/sunspider-1.0.2/driver.html
Command: tools/perf/run_benchmark --browser=release --profiler=trace --upload-results --upload-bucket=public sunspider
View generated profiler files online at https://console.developers.google.com/m/cloudstorage/b/chromium-telemetry/o/profiler-file-id_0-2014-11-26_15-44-2788339.json for page http://www.webkit.org/perf/sunspider-1.0.2/sunspider-1.0.2/driver.html
Command: tools/perf/run_benchmark --browser=release --profiler=trace --upload-results sunspider
View generated profiler files online at https://console.developers.google.com/m/cloudstorage/b/chrome-telemetry/o/profiler-file-id_0-2014-11-26_15-41-4953265.json for page http://www.webkit.org/perf/sunspider-1.0.2/sunspider-1.0.2/driver.html
Review URL: https://codereview.chromium.org/754113002
Cr-Commit-Position: refs/heads/master@{#307494}
Roll src/third_party/WebKit 95a4f67:c8b8339 (svn 186781:186784)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/95a4f67..c8b8339
[email protected],[email protected]
Review URL: https://codereview.chromium.org/788913002
Cr-Commit-Position: refs/heads/master@{#307493}
Roll Clang 218707:223109 (+r223211, +r223219, -r220714)
Perf sheriffs: we're expecting a ~350 KiB size regression
for this. Expectations need to be updated.
BUG=431803
TBR=brettw
NOTRY=true
Review URL: https://codereview.chromium.org/781763003
Cr-Commit-Position: refs/heads/master@{#307492}
Instrumenting context getter and predictor to find jank.
Prior instrumentations revealed this jank:
ChromeURLRequestContextGetter::GetURLRequestContext: 7
Predictor::ResolveList: 5.5
Instrumenting further.
BUG=436671
Review URL: https://codereview.chromium.org/789683002
Cr-Commit-Position: refs/heads/master@{#307491}
Call network re-evaluation in the constructor's message loop
Capture the message loop the NetworkChangeNotifierChromeos
was constructed with, and use this message loop instead of
calling the poll closure inline. This has a side effect of
requiring a weak pointer since the closure will now be called
asynchronously.
BUG=251141
[email protected]
Review URL: https://codereview.chromium.org/752463003
Cr-Commit-Position: refs/heads/master@{#307490}
Fix error message punctuation.
When the error message is assembled, the periods accumulate. This CL
removes the duplicates.
BUG=none
Review URL: https://codereview.chromium.org/790813002
Cr-Commit-Position: refs/heads/master@{#307489}
Migrate device_utils.GetAVDs out of android_commands
The implementation parses the output of 'android list avd' to build
the list of Android Virtual Devices available.
BUG=267773
Review URL: https://codereview.chromium.org/787113002
Cr-Commit-Position: refs/heads/master@{#307488}
gn: Cleanup some docs in README.txt.
Mostly to keep it more up-to-date with the current state ot the work.
[email protected],[email protected]
[email protected]
NOTRY=true
Review URL: https://codereview.chromium.org/759253003
Cr-Commit-Position: refs/heads/master@{#307487}
WebRTC real-webcam browser test will now do video-only calls.
Breakages on the WebRTC mac bot revealed that this test is the only
that requests real audio with getUserMedia, which exposed an exotic
error related to acquiring audio from SoundFlower (which the bots are
configured to use for the audio quality test). The purpose of this test
isn't to test audio, so I'm streamlining it to just test video.
BUG=None
[email protected]
Review URL: https://codereview.chromium.org/790753003
Cr-Commit-Position: refs/heads/master@{#307486}
Fix WATCHLISTS for the Battery Status API.
Battery status api has been mojo-ified and now lives in
device/battery. This patch fixes the paths for the corresponding
watchlist.
BUG=
Review URL: https://codereview.chromium.org/789513003
Cr-Commit-Position: refs/heads/master@{#307485}
Prototype UI integration for the media import process.
Attach a bit of code to the import button in the UI, to kick off an import. For
the purposes of this prototype, the importer is set up to import all media
(photos & videos) in the DCIM directory tree, into a fixed location in the
user's Drive.
BUG=420680
Review URL: https://codereview.chromium.org/784963003
Cr-Commit-Position: refs/heads/master@{#307484}
[Android WebView] Support Windows in the license checking scripts
Do not encode paths separators in the code. For the whitelist files,
convert forward slashes into platform-specific separators.
As a result, webview_licenses and copyright_scanner_unittest now run
on Windows.
This is to enable a presubmit check for the copyrights scanner.
BUG=343104
Review URL: https://codereview.chromium.org/789823002
Cr-Commit-Position: refs/heads/master@{#307483}
Add 'BlinkGC' stress test page sets in OilpanGCTimesTest
BUG=438074
TESTS=./tools/perf/run_tests OilpanGCTimesTest --browser=content-shell-release
Review URL: https://codereview.chromium.org/791603002
Cr-Commit-Position: refs/heads/master@{#307482}
Roll src/third_party/WebKit b625caa:95a4f67 (svn 186774:186781)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/b625caa..95a4f67
[email protected],[email protected]
Review URL: https://codereview.chromium.org/787833004
Cr-Commit-Position: refs/heads/master@{#307481}
Delete obsolete samples from extension documentation
contentscript_xhr does no longer explain background-content script
communication, so it can be removed from the messaging docs.
extensions/xhr already explains how to use XHR, so the contentscript_xhr
example is no longer needed in the source tree.
userscript-runat is not linked anywhere, and completely non-functional
because the used "beforeload" event was dropped from Chrome 35.
[email protected]
NOTRY=true
Review URL: https://codereview.chromium.org/787103002
Cr-Commit-Position: refs/heads/master@{#307480}
Adding a WebRTC browser test which re-negotiates audio to a/v and vice versa.
This exercises functionality which was long broken in WebRTC. Now it
should be possible to reliably re-negotiate a call.
BUG=293125
Review URL: https://codereview.chromium.org/770723002
Cr-Commit-Position: refs/heads/master@{#307479}
[Telemetry] Don't fail powermetrics unit tests when run on a VM.
When running on a VM, the output of power metrics changes causing the parsing code to fail, notably the 'component_utilization' section doesn't appear. Return empty output rather than throwing an exception when parsing.
BUG=423688
Review URL: https://codereview.chromium.org/789853003
Cr-Commit-Position: refs/heads/master@{#307478}
Roll src/third_party/skia cf56009:8b7b9c2
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/cf56009..8b7b9c2
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/791643003
Cr-Commit-Position: refs/heads/master@{#307477}
Migrate DeviceUtils.Install to adb_wrapper
The implementation uses DeviceUtils._GetChangedFilesImpl to check if
the apk needs updating, and the actual Uninstall/Install commands are
taken directly from adb_wrapper.
BUG=267773
Review URL: https://codereview.chromium.org/790743002
Cr-Commit-Position: refs/heads/master@{#307476}
Revert of Use Surfaces on Windows, Linux, and Mac OS (patchset #2 id:20001 of https://codereview.chromium.org/756453003/)
Reason for revert:
Playing whack-a-mole for http://crbug.com/440060 and this CL sounds like it could potentially cause the problems we're seeing on the Win7 bots (I'll unrevert if not).
Original issue's description:
> Use Surfaces on Windows, Linux, and Mac OS
>
> Surfaces should be feature-complete, so try enabling them on Windows, Linux, and Mac OS. They're still disabled on Chrome OS because they rely on single-threaded browser compositing, and on Android because they haven't been implemented there yet.
>
> BUG=334090
>
> Committed: https://crrev.com/9d3616042261b9c5aa8f13ba9ef45c1819850559
> Cr-Commit-Position: refs/heads/master@{#307130}
[email protected],[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=334090, 440060
Review URL: https://codereview.chromium.org/790823002
Cr-Commit-Position: refs/heads/master@{#307475}
Handle accent keys from physical keyboards.
BUG=230921
Review URL: https://codereview.chromium.org/759033002
Cr-Commit-Position: refs/heads/master@{#307474}
Enrollment recovery: Document why browser restart is required.
BUG=none
Review URL: https://codereview.chromium.org/786213003
Cr-Commit-Position: refs/heads/master@{#307473}
Files.app: Move the resources of FileManagerBrowserTest.
* Moved test resouces (not modified)
* Removed OWNERS file at the test directory. (ui/file_manager/OWNERS is applied to the new test directory)
* Updated file path in file_manager_browser_tests.cc
BUG=439349
TEST=browser_tests
Review URL: https://codereview.chromium.org/776383003
Cr-Commit-Position: refs/heads/master@{#307472}
Roll src/third_party/WebKit 744641d:b625caa (svn 186771:186774)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/744641d..b625caa
[email protected],[email protected]
Review URL: https://codereview.chromium.org/790763003
Cr-Commit-Position: refs/heads/master@{#307471}
Move ZoomObserver, ZoomController and ZoomEventManager to components/.
This CL moves the three classes into components, namespace ui_zoom, and moves
their associated source files into components/ui/zoom so that
they can be used in non-chrome configurations.
BUG=none
[email protected] chrome/browser/profiles
[email protected] */web_view/*
[email protected] chrome/browser/ui/autofill
[email protected] chrome/browser/ui not covered above
[email protected] chrome/browser/devtools
[email protected] chrome/browser/browser_commands_unittest.cc
[email protected] chrome/browser/renderer_preferences_util.cc
Review URL: https://codereview.chromium.org/769593003
Cr-Commit-Position: refs/heads/master@{#307470}
[Android] Revert removal of test_data option for some instrumentation tests.
This reverts:
https://codereview.chromium.org/736143002/
https://codereview.chromium.org/774833003/
NOTRY=true
TBR=klundberg,mikecase
BUG=440289
Review URL: https://codereview.chromium.org/787843002
Cr-Commit-Position: refs/heads/master@{#307469}
NewRasterN32 is deprecated
BUG=
Review URL: https://codereview.chromium.org/779173009
Cr-Commit-Position: refs/heads/master@{#307468}
'Paste' & 'Paste as plain text' should check edit_flags.
'Paste' and 'Paste as plain text' should check edit_flags first
before making clipboard call, as clipboard call is expensive and should
not happen unnecessarily.
BUG=439774
Review URL: https://codereview.chromium.org/751823004
Cr-Commit-Position: refs/heads/master@{#307467}
[DevTools] Removed DevToolsProtocol in content
BUG=405566
Review URL: https://codereview.chromium.org/762903003
Cr-Commit-Position: refs/heads/master@{#307466}
Introduce a //content/ API for dispatching notificationclick events.
This patch introduces a new public API to the content layer which should be
used for dispatching notificationclick events to a specific service worker.
The logic required for selecing the appropriate service worker is included
in the implementation of this class.
We're two CLs away from being able to test this stuff, which will be done
in the form of both layout tests and browser tests.
BUG=432527
Review URL: https://codereview.chromium.org/728763003
Cr-Commit-Position: refs/heads/master@{#307465}
Updating trunk VERSION from 2244.0 to 2245.0
Cr-Commit-Position: refs/heads/master@{#307464}
Upstream iOS web code.
This CL upstreams part of the iOS web code.
This code is needed in order to upstream the Translate component.
Review URL: https://codereview.chromium.org/780873002
Cr-Commit-Position: refs/heads/master@{#307463}
Roll src/third_party/WebKit 8b42d1d:744641d (svn 186770:186771)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/8b42d1d..744641d
[email protected],[email protected]
Review URL: https://codereview.chromium.org/775413003
Cr-Commit-Position: refs/heads/master@{#307462}
PasswordFormManager takes WeakPtr<PasswordManagerDriver>
PFM instances are owned by PasswordManager, which lives as long as a
WebContents does. Drivers associated to PFMs are bound to frames.
PasswordManager keeps PFMs alive until the main frame navigation,
and even longer (if they carry the provisionally saved password).
This means that a PFM can outlive the associated driver.
On its creation, the PFM calls the PasswordStore to get the stored
credentials. While PFM lives on the UI thread, the store works on
DB thread, and the results are returned asynchronously. The PFM normally
uses the services of the driver to process the obtained results. If
the results come later than the frame and driver were deleted, this leads
to use-after-free. Also, if the frame is already deleted, there is no
harm in skipping the work done by driver on the results, because that
is always bound to operations on the frame, like (auto)filling.
Therefore, this CL makes PFM hold a WeakPtr (instead of a naked pointer)
to the driver, and check before each use its validity.
BUG=439534
Review URL: https://codereview.chromium.org/786823002
Cr-Commit-Position: refs/heads/master@{#307461}
[Android] Java Bridge: handle requests from Java Script on the background thread
This allows the page code that calls into injected objects methods to run even
if the browser UI thread is blocked (in WebView, the browser UI thread is the main
app thread, and sometimes people use synchronization primitives there that wait
on some action performed by the injected object, see the bug for an example).
In this CL, we make the minimal required amount of changes in order to simplify
cherry-picking into older branches. A cleanup CL (or CLs) will follow.
High-level description of changes:
1. We intercept messages from renderers on the IO thread using BrowserMessageFilter
and handle Java Bridge messages entirely on the background thread. This implies
the following changes:
2. GinJavaBridgeDispatcherHost has become RefCountedThreadSafe
(via BrowserMessageFilter)
3. We have to use route IDs of RenderFrameHosts instead of pointers to them, as
we can't access RFHs from IO or background threads.
4. Objects registry is now accessed from UI and background threads, and we have to use
locking. We can't anymore restrict access to the registry to a single thread.
This also means we can't anymore implement the registry using IDMap, as it is
explicitly non-thread-safe.
5. A lot of code was removed, as we now serve synchronous requests from renderers
without inter-thread hopping!
6. Of course, a new regression test has been added that now passes.
BUG=438255
Review URL: https://codereview.chromium.org/772123002
Cr-Commit-Position: refs/heads/master@{#307460}
[LTO] Disable LTO on one libwebp target.
This is a Neon target, which does not play nice with LTO.
BUG=408997
Review URL: https://codereview.chromium.org/730343004
Cr-Commit-Position: refs/heads/master@{#307459}
PermissionRequestCreatorApiary cleanup.
- bake in API URL and scope
- create instance in ChildAccountService, independent of cmdline flag
- remove SupervisedUserSigninManagerWrapper
BUG=440359
Review URL: https://codereview.chromium.org/784293002
Cr-Commit-Position: refs/heads/master@{#307458}
Drop unused base/tuple.h inclusion
TEST=compile
BUG=None
[email protected]
Review URL: https://codereview.chromium.org/790623002
Cr-Commit-Position: refs/heads/master@{#307457}
Roll src/third_party/WebKit ce76603:8b42d1d (svn 186766:186770)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/ce76603..8b42d1d
[email protected],[email protected]
Review URL: https://codereview.chromium.org/791623002
Cr-Commit-Position: refs/heads/master@{#307456}
Roll WebRTC 7818:7843, Libjingle 7820:7844
WebRTC 7818:7843
Changes: https://chromium.googlesource.com/external/webrtc/trunk/webrtc.git/+log/871e148..32494ca
Libjingle 7820:7844
Changes: https://chromium.googlesource.com/external/webrtc/trunk/talk.git/+log/2aab3b2..ac243cf
[email protected]
Review URL: https://codereview.chromium.org/786193003
Cr-Commit-Position: refs/heads/master@{#307455}
Support NumCopies print preset
Chrome side javascript changes to support NumCopies print preset
option. Copies in print preview dialog should be set to value set for
NumCopies in pdf source document.
BUG=169120
Review URL: https://codereview.chromium.org/407733002
Cr-Commit-Position: refs/heads/master@{#307454}
Use Profile::IsLegacySupervised instead of IsSupervised where appropriate
TBRing simple changes:
[email protected] (for chrome_signin_client.cc)
[email protected] (for supervised_user_signin_manager_wrapper.cc)
BUG=
Review URL: https://codereview.chromium.org/783393003
Cr-Commit-Position: refs/heads/master@{#307453}
Revive PasswordManager.OsPasswordStatus histogram.
It was disabled in https://codereview.chromium.org/184843004. It's safe to collect on Windows starting from Windows 7 only.
BUG=345916
Review URL: https://codereview.chromium.org/772413004
Cr-Commit-Position: refs/heads/master@{#307452}
Roll src/third_party/WebKit f2344f2:ce76603 (svn 186764:186766)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/f2344f2..ce76603
[email protected],[email protected]
Review URL: https://codereview.chromium.org/787003002
Cr-Commit-Position: refs/heads/master@{#307451}
Try to enable stack use-after-return detection in ASan Mac builds.
BUG=390117
[email protected]
Review URL: https://codereview.chromium.org/781073002
Cr-Commit-Position: refs/heads/master@{#307450}
Fix ninja build warning.
This removes a gyp target that was only used to build ChromeVox as a
web store extension. This target caused a ninja warning about more
than one target generating the same output. The generation of the manifest
for the ChromeVox webstore version is moved to the python script that is
used to create and upload the extension.
BUG=439238
[email protected]
Review URL: https://codereview.chromium.org/784953002
Cr-Commit-Position: refs/heads/master@{#307449}
Implementing WebRTC Auto Gain Control (AGC) test (minus verification).
This implements the test scaffolding. We still need a tool to analyze
the audio energy of the output file and ensure it matches the energy
level of the input file.
The test will be disabled for now until the tool is in place.
The next patches will be to wire up the tool and, after that, write
more exciting tests which verify the AGC actually kicks in and adjusts
the level (this test just ensures it doesn't zero the volume level).
BUG=303259
Review URL: https://codereview.chromium.org/753993002
Cr-Commit-Position: refs/heads/master@{#307448}
Enable compilation of libwebp_dsp_neon on iOS
iOS build system generates all build files from the same gyp configuration
and does not set target_arch (as compatibility with Xcode is required). On
that OS enable libwebp_dsp_neon inconditionally.
BUG=None
Review URL: https://codereview.chromium.org/754263003
Cr-Commit-Position: refs/heads/master@{#307447}
Cleanup: remove SupervisedUserService::IsChildAccount.
We now have Profile::IsChild!
BUG=
Review URL: https://codereview.chromium.org/787803002
Cr-Commit-Position: refs/heads/master@{#307446}
Remove FileSystemContext::ShouldFlushOnWriteCompletion.
FileSystemContext::ShouldFlushOnWriteCompletion was used only for writing.
For streamed copying or moving, storage::CopySyncOption was used.
Even if both writing and copying is done via the same FileStreamWriter, the
decision about flushing it was done in two different ways.
This patch removes ShouldFlushOnWriteCompletion, as decision about flushing
should be the same for copying and writing, as both are writing operations
and data may be lost.
For sandboxed file systems storage::CopySyncOption::copy_sync_option() is
COPY_SYNC_OPTION_NO_SYNC, so there is no change. They will not be flushed.
For non-sandboxed file systems, they will be flushed consistently for write
and streamed copy/move, depending on storage::CopySyncOption.
The storage::CopySyncOption enum is going to be renamed to storage::
WriteSyncOption in an upcoming patch.
TEST=Partially by file_system_operation_impl_write_unittest.cc.
BUG=440293
Review URL: https://codereview.chromium.org/785193002
Cr-Commit-Position: refs/heads/master@{#307445}
gpu: Make GPU command decoder know right format of a GPU video texture in Win.
DXVAVideoDecodeAccelerator slightly creates BGRA texture while GpuVideoAccelerator reports
RGBA format to GPU command decoder.
This CL lets GPU command decoder know BGRA format in Win.
BUG=438691
Review URL: https://codereview.chromium.org/775863005
Cr-Commit-Position: refs/heads/master@{#307444}
Move chromevox braille files out of host/chrome.
This moves files implementing braille support, except for files directly
related to the chromevox classic contentscript/background page architecture, out
of the host/chome directory into its own top-level braille directory.
Also, the liblouis javascript wrapper is moved there.
The liblouis nacl binary and tables are put in a corresponding directory
in the chromevox product directory.
The only changes to files are path adjustments and removal of some unneeded
goog.require statements.
BUG=none
Review URL: https://codereview.chromium.org/751793004
Cr-Commit-Position: refs/heads/master@{#307443}
Revert "VideoCaptureController: some cleanup, added more thread checks."
This reverts commit c13b95648c98dbc930d7240574f06f8340b756f1.
The reason is that MANUAL_CanAcquireVgaOnRealWebcam fails at least on Mac:
[ RUN ] WebRtcWebcamBrowserTest.MANUAL_CanAcquireVgaOnRealWebcam
[10113:1799:1209/004022:509324252312:ERROR:web_contents_delegate.cc(179)] WebContentsDelegate::CheckMediaAccessPermission: Not supported.
[10113:1799:1209/004022:509332547668:ERROR:web_contents_delegate.cc(179)] WebContentsDelegate::CheckMediaAccessPermission: Not supported.
[10113:1799:1209/004022:509337832295:INFO:CONSOLE(64)] "Looking at video in element local-view", source: http://127.0.0.1:49655/media/webrtc_test_utilities.js (64)
[10113:125975:1209/004022:509648931237:FATAL:video_capture_controller.cc(373)] Check failed: thread_checker_.CalledOnValidThread().
[69/69] WebRtcWebcamBrowserTest.MANUAL_CanAcquireVgaOnRealWebcam (798 ms)
[email protected]
Review URL: https://codereview.chromium.org/751063007
Cr-Commit-Position: refs/heads/master@{#307442}
Update the overscan even when the display size does not change. Added unit test for this.
BUG=None
[email protected]
Review URL: https://codereview.chromium.org/740813002
Cr-Commit-Position: refs/heads/master@{#307441}
Roll src/third_party/WebKit caedcbc:f2344f2 (svn 186760:186764)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/caedcbc..f2344f2
[email protected],[email protected]
Review URL: https://codereview.chromium.org/785203002
Cr-Commit-Position: refs/heads/master@{#307440}
Update V8 to version 3.31.43 (based on f62ab8d061f3dc61f24252c9676ff4446dc07b1b).
[email protected]
Review URL: https://codereview.chromium.org/777343003
Cr-Commit-Position: refs/heads/master@{#307439}
cython: Propagate configs down through python_binary_module_sources
Some python_binary_module targets in the Mojo repo rely on setting configs and
having these configs apply to the C++ code that is generated via
python_binary_module_sources.
Review URL: https://codereview.chromium.org/785183002
Cr-Commit-Position: refs/heads/master@{#307438}
Certificate Transparency: EV certificates whitelist support for ChromeOS
This is a small change to store the EV certificates whitelist in the user's profile, in a similar
manner to the CRL Set.
That means that after the initial component update for the EV whitelist,
users will have the EV whitelist available and will get the EV indicator
immediately after logging in to ChromeOS, rather than having to wait for
the component updater every time.
Implementation is similar to CRLSet as well: During registration of the EVWhitelistComponentInstaller a task is also posted to do an initial load from disk.
BUG=339128
Review URL: https://codereview.chromium.org/657613002
Cr-Commit-Position: refs/heads/master@{#307437}
Roll src/third_party/WebKit b4bc7a5:caedcbc (svn 186759:186760)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/b4bc7a5..caedcbc
[email protected],[email protected]
Review URL: https://codereview.chromium.org/787783002
Cr-Commit-Position: refs/heads/master@{#307436}
Cleanup: Fix some chrome's includes that were not using qualified path.
These entries were found using a modified version of Eric's fix-includes.py
script found attached in
https://code.google.com/p/chromium/issues/detail?id=435361#c4.
BUG=435361
TEST=None
[email protected]
Review URL: https://codereview.chromium.org/750183009
Cr-Commit-Position: refs/heads/master@{#307435}
Chromecast: adds test filters for failing tests.
[email protected]
BUG=428211, 409163
Review URL: https://codereview.chromium.org/787773002
Cr-Commit-Position: refs/heads/master@{#307434}
Automated Commit: Committing new LKGM version 6557.0.0 for chromeos.
Cr-Commit-Position: refs/heads/master@{#307433}
Tie enabling of ephemeral apps to the enabling of the new app launcher.
If the new app launcher is being used ephemeral apps are enabled, from
the app launcher. As part of this a new flag is introduced to allow
enabling of ephemeral apps from the WebStore.
The old flag to enable ephemeral apps has been removed.
BUG=439332
Review URL: https://codereview.chromium.org/767503002
Cr-Commit-Position: refs/heads/master@{#307432}
downloads: make "Clear all" undoable.
[email protected]
BUG=66191
Review URL: https://codereview.chromium.org/782943002
Cr-Commit-Position: refs/heads/master@{#307431}
Updates manifests for IME extensions.
[email protected]
BUG=353034
TEST=Verified on linux_chromeos.
Review URL: https://codereview.chromium.org/756193003
Cr-Commit-Position: refs/heads/master@{#307430}
Roll src/third_party/WebKit 3ba1789:b4bc7a5 (svn 186755:186759)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/3ba1789..b4bc7a5
[email protected],[email protected]
Review URL: https://codereview.chromium.org/789733002
Cr-Commit-Position: refs/heads/master@{#307429}
Files.app: Move GalleryJSTest resources to the same directory with production code.
BUG=439349
TEST=browser_tests --gtest_filter="GalleryJsTest.*"
Review URL: https://codereview.chromium.org/792453003
Cr-Commit-Position: refs/heads/master@{#307428}
Update mojo sdk to rev f6c8ec07c01deebc13178d516225fd12695c3dc2
BUG=None
[email protected] for ashmem dep
[email protected] for toplevel
Review URL: https://codereview.chromium.org/782693004
Cr-Commit-Position: refs/heads/master@{#307427}
Enable CreateNewFolder test on Release build.
BUG=327719
TEST=out/Release/browser_tests --gtest_filter=CreateNewFolder/FileManagerBrowserTest.Test/*
Review URL: https://codereview.chromium.org/769023003
Cr-Commit-Position: refs/heads/master@{#307426}
Roll src/third_party/WebKit 66ff0f0:3ba1789 (svn 186751:186755)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/66ff0f0..3ba1789
[email protected],[email protected]
Review URL: https://codereview.chromium.org/771323005
Cr-Commit-Position: refs/heads/master@{#307425}
Test open_resource IRT in PackagedAppTest.SuccessfulLoad
The new test is similar to NaClBrowserTest*.IrtManifestFile, but unlike
the NaCl test, this one tests the "fast path" in DownloadNexe() in
ppb_nacl_private_impl.cc which opens resource files without using URLLoader.
TEST=trybot
BUG=https://code.google.com/p/nativeclient/issues/detail?id=3802
CQ_EXTRA_TRYBOTS=tryserver.chromium.linux:linux_rel_precise32
Review URL: https://codereview.chromium.org/758383002
Cr-Commit-Position: refs/heads/master@{#307424}
Files.app: Move FileManagerJSTest resources to the same directory with production code.
BUG=439349
TEST=browser_tests --gtest_filter="FileManagerJsTest.*"
Review URL: https://codereview.chromium.org/792443003
Cr-Commit-Position: refs/heads/master@{#307423}
Add following metrics in Oilpan perf tests.
- total marking time (precise + conservative)
- total sweeping time (ditto)
- total / longest pausing time in each GC event type
- total pausing time in all GC events
If no GC events of a type occur in a test page,
practical logs and maximum values are not recorded,
but total values are recorded as 0.
BUG=438074
TEST=Manual
Review URL: https://codereview.chromium.org/772193005
Cr-Commit-Position: refs/heads/master@{#307422}
Roll src/third_party/WebKit 5e2371b:66ff0f0 (svn 186750:186751)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/5e2371b..66ff0f0
[email protected],[email protected]
Review URL: https://codereview.chromium.org/784263002
Cr-Commit-Position: refs/heads/master@{#307421}
Avoid presubmit pylint warning
After http://crrev.com/307186 is landed, pylint warns as following.
We cannot commit files because of it.
"""
** Presubmit Warnings **
Pylint (175 files) (10.79s) failed
************* Module measurements.smooth_gesture_util_unittest
W:121, 4: Method 'ValidateAndMeasurePage' is abstract in class 'PageTest' but is not overridden (abstract-method)
"""
This CL cancels the warning by define ValidateAndMeasurePage method.
BUG=None
Review URL: https://codereview.chromium.org/773263003
Cr-Commit-Position: refs/heads/master@{#307420}
Exit chrome when dbus-daemon crashes
BUG=432980
Review URL: https://codereview.chromium.org/746373003
Cr-Commit-Position: refs/heads/master@{#307419}
Added SwapInterval to the GPU command buffer
BUG=437172
Review URL: https://codereview.chromium.org/784143002
Cr-Commit-Position: refs/heads/master@{#307418}
Remove unsed Data Reduction infobar strings.
These strings are not use anywhere and they are redefined again in the internal repo, therefore we can delete these copies.
BUG=None
[email protected]
Review URL: https://codereview.chromium.org/789723002
Cr-Commit-Position: refs/heads/master@{#307417}
[chromedriver] Reenable PageLoadingTest.testShouldBeAbleToNavigateBackInTheBrowserHistory*
BUG=chromedriver:653
NOTRY=true
Review URL: https://codereview.chromium.org/786163003
Cr-Commit-Position: refs/heads/master@{#307416}
Add type annotations to gallery/js/image_editor/viewport.js.
BUG=433728
TEST=GYP_GENERATORS=ninja tools/gyp/gyp --depth . ui/file_manager/gallery/js/compiled_resources.gyp && ninja -C out/Default | grep "viewport.js"
Review URL: https://codereview.chromium.org/788783002
Cr-Commit-Position: refs/heads/master@{#307415}
ServiceWorker: Notify observers when the storage gets recovered from corruption state
This introduces OnStorageWiped event in ServiceWorkerContextObserver. The event
is notified when the storage gets recovered from the corruption state.
Note: OnRegistrationDelete events are not delivered in this case because we
cannot retrieve registration data to be deleted from the corrupted database.
BUG=438075
TEST=content_unittests --gtest_filter=ServiceWorkerContextTest.*
Review URL: https://codereview.chromium.org/772333005
Cr-Commit-Position: refs/heads/master@{#307414}
DriveAPI: Add mehtod to create URL for multipart uploading.
The CL adds the following two methods to DriveApiUrlGenerator.
* GetMultipartUploadNewFileUrl
* GetMultipartUploadExistingFileUrl
BUG=269922
TEST=DriveApiUrlGeneratorTest
Review URL: https://codereview.chromium.org/772323004
Cr-Commit-Position: refs/heads/master@{#307413}
Fix some CSS presubmit issues.
This is blocking: https://codereview.chromium.org/783933004/
[email protected]
BUG=403361
Review URL: https://codereview.chromium.org/733203007
Cr-Commit-Position: refs/heads/master@{#307412}
Roll ffmpeg 2fa2c9a:202208
2022083 Fix gn build: Clang's -Wno* flags need to be added later
c4921c0 Update build_ffmpeg.py instructions for MIPS target.
BUG=431803
Review URL: https://codereview.chromium.org/789663002
Cr-Commit-Position: refs/heads/master@{#307411}
Roll src/third_party/WebKit 9d806b1:5e2371b (svn 186747:186750)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/9d806b1..5e2371b
[email protected],[email protected]
Review URL: https://codereview.chromium.org/792433002
Cr-Commit-Position: refs/heads/master@{#307410}
libudis86: build with -Wno-string-conversion
To avoid warnings about UD_ASSERT(!"message"); from recent versions of Clang.
BUG=431803
TBR=rsesek
Review URL: https://codereview.chromium.org/791493002
Cr-Commit-Position: refs/heads/master@{#307409}
clang: Remove unused warning suppression flags.
BUG=
TBR=cpu
Review URL: https://codereview.chromium.org/784183002
Cr-Commit-Position: refs/heads/master@{#307408}
Add content_capabilities manifest feature
This adds basic manifest data parsing support for the
content_capabilities feature, which is - for now -
constrained to a whitelist.
BUG=409269
Review URL: https://codereview.chromium.org/780703003
Cr-Commit-Position: refs/heads/master@{#307407}
Upstream Accessibility settings.
This also adds a main settings menu to Chrome Shell, which currently
links to About Chrome and Accessibility settings.
BUG=428869
[email protected]
Review URL: https://codereview.chromium.org/767163008
Cr-Commit-Position: refs/heads/master@{#307406}
Roll src/third_party/WebKit 4164837:9d806b1 (svn 186739:186747)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/4164837..9d806b1
[email protected],[email protected]
Review URL: https://codereview.chromium.org/770793005
Cr-Commit-Position: refs/heads/master@{#307405}
Revert of Increase ThreadWatcher unresponsive threashold to 72 secs in dev (patchset #1 id:20001 of https://codereview.chromium.org/588373002/)
Reason for revert:
chromecrash calculates the correct magic signature for jank/hangs on UI/IO/FILE threads. Reverting this change to get crash dumps if UI/IO/FILE threads don't respond for 9 pings (in 18 secs).
Original issue's description:
> Increase ThreadWatcher unresponsive threashold to 72 secs in Dev
>
> Increase the #of pings from 9 to 36 for Dev (72 secs of
> unresponsiveness).
>
> Increased it to reduce the number of crash dump reports
> we receive. Will revert back, when we can auto triage
> jank on UI/IO threads.
>
> BUG=352489
> [email protected]
>
> Committed: https://crrev.com/64792b2912f3be895944800859042103f1ffd6b6
> Cr-Commit-Position: refs/heads/master@{#296268}
[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=352489
Review URL: https://codereview.chromium.org/783423002
Cr-Commit-Position: refs/heads/master@{#307404}
MacViews: Cater for the implied visibility change with -[NSWindow toggleFullScreen:]
Calling toggleFullScreen: implicitly makes the NSWindow visible. Failing
to cater for this causes tests to fail when layers are added.
AppKit updates window visibility quite late in the toggleFullScreen
flow. The best thing to do seems to be to just pre-empt the implied
visibility change and ensure the window is visible, before calling
toggleFullScreen:.
The fullscreen tests also get a lot flakier when layers enter the
picture. This is because tests are parallelised, and if two processes
simultaneously call toggleFullScreen:, then one of them fails. This CL
moves them to the macviews_interactive_ui_tests (which will soon be
absorbed into interactive_ui_tests).
BUG=424058
[email protected] (gyp/gn)
Review URL: https://codereview.chromium.org/783043002
Cr-Commit-Position: refs/heads/master@{#307403}
Use EXPECT_FLOAT_EQ for points equality test.
Using EXPECT_EQ to compare the points is too strict and fails on arm64.
Use EXPECT_FLOAT_EQ instead, which is slightly relaxed.
BUG=439927
Review URL: https://codereview.chromium.org/783183003
Cr-Commit-Position: refs/heads/master@{#307402}
[Clean up] Clean up the Autofill watchlist entries.
Also, remove myself from the metrics watchlist while I'm here.
BUG=none
TEST=none
[email protected]
Review URL: https://codereview.chromium.org/781253004
Cr-Commit-Position: refs/heads/master@{#307401}
mesa gn build: suppress -Wstring-conversion warnings
mesa is using assert(!"message"); which new wersions of Clang now warns about
BUG=431803
TBR=senorblanco
Review URL: https://codereview.chromium.org/789633002
Cr-Commit-Position: refs/heads/master@{#307400}
Add a syscall wrapper for prlimit64.
Adding this wrapper as requested in
https://codereview.chromium.org/693023003 becuase some libcs do not have
a prlimit64.
BUG=
Review URL: https://codereview.chromium.org/785913005
Cr-Commit-Position: refs/heads/master@{#307399}
Fix Host Setup Flow
Cause:
In the Host Setup Flow, the HostController queries the HostDaemonFacade
for the host state when the host finished installing. However,
HostDaemonFacade caches the stale value of the host state and reports
the host as not installed.
Fix:
This CL modifies HostDaemonFacade so that if it is not connected,
it will try connecting itself before handling any incoming requests.
To facilitate the merge, unit tests will be sent out in a separate CL.
BUG=418859
Review URL: https://codereview.chromium.org/790503004
Cr-Commit-Position: refs/heads/master@{#307398}
Only terminate latency components when no rendering is scheduled
The refactoring in r307111 reversed the condition for when a given
LatencyInfo would be terminated. Restore the proper condition, which
terminates the LatencyInfo when the input event has been ack'ed and
has not caused any scheduled rendering.
Also add a couple basic smoke tests for RenderWidgetHostLatencyTracker.
Review URL: https://codereview.chromium.org/786113002
Cr-Commit-Position: refs/heads/master@{#307397}
MacViews: Use RenderTextHarfBuzz only for Textfields
Using RenderTextHarfBuzz for string sizing and eliding on Mac is problematic
because it may not match when drawn by Cocoa, so we use RenderTextMac.
But RenderTextMac does not have support for editing that is needed by
views::Textfield, so use RenderTextHarfBuzz for MacViews textfields.
Review URL: https://codereview.chromium.org/779793006
Cr-Commit-Position: refs/heads/master@{#307396}
Roll src/third_party/WebKit b8378d4:4164837 (svn 186733:186739)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/b8378d4..4164837
[email protected],[email protected]
Review URL: https://codereview.chromium.org/764693004
Cr-Commit-Position: refs/heads/master@{#307395}
Fail on page_set_archive_info permission or credentials error when no archive file is present.
BUG=435063
Review URL: https://codereview.chromium.org/782423003
Cr-Commit-Position: refs/heads/master@{#307394}
Roboto font UI experiment
Add a flag (about:flags) to use Roboto as the UI font. When the flag is
on, replace 'Noto Sans UI' with 'Roboto' for both native UI and web UI.
With this CL and a CL to add Roboto to CrOS, all the native UI will use
Roboto when 'enable-roboto-font-ui' is on.
In web UI, some places will use Roboto, but other places with 'Noto Sans UI'
hardcoded in CSS will not change regardless of the flag's status. bug 409047
will deal with that issue.
BUG=434400
TEST=Once Roboto is added to CrOS (bug 303849), the native UI (omnibox, menu, etc) uses Roboto for Latin-Greek-Cyrillic. In addition, web ui pages without hardcoded font-family also uses Roboto (e.g. Settings page, chrome://flags, etc)
Review URL: https://codereview.chromium.org/776753003
Cr-Commit-Position: refs/heads/master@{#307393}
Files.app: Remove unused 'internal' type from MetadataCache.
The cache type is introduced for the 'undo' feature that has been removed.
https://chromiumcodereview.appspot.com/10914075/diff/8001/chrome/browser/resources/file_manager/js/directory_contents.js
BUG=439329
TEST=manually
Review URL: https://codereview.chromium.org/770723004
Cr-Commit-Position: refs/heads/master@{#307392}
Re-enable CrashSubframe test.
BUG=405582
TEST=SitePerProcessBrowserTest.CrashSubframe stays green.
Review URL: https://codereview.chromium.org/788723002
Cr-Commit-Position: refs/heads/master@{#307391}
Fixed not having isolate_file_path in buildbot tuple.
The below CL broke some of the Android fyi bots because
isolate_file_path wasn't added everywhere it should
have been.
https://codereview.chromium.org/736143002/#ps40001
BUG=
Review URL: https://codereview.chromium.org/774833003
Cr-Commit-Position: refs/heads/master@{#307390}
devtools_protocol.cc: fix ptr to bool conversion warning
../../chrome/browser/devtools/devtools_protocol.cc:120:12: error: implicit conversion of nullptr constant to 'bool' [-Werror,-Wnull-conversion]
return nullptr;
~~~~~~ ^~~~~~~
false
BUG=431803
TBR=pfeldman
NOTRY=true
Review URL: https://codereview.chromium.org/786903002
Cr-Commit-Position: refs/heads/master@{#307389}
Split AcceleratorController::PerformAction() into
- AcceleratorController::CanPerformAction()
- AcceleratorController::PerformAction()
- AcceleratorController::ShouldActionConsumeKeyEvent()
This is a stepping stone to refactoring AcceleratorTarget.
BUG=404473
TEST=None
Review URL: https://codereview.chromium.org/734283002
Cr-Commit-Position: refs/heads/master@{#307388}
aw: More clean ups for testing
Have BVR return a pointer to SharedRendererState and do the reinterpret
case in AwContents.
Update ScopedAppGLStateRestore to handle null binding where
most calls are no-op and returns null.
BUG=418346
Review URL: https://codereview.chromium.org/735013006
Cr-Commit-Position: refs/heads/master@{#307387}
Revert "Chromecast buildfix: update SelectClientCertificate API."
This reverts commit d9bd422472cfa491761ca6d644345f79cd0eb9ad.
See: https://codereview.chromium.org/780383002
[email protected]
BUG=None
Review URL: https://codereview.chromium.org/782293005
Cr-Commit-Position: refs/heads/master@{#307386}
Throw JavaScript error instead of CHECK when this is invalid.
The extension system frequently uses privates(this).
this can easily be set to a non-object or a null value by accident,
so throw an exception instead of terminating the renderer.
Example:
var addListener = chrome.runtime.onMessage.addListener;
addListener(function() { });
// In strict mode, the "this" of addListener is undefined, which
// causes the CHECK to be triggered and the renderer to be killed:
module_system.cc(563)] Check failed: args[0]->IsObject()
[email protected]
TEST=manually; ran Chrome, installed any extension and pasted the
previous code snippet in the console of the extension, and
observed that a JavaScript error was thrown (in the console).
Review URL: https://codereview.chromium.org/783333002
Cr-Commit-Position: refs/heads/master@{#307385}
Specialize WebGL TexParameter test failure for D3D9.
This test is expected to pass on D3D11, and it's important to avoid
accidentally introducing regressions in that configuration.
To implement this, generalized Telemetry's TestExpectations to support
user-defined conditions. Added D3D9 and D3D11 support in a subclass
specialized for the GPU tests.
BUG=angleproject:839
Review URL: https://codereview.chromium.org/751763006
Cr-Commit-Position: refs/heads/master@{#307384}
Add test case for exif_encoder.js.
This test case is not a case to check the bug is fixed but to find a regression in the following fix.
BUG=437142
TEST=out/Release/browser_tests --gtest_filter=*GalleryJsTest*
Review URL: https://codereview.chromium.org/767663002
Cr-Commit-Position: refs/heads/master@{#307383}
Remove AutoLoginInfoBar code.
https://codereview.chromium.org/738533002/ makes all of these dead code now.
BUG=422495
Review URL: https://codereview.chromium.org/739723004
Cr-Commit-Position: refs/heads/master@{#307382}
Add a new AudioChunk constructor and writable_data method.
This allows copying the desired data into an AudioChunk in arbitrary
ways.
[email protected],[email protected]
BUG=249316
Review URL: https://codereview.chromium.org/762853005
Cr-Commit-Position: refs/heads/master@{#307381}
Roll src/third_party/WebKit 40cc6bb:b8378d4 (svn 186729:186733)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/40cc6bb..b8378d4
[email protected],[email protected]
Review URL: https://codereview.chromium.org/735013005
Cr-Commit-Position: refs/heads/master@{#307380}
MacViews: Audit TOOLKIT_VIEWS in browser_defaults
Removes browser_defaults::kCanToggleSystemTitleBar - unused.
Moves browser_defaults::kMiniTabWidth to c/b/ui/views/tabs/tab.cc.
cocoa/tab_strip_controller.mm also has a kMiniTabWidth constant
(=58 - neither of these), but it doesn't come from browser_defaults.
BUG=439882
TEST=compiles
Review URL: https://codereview.chromium.org/751993004
Cr-Commit-Position: refs/heads/master@{#307379}
Mac: Ensure that the recyclable ui::Compositor be destroyed in time
Add a call to destroy the recyclable ui::Compositor to
BrowserMainLoop::ShutdownThreadsAndCleanUp. Otherwise it may hang
around past when the systems it depends on have been destroyed.
Add a CHECK to make sure that no ui::Compositors try to get recycled
after shutdown (as their continued existence would be an error).
BUG=435945
Review URL: https://codereview.chromium.org/770883003
Cr-Commit-Position: refs/heads/master@{#307378}
Add wallet autofill sync protos
These new protos will be used to communicate wallet autofill data to clients.
Review URL: https://codereview.chromium.org/778793002
Cr-Commit-Position: refs/heads/master@{#307377}
Add ScopedPtrVector::remove_if().
remove_if() does not work on ScopedPtrVector because the public
iterators do not allow assignment, so this acts on the interior vector
directly.
This function acts like std::remove_if() on the ScopedPtrVector with 1
difference. It slightly modifies the remove_if algorithm to not make
the elements left at the end of the array undefined. Instead each of
the removed elements will appear once, in an undefined order, at the
end of the array so that they can be each destroyed exactly once.
R=enne
BUG=387116
Review URL: https://codereview.chromium.org/785623002
Cr-Commit-Position: refs/heads/master@{#307376}
Introduced another version of the OOBE UI.
The new version can be enabled by "Ctrl + Alt + Shift + O" shortcut pressed on
the first step of the old version. It's only possible active the new mode on Dev
or Canary channels.
For now the UI is just a placeholder displaying "Hello, World!".
BUG=431721
TEST=manually
Review URL: https://codereview.chromium.org/757543003
Cr-Commit-Position: refs/heads/master@{#307375}
[chromedriver] Reapply changes to NavigationTracker that were removed in r306882
This change was made for backwards compatibility and is no longer supported on
desktop Chrome. But it is still required for WebView on Android 4.4 KitKat,
which is based on M30.
Also re-enabled ChromeDriverTest.testSwitchToParentFrame.
BUG=chromedriver:994
[email protected]
Review URL: https://codereview.chromium.org/783343002
Cr-Commit-Position: refs/heads/master@{#307374}
Disable AccessibilityANoText until crrev.com/481753002 lands
crrev.com/481753002 changes the alt content used for failed image loads.
BUG=440142
Review URL: https://codereview.chromium.org/751553006
Cr-Commit-Position: refs/heads/master@{#307373}
Elevated install of recovery component when needed.
First tries to do recovery non-elevated. When the process finds that elevation is needed, pop up a UI to notify user of UAC prompt. If permission is granted, run recovery component installer again with elevated privilege.
The CL does not have the UI changes. A separate CL (https://codereview.chromium.org/325433002/) is created for that.
This CL includes:
(1) When elevation is needed to recover, save the installation source for retry, set a flag in preference to indicate that.
(2) Provide API for elevated install
BUG=381801
Review URL: https://codereview.chromium.org/359443002
Cr-Commit-Position: refs/heads/master@{#307372}
cleanup: Move Easy sign-in UMA recording into EasyUnlockUserLoginFlow.
BUG=none.
Review URL: https://codereview.chromium.org/785073002
Cr-Commit-Position: refs/heads/master@{#307371}
Add glGetShaderPrecisionFormat to skia GL bindings.
Review URL: https://codereview.chromium.org/728773004
Cr-Commit-Position: refs/heads/master@{#307370}
[NaCl SDK] Add pepper_40 to naclsdk manifest
Remove oldest SDK version (pepper_32) to keep total number
of published SDKs constant.
[email protected], binji
Review URL: https://codereview.chromium.org/761553002
Cr-Commit-Position: refs/heads/master@{#307369}
Roll tools/swarming_client/ to dbff01c15252107603928c32f24fafca48b57a30.
$ git log 1d4965cfb..dbff01c15 --date=short --format='%ad %ae %s' | sed 's/@chromium\.org//'
2014-12-08 maruel Remove swarm_cleanup.py.
2014-12-08 maruel Fix error when failing to upload an isolated for swarming.
2014-12-05 maruel Default --user to '' instead of 'unknown'.
2014-12-04 vadimsh Use engine that created the request instead of a global one.
2014-12-01 vadimsh Make IsolateServer class easy to subclass and replace.
2014-12-01 vadimsh Add 'follow_redirects' argument to url_read.
[email protected]
BUG=
Review URL: https://codereview.chromium.org/757483003
Cr-Commit-Position: refs/heads/master@{#307368}
Create components/wallpaper directory
Move wallpaper_resizer* from "ash/desktop_background" to "extensions/components/wallpaper"
Move enum WallpaperLayout to a separate file extensions/components/wallpaper/wallpaper_layout_enum.h
that can be accessible from "extensions/components/wallpaper" and "ash/desktop_background"
BUG=431389
Review URL: https://codereview.chromium.org/720473002
Cr-Commit-Position: refs/heads/master@{#307367}
remove safe mode key combo
This was for when we transitioned to Aura, Just a escape valve so if aura was hosed because of bad GPU, you could switch to software rendering without putting the command line into the shortcut. Just to help conops.
Its been 11 months to the escape valve is not needed anymore.
Also other minor cleanups, in particular removing sdk definitions.
BUG=271719
Review URL: https://codereview.chromium.org/788473002
Cr-Commit-Position: refs/heads/master@{#307366}
Remove SkCanvas::drawBitmapMatrix overrides.
Not used and scheduled for removal.
[email protected]
Review URL: https://codereview.chromium.org/785063002
Cr-Commit-Position: refs/heads/master@{#307365}
MacViews: Implement Minimize
Well, it started off simple...
When implementing Hide, I added -[BridgedContentView willShow], to work
around some AppKit oddities while allowing tests to pass (i.e.
WidgetTest.DesktopNativeWidgetNoPaintAfterHideTest). Minimize suffers
from worse oddities: restoring from the Dock doesn't even call
-[NSWindow deminiaturize:], and -[NSWindow display] is called without
updating the window visibility first (directly from a C dock-handling
function, `PrepareForRestore`). Also -[NSWindow display] is called
before things like -[NSWindowDelegate windowDidDeminiaturize:].
I found a way to reduce the complexity by calling [NSWindow
setAutodisplay:NO] when the window becomes hidden. This suppresses the
redraws-while-hidden that toolkit-views doesn't want to receive.
It's also important to report the visibility correctly. Once ui::Layers
are added, the layer visibility needs to be kept in step with the
window. Also, minimize is done on Mac with animations which need to run
with valid window contents. Visibility is made more robust by adding
BridgedNativeWidget::OnVisibilityChangedTo(bool) to cater for the times
-[NSWindow isVisible] lies to us.
Then, tests. NativeWidgetMac::Minimize() was previously NOTIMPLEMENTED()
on Mac, so WidgetTest.TestViewWidthAfterMinimizingWidget should have
been failing. First step was to make it fail. Then fix it, but turns out
that could only be done on non-Ash Windows.
Finally NativeWidgetMacTest.MiniaturizeExternally tests all the
miniaturize flows and has additional checks for the visibility/paint
states.
BUG=378134
Review URL: https://codereview.chromium.org/768713002
Cr-Commit-Position: refs/heads/master@{#307364}
Add Media.FallbackToHighLatencyAudioInputPath.
Adds UMA stat to count the number of times we fail to create a low-latency audio input stream on Windows.
BUG=411380
Review URL: https://codereview.chromium.org/769473002
Cr-Commit-Position: refs/heads/master@{#307363}
Report error upon AudioUnitRender failure so stream is terminated.
Previously these errors just silently filled the log. Now they will
be trampolined back to the controller and then trampolined to the
renderer host which will ultimately kill the stream.
Without this, the stream may spin forever on a high priority thread,
which can lead to a beachball of doom.
BUG=428706
TEST=none
Review URL: https://codereview.chromium.org/779363002
Cr-Commit-Position: refs/heads/master@{#307362}
[Android] Fix results reporting in platform mode for certain test types.
BUG=428729
Review URL: https://codereview.chromium.org/784523003
Cr-Commit-Position: refs/heads/master@{#307361}
Mac Video Capture: add a UMA histogram to track AVFoundation usage.
BUG=
Review URL: https://codereview.chromium.org/767653002
Cr-Commit-Position: refs/heads/master@{#307360}
RenderText: Make GetContentWidth return an int
Clients of RenderText expect GetContentWidth to return an int, which causes silent casts from float to int that yield incorrect widths. This CL makes GetContentWidth return an int and adds a float version, GetContentWidthF.
BUG=438917
R=msw
Review URL: https://codereview.chromium.org/783853002
Cr-Commit-Position: refs/heads/master@{#307359}
Make the ipc_socket_factory logging show up in release build.
BUG=webrtc:3868
Review URL: https://codereview.chromium.org/764183004
Cr-Commit-Position: refs/heads/master@{#307358}
Send RefreshTokenAnnotationRequest
This is needed to backfill device_ids for refresh tokens issued pre-M38.
With this change chrome periodically sends request to IssueToken
endpoint passing device_id to it.
- Request is only sent for desktop platforms
- Request is only sent when profile is opened
- Average interval between requests is 10 days
This functionality is currently disabled by default and controlled by
command line parameter. In the future change it will be enabled by
default and controlled by Finch experiment.
[email protected]
BUG=382968
Review URL: https://codereview.chromium.org/785633002
Cr-Commit-Position: refs/heads/master@{#307357}
Roll FFmpeg to pick MIPS config files
Previous FFmpeg update broke the build for MIPS.
Review URL: https://codereview.chromium.org/781063003
Cr-Commit-Position: refs/heads/master@{#307356}
Roll src/third_party/WebKit b91d6c0:40cc6bb (svn 186720:186729)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/b91d6c0..40cc6bb
[email protected],[email protected]
Review URL: https://codereview.chromium.org/769963006
Cr-Commit-Position: refs/heads/master@{#307355}
disable aero glass for Vista.
This better aligns XP and Vista, for maintenance purposes.
BUG=426573
Review URL: https://codereview.chromium.org/755293003
Cr-Commit-Position: refs/heads/master@{#307354}
[Chromoting] Refactor remapKeys and Capabilities into DesktopRemoting.
This cl removes the hard-coded values from ClientSession and ClientPlugin
and moves them into Application.Delegate.
NOTRY=True
BUG=
Review URL: https://codereview.chromium.org/727363004
Cr-Commit-Position: refs/heads/master@{#307353}
Cleanup: Fix install-debian.wheezy.sysroot.py to pass pylint.
Review URL: https://codereview.chromium.org/784683002
Cr-Commit-Position: refs/heads/master@{#307352}
downloads: fix vertical alignment of "Clear all" and "Open downloads folder".
This would've shown up on bookmarks if the summary ever had more than 1 child.
[email protected]
BUG=none (yet)
TEST=visual
Review URL: https://codereview.chromium.org/782933002
Cr-Commit-Position: refs/heads/master@{#307351}
BufferingState::SetMaxRenderingTime was never being called.
Also added a cap to reported max rendering time to prevent
interpolation too far ahead.
Bug=408189
Review URL: https://codereview.chromium.org/786493004
Cr-Commit-Position: refs/heads/master@{#307350}
Remove test_data option when running instrumentation tests on buildbots.
If the test_data option is not given, instrumentation tests will use
their .isolate files to determine their data dependencies. We want to
eventually completely remove the test_data option.
BUG=
Review URL: https://codereview.chromium.org/736143002
Cr-Commit-Position: refs/heads/master@{#307349}
Replace TraceEvent.begin()/end() with explicit names
Replace TraceEvent.begin()/end() calls which implicitly gets the trace
event name by doing a costly stack dump, with explicitly named trace
event names.
Also wrap traces around try/finally.
BUG=439118
Review URL: https://codereview.chromium.org/783603002
Cr-Commit-Position: refs/heads/master@{#307348}
Add the option to create a full memory dump on linux
BUG=none
[email protected],[email protected]
Review URL: https://codereview.chromium.org/784003002
Cr-Commit-Position: refs/heads/master@{#307347}
Add some OWNERS to build
By request -- if you land here and feel qualified to review build/
(or a subdir) please feel encouraged to send a CL to add yourself to
OWNERS. The initial list was selected simply to avoid having the
reviews sent unnecessarily to top-level src/ OWNERS.
[email protected],[email protected],[email protected]
Review URL: https://codereview.chromium.org/786093002
Cr-Commit-Position: refs/heads/master@{#307346}
Revert of Revert of Don't deref stale AutofillMetrics pointer in AutofillCCInfoBarDelegate (patchset #1 id:1 of https://codereview.chromium.org/790543002/)
Reason for revert:
Re-landing, revert didn't fix Win7 bots..
Original issue's description:
> Revert of Don't deref stale AutofillMetrics pointer in AutofillCCInfoBarDelegate (patchset #2 id:20001 of https://codereview.chromium.org/780423002/)
>
> Reason for revert:
> Suspected cause of flakines on Win7-bots, see http://crbug.com/440060 for details.
>
> Original issue's description:
> > Don't deref stale AutofillMetrics pointer in AutofillCCInfoBarDelegate
> >
> > It was only by luck that this used to work. After a recent refactoring, the destruction order changed and the AutofillMetrics object no longer outlasts the infobar. AutofillMetrics doesn't need to be an instance object; make the relevant function a static instead.
> >
> > [email protected]
> > BUG=439551, 439620
> >
> > Committed: https://crrev.com/19ece1e4af5207b92c2152395dfccca1683504e1
> > Cr-Commit-Position: refs/heads/master@{#307128}
>
> [email protected],[email protected],[email protected]
> NOTREECHECKS=true
> NOTRY=true
> BUG=439551, 439620
>
> Committed: https://crrev.com/051aca46ed1dec4f040c9a3d7dac2af60df2db6c
> Cr-Commit-Position: refs/heads/master@{#307303}
[email protected],[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=439551, 439620, 440060
Review URL: https://codereview.chromium.org/782353002
Cr-Commit-Position: refs/heads/master@{#307345}
Revert of Move TouchSelectionController from content to ui (patchset #12 id:600001 of https://codereview.chromium.org/759433002/)
Reason for revert:
Suspected of causing Win8 GN failure
http://build.chromium.org/p/chromium.win/builders/Win8%20GN/builds/1552/steps/compile/logs/stdio#error1
FAILED: ninja -t msvc -e environment.x86 -- "C:\b\depot_tools\win_toolchain\vs2013_files\VC\bin\amd64_x86/cl.exe" /nologo /showIncludes /FC @obj/ui/base/dragdrop/ui_base_unittests.os_exchange_data_provider_aurax11_unittest.obj.rsp /c ../../ui/base/dragdrop/os_exchange_data_provider_aurax11_unittest.cc /Foobj/ui/base/dragdrop/ui_base_unittests.os_exchange_data_provider_aurax11_unittest.obj /Fdobj/ui/base/ui_base_unittests_cc.pdb
c:\b\build\slave\win8_gn\build\src\ui\base\dragdrop\os_exchange_data_provider_aurax11.h(8) : fatalerror C1083: Cannot open include file: 'X11/Xlib.h': No such file or directory
Original issue's description:
> Move TouchSelectionController from content to ui
>
> This patch is only moving new unified touch selection files from
> content/ to ui/touch_selection/. This is the first step to allow Aura
> use the new unified TouchSelectionController.
>
> The only change to TouchSelectionController needed for this move is
> replacing use of cc::ViewportSelectionBound with ui::SelectionBound.
>
> The actual use of the new touch selection for Aura will happen in future
> CL(s). After that, we can remove current touch selection code from
> ui/base/touch/.
>
> BUG=399721
>
> Committed: https://crrev.com/29fd405ca491a6fcf0dde6277d92d44300cb2926
> Cr-Commit-Position: refs/heads/master@{#307336}
[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=399721
Review URL: https://codereview.chromium.org/754963007
Cr-Commit-Position: refs/heads/master@{#307344}
Fix defun syntax for cr-compile.
BUG=
[email protected]
Review URL: https://codereview.chromium.org/787723003
Cr-Commit-Position: refs/heads/master@{#307343}
Autofill: Add a test for dynamically added input elements that are not part of a form.
BUG=428919
Review URL: https://codereview.chromium.org/762603004
Cr-Commit-Position: refs/heads/master@{#307342}
Instrumenting BrowserProcessResource::BrowserProcessResource to find jank.
Prior instrumentations showed that the jank lives in BrowserProcessResource::BrowserProcessResource.
BUG=437890
Review URL: https://codereview.chromium.org/781213002
Cr-Commit-Position: refs/heads/master@{#307341}
Revert of Block port 443 for all protocols other than HTTPS or WSS. (patchset #7 id:120001 of https://codereview.chromium.org/770343003/)
Reason for revert:
Unfortunately, this fix didn't do enough to mitigate the original problem (it's easy to tell if a site has been visited).
It's also incomplete on its own (i.e. it needs further changes to prevent the HSTS redirect).
See https://crbug.com/436451#c30
Original issue's description:
> Block port 443 for all protocols other than HTTPS or WSS.
>
> This addresses the history leak (on non-preloaded HSTS sites) from https://crbug.com/436451:
>
> "If we ask Chrome to load http://example.com:443, it will definitely fail, because Chrome will make plain-text HTTP request to port 443 of the server. However, if example.com is a Known HSTS Host of Chrome (meaning either the user has visited https://example.com before, or it is on the HSTS preload list), it will send request to https://example.com:443, and the request will succeed. We can use JavaScript to differentiate the two cases, since in the first case, onerror event is triggered, while in the second case, onload event is triggered.
>
> Therefore, a malicious website can include well-chosen cross-domain images and use this trick to brute-force a list of domains that users have visited. Note that the list could only contain HSTS-enabled but not preloaded websites."
>
> BUG=436451
>
> Committed: https://crrev.com/b6cf19c7b9dd536405c3c4f80876411733c9d5a5
> Cr-Commit-Position: refs/heads/master@{#306959}
[email protected],[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=436451
Review URL: https://codereview.chromium.org/780943003
Cr-Commit-Position: refs/heads/master@{#307340}
Add missing gfx_param_traits.h
This file is neccessary for render_view_messages.h, the reason of it
not being broken because print_messages.h has it.
BUG=
Review URL: https://codereview.chromium.org/780503005
Cr-Commit-Position: refs/heads/master@{#307339}
Do not forward input events to Widget during Widget destruction
Set the target handler of an aura::Window to null early
in the Window destructor to stop input events from
being forwarded to the hosted views::Widget since its
event processor (RootView) may have already been
destroyed.
Furthermore, check for a null RootView in
TouchUMA::FindGestureActionType() since this code
may be reached during the pretarget phase of event
processing at the same time the widget is being
destroyed, in which case its root view will have already
been destroyed.
BUG=430582
TEST=WindowSelectorTest.ClickOnWindowDuringTouch,
WindowTest.NoCrashOnWindowDelete,
WindowTest.MouseEnterExitWithWindowAppearAndDelete,
WindowTest.MouseEnterExitWithParentDelete,
WindowTest.MouseEventsOnLeafWindowChange,
WindowTest.MouseEventsOnNonLeafWindowDelete,
WidgetTest.NoCrashOnWidgetDelete,
WidgetTest.NoCrashOnWidgetDeleteWithPendingEvents
Review URL: https://codereview.chromium.org/753623005
Cr-Commit-Position: refs/heads/master@{#307338}
Autofill - Fix Harry and David checkout: ignore role="presentation"
fields.
BUG=438396
Review URL: https://codereview.chromium.org/734983006
Cr-Commit-Position: refs/heads/master@{#307337}
Move TouchSelectionController from content to ui
This patch is only moving new unified touch selection files from
content/ to ui/touch_selection/. This is the first step to allow Aura
use the new unified TouchSelectionController.
The only change to TouchSelectionController needed for this move is
replacing use of cc::ViewportSelectionBound with ui::SelectionBound.
The actual use of the new touch selection for Aura will happen in future
CL(s). After that, we can remove current touch selection code from
ui/base/touch/.
BUG=399721
Review URL: https://codereview.chromium.org/759433002
Cr-Commit-Position: refs/heads/master@{#307336}
Switch from watching the music manager API to watching the RLZ ID impl.
TEST=Made no-op change to rlz/win/lib/machine_id_win.cc and uploaded the CL: ensured gab+watch@ et al. were automatically CC'ed.
NOTRY=True
Review URL: https://codereview.chromium.org/786073002
Cr-Commit-Position: refs/heads/master@{#307335}
[bisect] - Fix sync annotation.
The build/run steps use the version from the config, but the sync is still using the resolved git hash. Change this so they all match.
http://build.chromium.org/p/tryserver.chromium.perf/builders/linux_perf_bisect/builds/1121
Syncing [14ef64e8d0bfbf89cde4b0a9d265785370ab4806]
becomes
Syncing [307025]
BUG=
Review URL: https://codereview.chromium.org/782753002
Cr-Commit-Position: refs/heads/master@{#307334}
Cleanup: Get rid of base::ASCIIToWide().
BUG=23581
Review URL: https://codereview.chromium.org/768973003
Cr-Commit-Position: refs/heads/master@{#307333}
Uninline several internal protobuf helpers.
This saves 576KiB on a release build.
BUG=none
Review URL: https://codereview.chromium.org/778203003
Cr-Commit-Position: refs/heads/master@{#307332}
Roll src/third_party/WebKit c7e71e3:b91d6c0 (svn 186707:186720)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/c7e71e3..b91d6c0
[email protected],[email protected]
Review URL: https://codereview.chromium.org/786043002
Cr-Commit-Position: refs/heads/master@{#307331}
Instrumenting callbacks of SingleRequestHostResolver to find jank.
SingleRequestHostResolver::OnResolveCompletion is responsible for this bug's jank.
Instrumenting all its callbacks.
BUG=436634
Review URL: https://codereview.chromium.org/785633003
Cr-Commit-Position: refs/heads/master@{#307330}
cc: Schedule a late deadline when swap throttled, allow rescheduling.
If the renderer is swap throttled, the scheduler should wait until a
swap ack and then reschedule the deadline if necessary. This is to
avoid cases where we trigger the deadline too early and don't draw in
that frame.
BUG=437932
Review URL: https://codereview.chromium.org/775893006
Cr-Commit-Position: refs/heads/master@{#307329}
Switch from a DataPipe per DecoderBuffer to a single one.
Instead of letting the type converter for DecoderBuffer handle
transfer of the DecoderBuffer::data(), clients are now expected
to handle this externally.
MojoDemuxerStreamAdapter now deserializing the data section via
a shared pipe created by MojoDemuxerStreamImpl. The pipe is
sized dynamically for audio or video content.
We don't have framed DataPipe support yet, but this will at least
prevent us from creating thousands of DataPipes per minute.
BUG=392236
TEST=html_viewer using audio/video urls.
Review URL: https://codereview.chromium.org/760523008
Cr-Commit-Position: refs/heads/master@{#307328}
Fixed a problem with the error checking the GuestView state machine.
Previously, if an error was detected by the state machine in the GuestView object, the remaining queued up actions would not be executed. This is now fixed.
Review URL: https://codereview.chromium.org/789523003
Cr-Commit-Position: refs/heads/master@{#307327}
Set the lowest-end Android memory limit to 8MB
8MB is the value that made it down to the renderer in M36, and comments
indicate that that was expected. Now that the value from
GetTotalGpuMemory makes it down directly, set that value to 8MB.
BUG=430929
Review URL: https://codereview.chromium.org/779423002
Cr-Commit-Position: refs/heads/master@{#307326}
Remove SSLClientAuthHandler dependency on the RDH.
Instead it takes a callback back to the ResourceLoader. This removes one RDH
and GlobalRequestID dependency.
This is a reland of part of https://codereview.chromium.org/596873002/.
BUG=376003
Review URL: https://codereview.chromium.org/778193003
Cr-Commit-Position: refs/heads/master@{#307325}
Roll src/third_party/skia 9a26410:cf56009
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/9a26410..cf56009
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/788703002
Cr-Commit-Position: refs/heads/master@{#307324}
Android: Get number of defined child services from manifest
Instead of hardcoding the number in ChildProcessLauncher.java
query it from the manifest, where the services are defined.
Review URL: https://codereview.chromium.org/778823003
Cr-Commit-Position: refs/heads/master@{#307323}
QUIC - Stash away a WeakPtr to DiskCacheBasedQuicServerInfo before
calling the callback. After callback is finished, if the object is still
live, then call PersistInternal.
BUG=439209
[email protected]
Review URL: https://codereview.chromium.org/785683002
Cr-Commit-Position: refs/heads/master@{#307322}
Refactor send expectations in ModifierTest to use mockTypeCharacter.
Additional context for this refactoring can be found in the comments here: https://codereview.chromium.org/774263002
BUG=None
TEST=BrowserTest --gtest_filter=VirtualKeyboardBrowserTests.ModifierTest
Review URL: https://codereview.chromium.org/761203004
Cr-Commit-Position: refs/heads/master@{#307321}
Add "meaning" attribute to conflicting string.
IDS_TRANSLATE_INFOBAR_TEXT in android_chrome_strings.grd is identical to
to IDS_TRANSLATE_INFOBAR_BEFORE_MESSAGE_IOS in translate_strings.grdp,
except for the values of the placeholders (^1 instead of $1). This
causes errors in the translation pipeline (which expects identical strings
to have identical placeholder values).
This adds a "meaning" attribute to IDS_TRANSLATE_INFOBAR_TEXT which
signals to the translation pipeline that these strings shouldn't be
considered identical.
BUG=438717
Review URL: https://codereview.chromium.org/779463007
Cr-Commit-Position: refs/heads/master@{#307320}
Alphabetize feature source lists in chrome_browser.gypi
This completes the reorganizing of chrome_browser.gypi source file
lists into two ordered sections.
BUG=439765
Review URL: https://codereview.chromium.org/768183003
Cr-Commit-Position: refs/heads/master@{#307319}
Add a finch experiment for the persistent cookie store load strategy.
The finch experiment switches between several different strategies for loading
the persistent cookies from the SQLite database.
- Default: Loads cookies one eTLD at a time, with minimal delay between loads.
- Delayed Load: Same as Default, but with a 200ms delay between loads.
- All At Once: Loads all cookies immediately after database initialization.
BUG=436152
Review URL: https://codereview.chromium.org/777713002
Cr-Commit-Position: refs/heads/master@{#307318}
Plumb surface id to GpuMemoryBuffer allocation.
We need to know which display controller to use for allocation of scanout buffers in situations where an external USB monitor is connected.
BUG=432550
Review URL: https://codereview.chromium.org/725723002
Cr-Commit-Position: refs/heads/master@{#307317}
Roll ANGLE.
https://chromium.googlesource.com/angle/angle/+log/8e7c8a13791..16545669136
BUG=
Review URL: https://codereview.chromium.org/786473003
Cr-Commit-Position: refs/heads/master@{#307316}
Add cr-compile method for emacs.
This will cd to src/ before running the compile command. Works
best in conjunction with this added to c++-mode-hook:
set (make-local-variable 'compile-command) "ninja -C out/Debug"))
TBR=erg
BUG=none
Review URL: https://codereview.chromium.org/778273002
Cr-Commit-Position: refs/heads/master@{#307315}
Rename desktop_linux_sources gypi variable to match new standard
Follow up from https://codereview.chromium.org/786663002/
BUG=439765
Review URL: https://codereview.chromium.org/778483003
Cr-Commit-Position: refs/heads/master@{#307314}
[Extensions Toolbar] Add logic for adjusting actions when some are popped out
When toolbar actions want to run, they can pop themselves out of the new
overflow menu. Unfortunately, this makes adjusting the order/size of the toolbar
difficult. Add logic to handle these cases more gracefully.
BUG=417441
Review URL: https://codereview.chromium.org/770973002
Cr-Commit-Position: refs/heads/master@{#307313}
Implement Keyboard Injection API on SystemInputInjector
This CL converts the injected DomCode to an evdev code
and dispatch it to KeyboardEvdev.
Review URL: https://codereview.chromium.org/764733003
Cr-Commit-Position: refs/heads/master@{#307312}
Add OWNERS file for third_party/protobuf
BUG=none
Review URL: https://codereview.chromium.org/783073002
Cr-Commit-Position: refs/heads/master@{#307311}
Set the version string nodes created in the enhanced bookmark model.
The version field is now set when the enhanced bookmark model creates
nodes, not just when it edits the meta info fields of existing nodes.
BUG=411412
Review URL: https://codereview.chromium.org/748783004
Cr-Commit-Position: refs/heads/master@{#307310}
Instrumenting URLRequest::Read and ResourceLoader::CompleteResponseStarted to find jank.
Prior instrumentations showed that the jank lives in ResourceLoader::ReadMore, but outside of OnWillRead call.
Which means that it's in URLRequest::Read. Instrumenting it.
There is also some jank (~5) in ResourceLoader::CompleteResponseStarted, instrumenting it too.
BUG=423948
Review URL: https://codereview.chromium.org/784633002
Cr-Commit-Position: refs/heads/master@{#307309}
Change ContentAutofillDriverFactory to listen to DidNavigateMainFrame
Before https://codereview.chromium.org/707173004/ ContentAutofillDriver only listened to DidNavigateMainFrame, and this crash apparently didn't occur. Perhaps switching back to this function will stop the crashing. We only care about main frame navigations anyway.
It's quite possible that even if this works, ContentPasswordManagerDriver will crash instead, for the same reason. It's also possible this change doesn't do anything except change the crash stack for ContentAutofillDriver (s/DidNavigateAnyFrame/DidNavigateMainFrame). Either way, it will provide another clue to the nature of the problem.
BUG=438951
Review URL: https://codereview.chromium.org/781253002
Cr-Commit-Position: refs/heads/master@{#307308}
[chromedriver] Only use javascript window.history.back/forward() on webview
BUG=chromedriver:980
Review URL: https://codereview.chromium.org/727363005
Cr-Commit-Position: refs/heads/master@{#307307}
Remove always true guard
#if defined(OS_MACOSX) || defined(USE_AURA) || defined(OS_ANDROID)
This guard will always return true. This cl will remove all
the unnecessary guard
Review URL: https://codereview.chromium.org/780343002
Cr-Commit-Position: refs/heads/master@{#307306}
[Cronet] Added a getAllHeadersAsList method in ResponseInfo
HttpURLConnection has methods to get response headers at a particular location
(see HttpURLConnection#getHeaderField(int pos) and HttpURLConnection#getHeaderFieldKey(int pos)).
This requires Cronet to preserve the order in which headers are received.
This CL adds a method to return the list of headers.
BUG=398997
Review URL: https://codereview.chromium.org/776583002
Cr-Commit-Position: refs/heads/master@{#307305}
Revert of Implement HasPermission() method in PermissionService. (patchset #24 id:480001 of https://codereview.chromium.org/750633003/)
Reason for revert:
Causes Android Builder (dbg) to fail compile.
http://build.chromium.org/p/chromium.linux/builders/Android%20Builder%20%28dbg%29/builds/70387/steps/compile/logs/stdio#error1
FAILED: /b/build/goma/gomacc /b/build/slave/Android_Builder__dbg_/build/src/third_party/android_tools/ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -MMD -MF obj/android_webview/native/webview_native.aw_contents_statics.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD -DUSE_LIBJPEG_TURBO=1 -DENABLE_WEBRTC=1 -DUSE_PROPRIETARY_CODECS -DENABLE_BROWSER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY -DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE -DDONT_EMBED_BUILD_METADATA -DENABLE_AUTOFILL_DIALOG=1 -DCLD_VERSION=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_SUPERVISED_USERS=1 -DVIDEO_HOLE=1 -DENABLE_LOAD_COMPLETION_HACKS=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DMOJO_USE_SYSTEM_IMPL -DPOSIX_AVOID_MMAP -DSK_ENABLE_INST_COUNT=0 -DSK_SUPPORT_GPU=1 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' -DSK_ENABLE_LEGACY_API_ALIASING=1 -DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1 -DGR_GL_IGNORE_ES3_MSAA=0 -DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT -DSK_SUPPORT_LEGACY_TEXTRENDERMODE -DSK_IGNORE_GPU_LAYER_HOISTING -DSK_BUILD_FOR_ANDROID -DSK_USE_POSIX_THREADS -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DUSE_OPENSSL_CERTS=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DANDROID -D__GNU_SOURCE=1 -DUSE_STLPORT=1 -D_STLP_USE_PTR_SPECIALIZATIONS=1 '-DCHROME_BUILD_ID=""' -DHAVE_SYS_UIO_H -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -D_DEBUG -Igen -I../.. -I../../skia/config -I../../third_party/khronos -I../../gpu -I../../third_party/WebKit/Source -Igen/angle -I../../third_party/WebKit -I../../third_party/skia/src/core -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/pdf -I../../third_party/skia/include/gpu -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../skia/ext -I../../third_party/icu/source/i18n -I../../third_party/icu/source/common -I../../third_party/boringssl/src/include -Igen/android_webview -fstack-protector --param=ssp-buffer-size=4 -Werror -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -march=armv7-a -mtune=generic-armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -mthumb -fno-tree-sra -fno-caller-saves -Wno-psabi -mthumb-interwork -ffunction-sections -funwind-tables -g -fstack-protector -fno-short-enums -finline-limit=64 -Wa,--noexecstack --sysroot=/b/build/slave/Android_Builder__dbg_/build/src/third_party/android_tools/ndk//platforms/android-14/arch-arm -isystem/b/build/slave/Android_Builder__dbg_/build/src/third_party/android_tools/ndk//sources/cxx-stl/stlport/stlport -Os -g -gdwarf-4 -fdata-sections -ffunction-sections -fomit-frame-pointer -funwind-tables -g1 -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare -Wno-abi -std=gnu++11 -Wno-narrowing -Wno-literal-suffix -c ../../android_webview/native/aw_contents_statics.cc -o obj/android_webview/native/webview_native.aw_contents_statics.o
In file included from ../../android_webview/browser/aw_browser_context.h:18:0,
from ../../android_webview/native/aw_contents_statics.cc:7:
../../content/public/browser/content_browser_client.h:23:59: fatalerror: content/public/common/permission_status.mojom.h: No such file or directory
#include "content/public/common/permission_status.mojom.h"
Original issue's description:
> Implement HasPermission() method in PermissionService.
>
> This patch implements the HasPermission() method in the mojo PermissionService.
> This methiod will be required for the Permissions API, see
> https://w3c.github.io/permissions/
>
> BUG=430238
>
> Committed: https://crrev.com/277b23d74855b51ebe67ae0da7cd9e0b053044cf
> Cr-Commit-Position: refs/heads/master@{#307302}
[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=430238
Review URL: https://codereview.chromium.org/786063002
Cr-Commit-Position: refs/heads/master@{#307304}
Revert of Don't deref stale AutofillMetrics pointer in AutofillCCInfoBarDelegate (patchset #2 id:20001 of https://codereview.chromium.org/780423002/)
Reason for revert:
Suspected cause of flakines on Win7-bots, see http://crbug.com/440060 for details.
Original issue's description:
> Don't deref stale AutofillMetrics pointer in AutofillCCInfoBarDelegate
>
> It was only by luck that this used to work. After a recent refactoring, the destruction order changed and the AutofillMetrics object no longer outlasts the infobar. AutofillMetrics doesn't need to be an instance object; make the relevant function a static instead.
>
> [email protected]
> BUG=439551, 439620
>
> Committed: https://crrev.com/19ece1e4af5207b92c2152395dfccca1683504e1
> Cr-Commit-Position: refs/heads/master@{#307128}
[email protected],[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=439551, 439620
Review URL: https://codereview.chromium.org/790543002
Cr-Commit-Position: refs/heads/master@{#307303}
Implement HasPermission() method in PermissionService.
This patch implements the HasPermission() method in the mojo PermissionService.
This methiod will be required for the Permissions API, see
https://w3c.github.io/permissions/
BUG=430238
Review URL: https://codereview.chromium.org/750633003
Cr-Commit-Position: refs/heads/master@{#307302}
Add Mockito v1.10.5 to third_party.
BUG=417847
Review URL: https://codereview.chromium.org/739383005
Cr-Commit-Position: refs/heads/master@{#307301}
Convert the bottom pixel offsets on radio and checkbox input types to flex's
align-items:center, in widgets.css and extension.css. This also inadvertently
allows removing some ChromeOS specific styling.
BUG=438535
[email protected]
Review URL: https://codereview.chromium.org/783793002
Cr-Commit-Position: refs/heads/master@{#307300}
Add PassphraseType to replace SyncDecryptionPassphraseType.
PassphraseType does not have the extra INVALID and NONE values that
SyncDecryptionPassphraseType does; it matches the C++ side.
Review URL: https://codereview.chromium.org/779333003
Cr-Commit-Position: refs/heads/master@{#307299}
Fix closure compilation error in options.
Updated type annotation to make the FYI Buildbot green. http://build.chromium.org/p/chromium.fyi/builders/Closure%20Compilation%20Linux
BUG=none
[email protected]
TBRing as this is trivial and not affect the actual code.
TEST=GYP_GENERATORS=ninja gyp --depth . third_party/closure_compiler/compiled_resources.gyp && ninja -C out/Default
Review URL: https://codereview.chromium.org/767083004
Cr-Commit-Position: refs/heads/master@{#307298}
Disable WebContentsViewAuraTest.QuickOverscrollDirectionChange on Linux.
BUG=440043
TBR=gab
Review URL: https://codereview.chromium.org/768113005
Cr-Commit-Position: refs/heads/master@{#307297}
Roll src/third_party/WebKit a259d44:c7e71e3 (svn 186704:186707)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/a259d44..c7e71e3
[email protected],[email protected]
Review URL: https://codereview.chromium.org/782273003
Cr-Commit-Position: refs/heads/master@{#307296}
Set TestingFactories for base Profile of CocoaProfileTest
BUG=432286, 439913
Review URL: https://codereview.chromium.org/784893003
Cr-Commit-Position: refs/heads/master@{#307295}
Switch back to PrintDlgEx instead of DocumentProperties.
For unclear reasons DocumentProperties with DM_IN_PROMPT sometimes does not
return. This is happening mostly on 32bit Windows inside of base::MessageLoop::ScopedNestableTaskAllower.
BUG=436810
Review URL: https://codereview.chromium.org/766823004
Cr-Commit-Position: refs/heads/master@{#307294}
Simplify sizeof(kFrameData) calculation for improved readability.
The calculation of kFrameData requires is unnecessarily complex and
requires extra checks to validate correctness. Changing to just sizeof
makes it more robust and readable.
The VC++ /analyze warning is:
src\net\spdy\spdy_frame_reader_test.cc(22) : warning C6260:
sizeof * sizeof is usually wrong.
This CL lands server side change 81574208.
BUG=427616
Review URL: https://codereview.chromium.org/781213003
Cr-Commit-Position: refs/heads/master@{#307293}
Roll src/third_party/skia 999f5e7:9a26410
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/999f5e7..9a26410
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/784023002
Cr-Commit-Position: refs/heads/master@{#307292}
Populating browser list in WebRTCDeviceProvider.
To test this code:
1. register DevToolsBridge Test App instance in GCD (https://docs.google.com/a/chromium.org/document/d/188V6TWV8ivbjAPIp6aqwffWrY78xN2an5REajZHpunk/edit#heading=h.6gpqqy16q0ga).
2. Enable #enable-devtools-experiments flag.
3. Observe this app as a browser in chrome://inspect/#devices
BUG=383418
[email protected]
TEST=See instructions above
Review URL: https://codereview.chromium.org/784523002
Cr-Commit-Position: refs/heads/master@{#307291}
Modifying aria-level AX test due to changes related to aria-level for heading.
This CL depends on https://codereview.chromium.org/762103002/ and https://codereview.chromium.org/775533002/
BUG=365082
Review URL: https://codereview.chromium.org/769783002
Cr-Commit-Position: refs/heads/master@{#307290}
GN: prevent Clang plugins from being injected into NaCl toolchains.
BUG=https://code.google.com/p/chromium/issues/detail?id=401761
Review URL: https://codereview.chromium.org/782813002
Cr-Commit-Position: refs/heads/master@{#307289}
Create a 'platform' section of chrome_browser.gypi source lists
Adds sections to chrome_browsers.gypi as described in the bug, and pulls
all the platform-y lists up into that section in order (ignoring 'non_'
prefixes so conceptual if/else constructs stay together).
BUG=439765
Review URL: https://codereview.chromium.org/786663002
Cr-Commit-Position: refs/heads/master@{#307288}
cc: Move LayerRasterTileIterator to a separate file and make it a queue
This patch removes PictureLayerImpl::LayerRasterTileIterator, moves
it to a separate file, renames it to TilingSetRasterQueue, and
makes its functionality be more queue-like instead of iterator-like.
Also, this patch adds a PLI::CreateRasterQueue to get a raster queue
for the layer.
This hides a bit more details of PLTS from PLI and allows us in
the future to optimize or create other types of TilingSetRasterQueues.
BUG=433048
R=reveman, enne
Review URL: https://codereview.chromium.org/742343002
Cr-Commit-Position: refs/heads/master@{#307287}
Support disconnecting from wireless networks.
NOTE: Depending if this or 720453002 lands first an event should also fire when a network disconnects.
BUG=387869
Review URL: https://codereview.chromium.org/782493003
Cr-Commit-Position: refs/heads/master@{#307286}
Remove GpuScheduler::DeferToFence.
This isn't used anymore.
BUG=325947
Review URL: https://codereview.chromium.org/724683005
Cr-Commit-Position: refs/heads/master@{#307285}
leveldb: Removed unnecessary ChromiumEnv::HasTableExtension
Review URL: https://codereview.chromium.org/733483004
Cr-Commit-Position: refs/heads/master@{#307284}
Include chrome_elf pdb in chrome-win32-syms.zip
BUG=http://crosbug.com/p/23889
[email protected]
Review URL: https://codereview.chromium.org/768913003
Cr-Commit-Position: refs/heads/master@{#307283}
Add presubmit to ensure GN formatting
Check added here: https://codereview.chromium.org/779513005/
[email protected]
BUG=348474
Review URL: https://codereview.chromium.org/779383004
Cr-Commit-Position: refs/heads/master@{#307282}
gn format // regressions
Presubmit added here: https://codereview.chromium.org/779383004/.
[email protected], [email protected]
BUG=348474
Review URL: https://codereview.chromium.org/755143005
Cr-Commit-Position: refs/heads/master@{#307281}
Fixing error checking of PathService::Get.
The return value of PathService::Get was being checked with the FAILED()
macro which is intended for use with HRESULT return types. Because
PathService::Get returns a bool and FAILED treats all non-negative
numbers as success, failures will never be detected.
This was found by VC++'s /analyze which said:
src\cloud_print\virtual_driver\win\install\setup.cc(510) : warning C6215:
Cast between semantically different integer types: a Boolean type to
HRESULT.
The original bug was introduced
by https://chromiumcodereview.appspot.com/11876005
BUG=427616
Review URL: https://codereview.chromium.org/740463006
Cr-Commit-Position: refs/heads/master@{#307280}
Fix uninit layout and type in current_use_info_ used in EnsureLoggedInUserWallpaperLoaded
BUG=438277
Review URL: https://codereview.chromium.org/779223008
Cr-Commit-Position: refs/heads/master@{#307279}
Package libc++.so together with the ASanified Chrome build.
BUG=None
[email protected]
Review URL: https://codereview.chromium.org/772953003
Cr-Commit-Position: refs/heads/master@{#307278}
Chromecast: adds media::Renderer implementation for CMA pipeline.
BUG=408189
Review URL: https://codereview.chromium.org/750683003
Cr-Commit-Position: refs/heads/master@{#307277}
bookmarks: Only try to get favicon for URL nodes.
Rearrange the logic to simplify it. And do it in terms of node's type.
Also, it seems better to only call BookmarkModel's GetFavicon function on
BookmarkNode URLs as we don't set favicon for folders.
BUG=None
TEST=open chrome, bookmark some pages, create some folders, drag them
in-and-out around, no regressions should be observed.
[email protected]
Review URL: https://codereview.chromium.org/763903003
Cr-Commit-Position: refs/heads/master@{#307276}
Fix compilation error for android cast_shell.
BUG=
[email protected],[email protected]
Review URL: https://codereview.chromium.org/787673002
Cr-Commit-Position: refs/heads/master@{#307275}
Don't key client auth on HttpNetworkSession.
It's an IO-thread object being maintained (fortunately just as a pointer) on
the UI thread. It's used to tie together SSLClientAuthObserver instances, but
the BrowserContext is a more suitable UI thread key.
This relands part of https://codereview.chromium.org/596873002
BUG=439134
Review URL: https://codereview.chromium.org/780383002
Cr-Commit-Position: refs/heads/master@{#307274}
Don't handle DCHECK failure in geofencing code.
BUG=383125
Review URL: https://codereview.chromium.org/754023004
Cr-Commit-Position: refs/heads/master@{#307273}
Fix closure compiler errors in options.
BUG=none
GYP_GENERATORS=ninja gyp --depth . third_party/closure_compiler/compiled_resources.gyp && ninja -C out/Default
Review URL: https://codereview.chromium.org/782233002
Cr-Commit-Position: refs/heads/master@{#307272}
Sending of unsupported URLs using Google Feedback.
Send a feedback when user allows to send url in "Allow to collect URL?" bubble.
BUG=435080
[email protected]
Review URL: https://codereview.chromium.org/752003007
Cr-Commit-Position: refs/heads/master@{#307271}
Push API: Store push registration IDs for GetRegistration etc
Tests will be added by the use-case patches enabled by this, e.g. when
GetRegistration (https://crbug.com/401422) is implemented, it will come
with tests ensuring that the registration is properly stored.
BUG=429212
Review URL: https://codereview.chromium.org/758403003
Cr-Commit-Position: refs/heads/master@{#307270}
Roll src/third_party/skia b9bb38c:999f5e7
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/b9bb38c..999f5e7
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/777423005
Cr-Commit-Position: refs/heads/master@{#307269}
Update chromite dependency to 5c90dcce.
BUG=439525
[email protected]
Review URL: https://codereview.chromium.org/788523002
Cr-Commit-Position: refs/heads/master@{#307268}
Add ServiceWorkerCacheStorage::Match functionality.
This adds the browser side of the CacheStorage::Match functionality from https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#cache-storage-match.
Downstream of: https://codereview.chromium.org/776283002
The Blink side: https://codereview.chromium.org/779993002
BUG=438218
Review URL: https://codereview.chromium.org/777543003
Cr-Commit-Position: refs/heads/master@{#307267}
Properly handle defers loading in WebURLLoaderImpl for data uris
BUG=418116
Review URL: https://codereview.chromium.org/771593006
Cr-Commit-Position: refs/heads/master@{#307266}
Roll src/third_party/WebKit dcd27fc:a259d44 (svn 186700:186704)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/dcd27fc..a259d44
[email protected],[email protected]
Review URL: https://codereview.chromium.org/783993002
Cr-Commit-Position: refs/heads/master@{#307265}
[DevTools] Eliminated use of DeepCopy in DevToolsProtocol in chrome
BUG=
Review URL: https://codereview.chromium.org/755173003
Cr-Commit-Position: refs/heads/master@{#307264}
Revert of Allow RunShellCommand to work even with very large commands (patchset #6 id:100001 of https://codereview.chromium.org/751063002/)
Reason for revert:
Broke provision_devices on android perf bots
Original issue's description:
> Allow RunShellCommand to work even with very large commands
>
> Currently RunShellCommand may not work if the command passed to
> adb.Shell is too large (e.g. > 1024). This CL addresses this
> issue, allowing to run even very large commands, by first writing
> the command as a shell script and then running it.
>
> BUG=436133
>
> Committed: https://crrev.com/b35110e91edb38ec81c84e188b35012492bbcc28
> Cr-Commit-Position: refs/heads/master@{#307223}
[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=436133,439953
Review URL: https://codereview.chromium.org/773043005
Cr-Commit-Position: refs/heads/master@{#307263}
ChildAccountService: Properly clear custodian prefs
BUG=
Review URL: https://codereview.chromium.org/786783002
Cr-Commit-Position: refs/heads/master@{#307262}
Update supervision indication for child accounts.
Mocks at https://folio.googleplex.com/chrome-ux/mocks/202-playpen/supervision-indication
This CL changes the following UI for child accounts:
- Label in profile list ("Supervised" -> "Child")
- Icon and disclaimer text in the avatar menu
- Remove the "(Supervised)" text in the avatar button
- Icon in the user manager
It also removes the restriction that the profile name may not be changed.
TBRing since this has already been reviewed at https://chromereviews.googleplex.com/108217013/
[email protected]
[email protected]
[email protected]
[email protected]
BUG=427435
Review URL: https://codereview.chromium.org/768113003
Cr-Commit-Position: refs/heads/master@{#307261}
[chromedriver] Disable ChromeDriverTest.testSwitchToParentFrame on chromedriver_webview_shell
BUG=chromedriver:994
[email protected]
NOTRY=true
Review URL: https://codereview.chromium.org/722243003
Cr-Commit-Position: refs/heads/master@{#307260}
Migrate DeviceUtils.PullFile to adb_wrapper
The implementation follows what android_testrunner.adb_interface used
to do and, if needed, first creates the directory of the destination
host_path. The pull itself is done by adb.Pull, which will complain
if the operation fails (source file does not exist, destination is
not writable).
BUG=267773
Review URL: https://codereview.chromium.org/776243003
Cr-Commit-Position: refs/heads/master@{#307259}
Roll src/third_party/skia d3d1a98:b9bb38c
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/d3d1a98..b9bb38c
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/788653002
Cr-Commit-Position: refs/heads/master@{#307258}
<webview>: Moved parseSrcAttribute() into the SrcAttribute object as parse().
This is a more obvious place for this function since it is specifically associated with webview's src attribute.
BUG=431002
Review URL: https://codereview.chromium.org/785553002
Cr-Commit-Position: refs/heads/master@{#307257}
Roll src/third_party/WebKit 342b5c0:dcd27fc (svn 186698:186700)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/342b5c0..dcd27fc
[email protected],[email protected]
Review URL: https://codereview.chromium.org/773083005
Cr-Commit-Position: refs/heads/master@{#307256}
DevTools: Add V8 sampling profiler thread.
Once v8_cpu_profiling tracing category is enabled the sampling thread will start perform actions with given frequency.
Upcoming patch(es) will extract running threads: main and workers, obtain their v8 Isolates and make use of V8 GetStackSample API to obtain samples.
Every sample along with necessary meta info is going to be stored in the tracing log.
BUG=406277
Review URL: https://codereview.chromium.org/766653003
Cr-Commit-Position: refs/heads/master@{#307255}
Remove gestureScrollUpdateWithoutPropagation from eventSender.
The namesake event type is removed from Blink and this function is not longer
used in layout tests.
For more info see: http://crrev.com/732483003
BUG=416596
Review URL: https://codereview.chromium.org/776063002
Cr-Commit-Position: refs/heads/master@{#307254}
Re-enable globals instrumentation under ASan on Mac.
The corresponding bug in ASan has been fixed in March 2014.
BUG=352073
[email protected]
Review URL: https://codereview.chromium.org/740663003
Cr-Commit-Position: refs/heads/master@{#307253}
VideoCaptureController: some cleanup, added more thread checks.
- Renamed method NewDeviceClient() -> CreateDeviceClient()
since is a factory-type method.
- Using auto and range based loops.
- Reordered the definition of methods to reflect class declaration.
- Added ThreadChecker to VCC:VideoCaptureDeviceClient.
- A few checks on VCC of being in IO thread.
Review URL: https://codereview.chromium.org/787473002
Cr-Commit-Position: refs/heads/master@{#307252}
Adds flag --enable-new-qp-input-view for developing the materia design style of input view keyboard.
BUG=422869
Review URL: https://codereview.chromium.org/775283003
Cr-Commit-Position: refs/heads/master@{#307251}
Introduce new API Language() to test lang attribute that is properly reported.
Added required methods to test it.
BUG=none
Review URL: https://codereview.chromium.org/773133009
Cr-Commit-Position: refs/heads/master@{#307250}
Add Profile::IsChild and IsLegacySupervised
Equivalent to the ProfileInfoCache methods added in https://codereview.chromium.org/777993003/
TBRing noms since she's already reviewed this at https://chromereviews.googleplex.com/107287013/
[email protected]
Also TBRing trivial changes in fake_profile and testing_profile.
[email protected]
[email protected]
BUG=372381
Review URL: https://codereview.chromium.org/753743009
Cr-Commit-Position: refs/heads/master@{#307249}
Revert of Cleaning up MruWindowTracker::BuildWindowList() (patchset #1 id:1 of https://codereview.chromium.org/786513003/)
Reason for revert:
I don't see why this would cause any problems, it looks like a purely aesthetic, yet this is the only Ash related CL in the regression range [1] for ever-failing Win8 Aura [2] and Win7(dbg) ash_unittests since these commits.
(the test failures seem to be timing out with no output, weird... I'll check this back in if the revert doesn't help...)
[1] https://chromium.googlesource.com/chromium/src/+log/8e72e1d6c13fa6a4cf2859ac6e209be4546bb50d..00df169a990ea09d488f1c13ec0293fc11d7992e?pretty=fuller
[2]http://build.chromium.org/p/chromium.win/builders/Win8%20Aura
Failing tests:
ToggleMinimized
WindowDockLeftMinimizeWindowWithRestore
WindowPanelDockLeftDockRightRestore
WindowSnapLeftDockLeftRestore
WindowSnapLeftDockLeftSnapRight
WindowSnapRightDockRightRestore
EventsDoNotLeakToWindowUnderneath
Basic
MinimizedWindowsAreLru
GestureSwipe
SwipeUpDownWithoutReleasing
VerticalSwipes
PanelsHideAndRestoreWithShelf
AcceleratorsWithFullscreen
WorkAreaChangeWorkspace
AlwaysOnTopMultiWindow
AlwaysOnTopWindow
CycleMruPanelDestroyed
CyclePanels
CyclePanelsDestroyed
HandleCycleWindow
MaximizedWindow
MostRecentlyUsed
SelectingHidesAppList
SecondMaximizedWindowHasProperRestoreSize
ActivationCancelsOveriew
Basic
BasicGesture
BasicTabKeyNavigation
BasicTextFiltering
CloseButton
CloseButtonOnPanels
CreateLabelUnderPanel
FullscreenWindow
FullscreenWindowMaximizeMode
LastWindowDestroyed
NewWindowCancelsOveriew
NoCrashWithDesktopTap
NonActivatableWindowsHidden
SelectWindowWithReturnKey
SelectingHidesAppList
Shutdown
TextFilteringSelection
WindowOverviewHidesCalloutWidgets
AnimatedNormToMaxToNormRepositionsRemaining
AutoPlacingMovesTransientChild
BasicAutoPlacingOnShowHide
NormToMaxToMinRepositionsRemaining
NormToMaxToNormRepositionsRemaining
ShelfStateUpdated
TestSingleWindowsRestoredBounds
TestUserHandledWindowRestore
TestUserMovedWindowRepositioning
ToMinimizeRepositionsRemaining
Original issue's description:
> Cleaning up MruWindowTracker::BuildWindowList()
>
> Removing the top_most_at_end parameter which was always set to false and
> was never used.
>
> [email protected]
> BUG=None
>
> Committed: https://crrev.com/f3848eee6c17acc74543c803bcea7ea542e13cbc
> Cr-Commit-Position: refs/heads/master@{#307135}
[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=None
Review URL: https://codereview.chromium.org/790503003
Cr-Commit-Position: refs/heads/master@{#307248}
clear is no longer called, so removing it
BUG=
Review URL: https://codereview.chromium.org/768013002
Cr-Commit-Position: refs/heads/master@{#307247}
PushMessagingService.PushEndpoint should have a "Get" prefix.
[email protected]
BUG=
Review URL: https://codereview.chromium.org/783933003
Cr-Commit-Position: refs/heads/master@{#307246}
Standardize source list variable naming in chrome_browser.gypi
Some variables use ...qualifier_feature_sources as names, other
use ...feature_qualifier_sources. This standardizes on the latter,
so that they can be grouped without breaking the flow of
the alphabetization that will be introduced in future CLs.
BUG=439765
Review URL: https://codereview.chromium.org/784673003
Cr-Commit-Position: refs/heads/master@{#307245}
Remove obsolete iOS version checks
BUG=402922
Review URL: https://codereview.chromium.org/750193003
Cr-Commit-Position: refs/heads/master@{#307244}
Roll src/third_party/WebKit 04ff98e:342b5c0 (svn 186686:186698)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/04ff98e..342b5c0
[email protected],[email protected]
Review URL: https://codereview.chromium.org/780623003
Cr-Commit-Position: refs/heads/master@{#307243}
Remove PRODUCT_LOGO_26 from grit whitelist.
This asset is no longer used by iOS
BUG=426003
Review URL: https://codereview.chromium.org/751763007
Cr-Commit-Position: refs/heads/master@{#307242}
Roll src/third_party/skia f4e0d9e:d3d1a98
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/f4e0d9e..d3d1a98
CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
[email protected]
Review URL: https://codereview.chromium.org/790493002
Cr-Commit-Position: refs/heads/master@{#307241}
Enabling WebRTCDeviceProvider under enable-devtools-experiments flag
BUG=383418
Review URL: https://codereview.chromium.org/762903004
Cr-Commit-Position: refs/heads/master@{#307240}
Updating trunk VERSION from 2243.0 to 2244.0
Cr-Commit-Position: refs/heads/master@{#307239}
[Password manager] Remove temporary logging
This CL removes VLOGs added to investigate the referenced bug.
They are no longer needed.
BUG=423327
Review URL: https://codereview.chromium.org/784863002
Cr-Commit-Position: refs/heads/master@{#307238}
Roll src/third_party/WebKit 402c945:04ff98e (svn 186682:186686)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/402c945..04ff98e
[email protected],[email protected]
Review URL: https://codereview.chromium.org/786753002
Cr-Commit-Position: refs/heads/master@{#307237}
Making sure to flush room state, etc between apprtc runs.
BUG=webrtc:1788,webrtc:1667
[email protected]
Review URL: https://codereview.chromium.org/764033004
Cr-Commit-Position: refs/heads/master@{#307236}
Plumb persistent notification information through to the browser process.
This patch implements the Blink API for the ability to display persistent
notifciations, downloads any associated images and then sends the request
to the browser process, which NOTIMPLEMENTS() for now (but does respond
with did_show=false to settle the promise).
BUG=432527
Review URL: https://codereview.chromium.org/764803005
Cr-Commit-Position: refs/heads/master@{#307235}
Add the small icon used for Web Notifications on Android.
We decided to show a generic Notification bell icon for all notifications
shown through Chrome, which this lands the resources for.
BUG=431766, 90795
Review URL: https://codereview.chromium.org/777883002
Cr-Commit-Position: refs/heads/master@{#307234}
Make the sort order in thumbnail view always alphabetical.
Implemented sort related wrapper to ListContainer to fix the actual sort order
in thumbnail view in alphabetical order.
BUG=438915
TEST=sort files non-alphabetically in list view, change view to grid view, and confirm the sort order is alphabetical.
After that, change view to list view, and confirm that the first sort order is restored.
Review URL: https://codereview.chromium.org/755363004
Cr-Commit-Position: refs/heads/master@{#307233}
Supervised User block interstitial: change strings for child accounts
TBRing since this has already been reviewed at https://chromereviews.googleplex.com/104197013/
[email protected]
BUG=404671
Review URL: https://codereview.chromium.org/783103002
Cr-Commit-Position: refs/heads/master@{#307232}
Set error if dynamic content script is not encoded in UTF-8.
BUG=112081
TEST=browser_tests ExecuteScriptApiTest.ExecuteScriptBasic
[email protected]
Review URL: https://codereview.chromium.org/748423002
Cr-Commit-Position: refs/heads/master@{#307231}
Enable SafeSites (and static blacklist) filtering for all child accounts
TBRing since this has already been reviewed at https://chromereviews.googleplex.com/120357013/
[email protected]
BUG=417722
Review URL: https://codereview.chromium.org/775613006
Cr-Commit-Position: refs/heads/master@{#307230}
Add ProfileInfoCache::ProfileIsChild/IsLegacySupervisedAtIndex.
Make sure there is always a non-LegacySupervised profile (it's okay if there is only a child profile!)
TBRing since this has already been reviewed at https://chromereviews.googleplex.com/108027013/
[email protected]
[email protected]
BUG=372381
Review URL: https://codereview.chromium.org/777993003
Cr-Commit-Position: refs/heads/master@{#307229}
Don't sync SUPERVISED_USER_SHARED_SETTINGS for child accounts
TBRing since this has already been reviewed at https://chromereviews.googleplex.com/99967016/
[email protected]
BUG=425082
Review URL: https://codereview.chromium.org/780493004
Cr-Commit-Position: refs/heads/master@{#307228}
Add the small icon used for Web Notifications on Android (binary files).
We decided to show a generic Notification bell icon for all notifications
shown through Chrome, which this lands the resources for.
This patch contains the binary files of the following CL:
https://codereview.chromium.org/777883002/
[email protected]
BUG=431766, 90795
Review URL: https://codereview.chromium.org/790483002
Cr-Commit-Position: refs/heads/master@{#307227}
Remove data race suppressions for issue 290964, which is long fixed.
BUG=290964
[email protected]
NOTRY=true
Review URL: https://codereview.chromium.org/763333002
Cr-Commit-Position: refs/heads/master@{#307226}
Add a comment that says people should avoid using dynamic_annotations.h
BUG=349861
[email protected]
NOTRY=true
Review URL: https://codereview.chromium.org/783953002
Cr-Commit-Position: refs/heads/master@{#307225}
Roll src/third_party/WebKit 2abbccf:402c945 (svn 186669:186682)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/2abbccf..402c945
[email protected],[email protected]
Review URL: https://codereview.chromium.org/788633002
Cr-Commit-Position: refs/heads/master@{#307224}
Allow RunShellCommand to work even with very large commands
Currently RunShellCommand may not work if the command passed to
adb.Shell is too large (e.g. > 1024). This CL addresses this
issue, allowing to run even very large commands, by first writing
the command as a shell script and then running it.
BUG=436133
Review URL: https://codereview.chromium.org/751063002
Cr-Commit-Position: refs/heads/master@{#307223}
Add support for child accounts.
This CL adds a service to detect and handle child accounts (by configuring the SupervisedUserService), as well as a class that fetches information about the child's family.
TBRing since this has already been reviewed at https://chromereviews.googleplex.com/107687013/
[email protected]
[email protected]
BUG=372381
Review URL: https://codereview.chromium.org/783083002
Cr-Commit-Position: refs/heads/master@{#307222}
Refactor part of CompositorImpl::SetVisible() into its own method.
Add method CompositorImpl::CreateLayerTreeHost() and move part of
CompositorImpl::SetVisible() that creates LayerTreeHost into it.
BUG=
Review URL: https://codereview.chromium.org/782723002
Cr-Commit-Position: refs/heads/master@{#307221}
gpu: CopyTex(Sub)Image must not use BGRA internal format.
The extensions that add BGRA support add it as a valid parameter for
Tex(Sub)Image (EXT_texture_format_BGRA8888), and for ReadPixels
(EXT_read_format_bgra), but not for CopyTex(Sub)Image. There's no support for
copying from a BGRA buffer to a BGRA texture in any current extension.
BUG=438691
Review URL: https://codereview.chromium.org/778123002
Cr-Commit-Position: refs/heads/master@{#307220}
Flush on completion of copying.
The COPY_SYNC_OPTION_SYNC flag was missing when registering FSP file systems.
As a result, when copying between file systems the last chunk could be lost.
TEST=Tested manually in Files app.
BUG=439830
Review URL: https://codereview.chromium.org/778103003
Cr-Commit-Position: refs/heads/master@{#307219}
Upstream iOS web API.
This CL upstreams NavigationManager, WebState and
WebStateUserData to match the downstream code.
Review URL: https://codereview.chromium.org/777183002
Cr-Commit-Position: refs/heads/master@{#307218}
Remove unused extension files.
BUG=302083
Review URL: https://codereview.chromium.org/785803002
Cr-Commit-Position: refs/heads/master@{#307217}
Roll src/third_party/WebKit 52bb56a:2abbccf (svn 186668:186669)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/52bb56a..2abbccf
TBR=
Review URL: https://codereview.chromium.org/769153006
Cr-Commit-Position: refs/heads/master@{#307216}
Disable CompositingRenderWidgetHostViewBrowserTest.CopyTwice, which fails consistently
on a number of bots.
BUG=439834
[email protected],[email protected]
NOTRY=true
Review URL: https://codereview.chromium.org/788623002
Cr-Commit-Position: refs/heads/master@{#307215}
cc: zero/one-copy based on shared memory on IOS uses GL_TEXTURE_2D, not GL_TEXTURE_RECTANGLE_ARB.
GL_TEXTURE_RECTANGLE_ARB is needed for only IOSurface backed images like GL_TEXTURE_EXTERNAL_OES
is needed for only surface texture backed images on Android. Replace switches::kUseImageExternal
with switches::kUseImageTextureTarget in order to let cc know what is proper texture target backed image.
Review URL: https://codereview.chromium.org/766663005
Cr-Commit-Position: refs/heads/master@{#307214}
Do not call GenerateCacheKey() if disk cache is disabled.
BUG=
Review URL: https://codereview.chromium.org/761763003
Cr-Commit-Position: refs/heads/master@{#307213}
Automated Commit: Committing new LKGM version 6554.0.0 for chromeos.
Cr-Commit-Position: refs/heads/master@{#307212}
Remove using namespace in net/quic/quic_stream_sequencer.h
Using namespace in a header file is very dangerous since then by
including that header in another file I will get the namespace
imported into that file as well, so remove that usage and modify
related files.
BUG=None
TEST=build all target
Review URL: https://codereview.chromium.org/763833003
Cr-Commit-Position: refs/heads/master@{#307211}
Roll src/third_party/WebKit 162a259:52bb56a (svn 186663:186668)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/162a259..52bb56a
TBR=
Review URL: https://codereview.chromium.org/785433004
Cr-Commit-Position: refs/heads/master@{#307210}
Split FileManagerPrivateGetStringsFunction::RunSync()
To silence a compiler note caused by
FileManagerPrivateGetStringsFunction::RunSync(), being very big:
../../chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc: In member function 'virtual bool extensions::FileManagerPrivateGetStringsFunction::RunSync()':
../../chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc:65:6: note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without
The compiler note is now gone with this splitting change.
TEST=ninja -C out_squawks/Release -j500 chrome => the compiler note is gone
BUG=438921
Review URL: https://codereview.chromium.org/784833002
Cr-Commit-Position: refs/heads/master@{#307209}
Remove me from Files.app watchlist
BUG=none
TEST=none
[email protected]
Review URL: https://codereview.chromium.org/784503003
Cr-Commit-Position: refs/heads/master@{#307208}
Files.app: Change blocking time of hard-unplugged notification.
Previously hard unplugged notification was blocked for 5 seconds since the
device is resumed because unmount event comes from the devices due to power off
and we cannot tell the unmount events from actual hard-unplugged.
Accroding to UMA, the peak of the hard-unplugged events is 5 seconds since the
device is resumed. So previous blocking time (5 secs) is not enought to block
all fake hard unplugged events.
The CL changes the blocking time from 5 secs to 10 secs.
BUG=432497
TEST=None
Review URL: https://codereview.chromium.org/769053003
Cr-Commit-Position: refs/heads/master@{#307207}
Roll src/third_party/WebKit 055dd5d:162a259 (svn 186661:186663)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/055dd5d..162a259
TBR=
Review URL: https://codereview.chromium.org/789463002
Cr-Commit-Position: refs/heads/master@{#307206}
Sort string IDs used in Files.app and friends.
This is in preparation for splitting
FileManagerPrivateGetStringsFunction::RunSync() which is about 500
lines now.
FWIW this patch was created as follows:
1) Make SET_STRING() and SetString() calls one-liners by keyboard macros
2) Sort them by M-sort -lines from emacs
3) Relocate comments
4) Manually group the FILE_TYPE stuff
5) Use clang-format to reformat
BUG=438921
TEST=Files.app works as before.
Review URL: https://codereview.chromium.org/787573003
Cr-Commit-Position: refs/heads/master@{#307205}
Remove timing limitation to set Broadcast, ReceiveBuffer, and SendBuffer options from UDPSocket.
Currently, we have timing limitation to set these options.
This CL splits Open() from Connect() and Bind(), so that those options can be set anytime after Open().
This is the preparation to remove the same limitation from PPAPI's socket APIs.
BUG=425563, 420697
TEST=Ran trybots.
Review URL: https://codereview.chromium.org/721273002
Cr-Commit-Position: refs/heads/master@{#307204}
Roll src/third_party/WebKit a15f36d:055dd5d (svn 186654:186661)
Summary of changes available at:
https://chromium.googlesource.com/chromium/blink/+log/a15f36d..055dd5d
TBR=
Review URL: https://codereview.chromium.org/789453002
Cr-Commit-Position: refs/heads/master@{#307203}