- 22 Oct, 2014 40 commits
-
-
yoav authored
Following https://codereview.chromium.org/649183007/ , I've updated the histograms file on the Chrome side. Review URL: https://codereview.chromium.org/663393002 Cr-Commit-Position: refs/heads/master@{#300638}
-
yurys authored
Revert of Add gclient hook to download prebuilt mojo_shell (patchset #7 id:120001 of https://codereview.chromium.org/667853002/) Reason for revert: gclient sync fails to execute download_shell_binary.py Original issue's description: > Add gclient hook to download prebuilt mojo_shell > > This adds a gclient hook that downloads prebuilt mojo_shell binaries > from google storage (linux only for now) and gyp/gn flags to toggle > using these prebuilt binaries instead of ones built from source. This > also adds a helper script that uploads a locally built mojo_shell binary > to the appropriate place in google storage. The versioning scheme is: > > *) mojo/public/VERSION contains an identifier (committish currently) for > the mojo public SDK. The mojo_shell binary must match the interfaces > defined in this version of mojo/public/. > > *) gs://mojo/shell/$VERSION/$PLATFORM.zip contains a prebuilt mojo_shell > binary for a particular version. $PLATFORM for now must be linux-x64, > but we can add more later as needed. > > gclient runhooks downloads the shell binary referred to by > mojo/public/VERSION if it is available for the host platform to > mojo/public/tools/prebuilt/ and updates mojo/public/tools/prebuilt/VERSION > to tag the version downloaded if successful. On subsequent runs the hook > will check this against mojo/public/VERSION and avoid downloading again if > the binary is up to date. > > This also adds variables to the GYP and GN builds that control if building > 'mojo' builds a mojo_shell binary from source or copies the prebuilt binary > into the outdir. They both default to false for now. > > R=abarth@chromium.org > > Committed: https://crrev.com/e098527822f3e25fb5b86c1441f7ce6e4c2cfdc8 > Cr-Commit-Position: refs/heads/master@{#300600} TBR=abarth@chromium.org,jamesr@chromium.org NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/670073002 Cr-Commit-Position: refs/heads/master@{#300637}
-
ajith.v authored
Insertion handle is showing when we long press on readonly input elements, which is not correct. This change takes care of correcting it by counter measuring inside isEditableNode() API. BUG= Review URL: https://codereview.chromium.org/660343003 Cr-Commit-Position: refs/heads/master@{#300636}
-
Viet-Trung Luu authored
Also some #include fixes (from OVERRIDE -> override conversion). BUG=417463 TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/643063004 Cr-Commit-Position: refs/heads/master@{#300635}
-
https://codereview.chromium.org/672513002/John Abd-El-Malek authored
TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/664773004 Cr-Commit-Position: refs/heads/master@{#300634}
-
mdempsky authored
Also remove the superfluous "to" field in PolicyCompiler::Range, and fix the next-syscall-number calculation so we can remove the loop in SyscallIterator::operator++() (nee SyscallIterator::Next()). BUG=414363 Review URL: https://codereview.chromium.org/659723002 Cr-Commit-Position: refs/heads/master@{#300633}
-
ksakamoto authored
This test involves interactions with SimpleCache's worker thread, so we cannot guarantee task completion by simply calling RunLoop().RunUntilIdle(). TestCompletionCallback waits until the callback is called. For purging, there is no completion callback so poll is_purge_pending_ flag and call RunUntilIdle() repeatedly. BUG=387045 TEST=content_unittests --gtest-filter=ServiceWorkerResourceStorageDiskTest.* Review URL: https://codereview.chromium.org/657023012 Cr-Commit-Position: refs/heads/master@{#300632}
-
thestig authored
BUG=424746 Review URL: https://codereview.chromium.org/667483004 Cr-Commit-Position: refs/heads/master@{#300631}
-
tfarina authored
BUG=395370 TEST=None TBR=ben@chromium.org Review URL: https://codereview.chromium.org/636283007 Cr-Commit-Position: refs/heads/master@{#300630}
-
thestig authored
Also fix passing by non-const reference in chromedriver. Review URL: https://codereview.chromium.org/635623003 Cr-Commit-Position: refs/heads/master@{#300629}
-
hirono authored
Previously ui::SelectedFileInfo's constructor has a fallback to use the file path instead of an emtpy local path. But this fallback can assign non-native paths like '/special/drive/xxx' to local_path variable when the file does not have a snapshot. The CL removes the fallback, and modify the default behavior of FileSelectDialog::Lister so that it routes an empty local_path to file_path. BUG=126902 TEST=manually Review URL: https://codereview.chromium.org/666693004 Cr-Commit-Position: refs/heads/master@{#300628}
-
skia-deps-roller authored
Summary of changes available at: https://chromium.googlesource.com/skia/+log/183e985..b4384b9 CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg TBR=mtklein@google.com Review URL: https://codereview.chromium.org/665983005 Cr-Commit-Position: refs/heads/master@{#300627}
-
hendrikw authored
PictureLayerImpl * Rerasterize on every animated frame * pass animated flag to picture pile PicturePileImpl * Store has_transform_animated, used as a transport to get data to GPU's RasterBufferImpl ResourceProvider * Provide a method to recreate the surface with the correct dff flag. * Provide a method in the lock to set the dff setting * This has the side effect that the surface may be created twice for a new animated layer, but surface creation is cheap, I don't see this as a huge issue RasterBufferImpl * In playback, call the method on the lock to assign the dff setting that comes from the picture pile. BUG=372391 Review URL: https://codereview.chromium.org/648293006 Cr-Commit-Position: refs/heads/master@{#300626}
-
bokan authored
In the current method of pinch-zoom, position: fixed elements stick to the visual viewport (i.e. the screen). This means when the user pinch zooms in, the viewport gets smaller so the fixed layers attached to the right and bottom need an adjustment to keep them fixed to the screen. In the new virtual viewport mode, the fixed elements stick to the layout viewport, which doesn't change under scale so we no longer need to scale this adjustment. Additionally, the adjustment that previously came from pinch zooming is not needed at all. BUG=420277 Review URL: https://codereview.chromium.org/646623003 Cr-Commit-Position: refs/heads/master@{#300625}
-
tfarina authored
This will replace 'ui_unittests' soon. BUG=331829, 373148, 299841, 103304 TEST=None R=glider@chromium.org,timurrrr@chromium.org Review URL: https://codereview.chromium.org/645143003 Cr-Commit-Position: refs/heads/master@{#300624}
-
dcheng authored
The Google C++ style guide states: Explicitly annotate overrides of virtual functions or virtual destructors with an override or (less frequently) final specifier. Older (pre-C++11) code will use the virtual keyword as an inferior alternative annotation. For clarity, use exactly one of override, final, or virtual when declaring an override. To better conform to these guidelines, the following constructs have been rewritten: - if a base class has a virtual destructor, then: virtual ~Foo(); -> ~Foo() override; - virtual void Foo() override; -> void Foo() override; - virtual void Foo() override final; -> void Foo() final; This patch was automatically generated. The clang plugin can generate fixit hints, which are suggested edits when it is 100% sure it knows how to fix a problem. The hints from the clang plugin were applied to the source tree using the tool in https://codereview.chromium.org/598073004. Several formatting edits by clang-format were manually reverted, due to mangling of some of the more complicate IPC macros. BUG=417463 R=agl@chromium.org Review URL: https://codereview.chromium.org/666493005 Cr-Commit-Position: refs/heads/master@{#300623}
-
hush authored
To enable data reduction proxy on the commandline, you need: build/android/adb_android_webview_command_line --enable-spdy-proxy-auth --spdy-proxy-auth-value=[your real key] BUG= Review URL: https://codereview.chromium.org/664243003 Cr-Commit-Position: refs/heads/master@{#300622}
-
hans authored
It has a virtual method and is derived from by PEImageAsData. Clang would warn about it not having a virtual destructor when used in a delete expression in module_integrity_verifier_win_unittest.cc. Suppress the benign warning about the destructor not being called during SEH unwinding. BUG=82385 Review URL: https://codereview.chromium.org/667573009 Cr-Commit-Position: refs/heads/master@{#300621}
-
Viet-Trung Luu authored
BUG=417463 R=brettw@chromium.org Review URL: https://codereview.chromium.org/658563010 Cr-Commit-Position: refs/heads/master@{#300620}
-
estade authored
BUG=425256 Review URL: https://codereview.chromium.org/668123002 Cr-Commit-Position: refs/heads/master@{#300619}
-
kcarattini authored
Updates the UI button text to reflect the latest mocks. BUG=390086 Review URL: https://codereview.chromium.org/669603007 Cr-Commit-Position: refs/heads/master@{#300618}
-
dcheng authored
The Google C++ style guide states: Explicitly annotate overrides of virtual functions or virtual destructors with an override or (less frequently) final specifier. Older (pre-C++11) code will use the virtual keyword as an inferior alternative annotation. For clarity, use exactly one of override, final, or virtual when declaring an override. To better conform to these guidelines, the following constructs have been rewritten: - if a base class has a virtual destructor, then: virtual ~Foo(); -> ~Foo() override; - virtual void Foo() override; -> void Foo() override; - virtual void Foo() override final; -> void Foo() final; This patch was automatically generated. The clang plugin can generate fixit hints, which are suggested edits when it is 100% sure it knows how to fix a problem. The hints from the clang plugin were applied to the source tree using the tool in https://codereview.chromium.org/598073004. BUG=417463 R=dewittj@chromium.org Review URL: https://codereview.chromium.org/667283002 Cr-Commit-Position: refs/heads/master@{#300617}
-
vadimt authored
Mechanical change that adds instrumentation required to locate the source of jankiness (i.e. a long-running fragment of code executed as a part of the task that causes jank) in the code. See the bug for details on what kind of jank we are after. A number of similar CLs were landed, and none of them caused issues. They've helped to find and fix janky code. The code of the instrumentation is highly optimized and is not expected to affect performance. The code simply creates a diagnostic task which is identical to ones created by PostTask or IPC message handlers. Landing as TBR since this is a mechanical, safe and temporary change. BUG=425814 TBR=rdsmith@chromium.org Review URL: https://codereview.chromium.org/673513002 Cr-Commit-Position: refs/heads/master@{#300616}
-
sgurun authored
Move PostMessageToFrame method from ContentViewCore to WebContentsAndroid which is a more suitable location. BUG=393291 Review URL: https://codereview.chromium.org/649933006 Cr-Commit-Position: refs/heads/master@{#300615}
-
jbudorick authored
Recipes interprets all nonzero exit codes as errors. BUG=424587 Review URL: https://codereview.chromium.org/651833004 Cr-Commit-Position: refs/heads/master@{#300614}
-
hush authored
WebView does not gather data_reduction_proxy related statistics at the moment. WebView's statistics object writes the data to pref service which does not upload the data to anywhere. BUG=b/17998706 Review URL: https://codereview.chromium.org/651443005 Cr-Commit-Position: refs/heads/master@{#300613}
-
wtc authored
Fix the DCHECK in ValidateLayout for symmetric channel layouts. Add 'const' to methods that don't mutate class members. Include "base/macros.h" for the DISALLOW_COPY_AND_ASSIGN macro. R=dalecurtis@chromium.org Review URL: https://codereview.chromium.org/645853011 Cr-Commit-Position: refs/heads/master@{#300612}
-
viettrungluu authored
(These aren't built on Mac, only on Linux, hence were missed.) BUG=417463 R=thestig@chromium.org Review URL: https://codereview.chromium.org/670013002 Cr-Commit-Position: refs/heads/master@{#300611}
-
dcheng authored
The Google C++ style guide states: Explicitly annotate overrides of virtual functions or virtual destructors with an override or (less frequently) final specifier. Older (pre-C++11) code will use the virtual keyword as an inferior alternative annotation. For clarity, use exactly one of override, final, or virtual when declaring an override. To better conform to these guidelines, the following constructs have been rewritten: - if a base class has a virtual destructor, then: virtual ~Foo(); -> ~Foo() override; - virtual void Foo() override; -> void Foo() override; - virtual void Foo() override final; -> void Foo() final; This patch was automatically generated. The clang plugin can generate fixit hints, which are suggested edits when it is 100% sure it knows how to fix a problem. The hints from the clang plugin were applied to the source tree using the tool in https://codereview.chromium.org/598073004. BUG=417463 R=sky@chromium.org Review URL: https://codereview.chromium.org/666673010 Cr-Commit-Position: refs/heads/master@{#300610}
-
dcheng authored
The Google C++ style guide states: Explicitly annotate overrides of virtual functions or virtual destructors with an override or (less frequently) final specifier. Older (pre-C++11) code will use the virtual keyword as an inferior alternative annotation. For clarity, use exactly one of override, final, or virtual when declaring an override. To better conform to these guidelines, the following constructs have been rewritten: - if a base class has a virtual destructor, then: virtual ~Foo(); -> ~Foo() override; - virtual void Foo() override; -> void Foo() override; - virtual void Foo() override final; -> void Foo() final; This patch was automatically generated. The clang plugin can generate fixit hints, which are suggested edits when it is 100% sure it knows how to fix a problem. The hints from the clang plugin were applied to the source tree using the tool in https://codereview.chromium.org/598073004. BUG=417463 R=scheib@chromium.org Review URL: https://codereview.chromium.org/666213002 Cr-Commit-Position: refs/heads/master@{#300609}
-
nasko authored
BUG= Review URL: https://codereview.chromium.org/667023004 Cr-Commit-Position: refs/heads/master@{#300608}
-
sullivan authored
BUG= Review URL: https://codereview.chromium.org/669733009 Cr-Commit-Position: refs/heads/master@{#300607}
-
dcheng authored
The Google C++ style guide states: Explicitly annotate overrides of virtual functions or virtual destructors with an override or (less frequently) final specifier. Older (pre-C++11) code will use the virtual keyword as an inferior alternative annotation. For clarity, use exactly one of override, final, or virtual when declaring an override. To better conform to these guidelines, the following constructs have been rewritten: - if a base class has a virtual destructor, then: virtual ~Foo(); -> ~Foo() override; - virtual void Foo() override; -> void Foo() override; - virtual void Foo() override final; -> void Foo() final; This patch was automatically generated. The clang plugin can generate fixit hints, which are suggested edits when it is 100% sure it knows how to fix a problem. The hints from the clang plugin were applied to the source tree using the tool in https://codereview.chromium.org/598073004. BUG=417463 R=dmazzoni@chromium.org Review URL: https://codereview.chromium.org/661423008 Cr-Commit-Position: refs/heads/master@{#300606}
-
Chris Palmer authored
BUG=394993 TBR=felt Review URL: https://codereview.chromium.org/667023005 Cr-Commit-Position: refs/heads/master@{#300605}
-
alexmos authored
When a new cross-site frame is created, RFHM::CreateProxiesForSiteInstance walks the frame tree and creates proxies for the new frame in other nodes' SiteInstances. This traversal currently hits this CHECK in RFHM::CreateRenderFrameProxy in cases where the new frame is added to a SiteInstance that already has other frames: CHECK_NE(instance, render_frame_host_->GetSiteInstance()); For example, if site A embeds two frames, B1 and B2, both pointing to site B, we hit this when we are visiting B1's frame tree node to create a proxy for B2, since B2's and B1's SiteInstance is the same. This CL ensures that we aren't trying to create a proxy at frame tree nodes that share the new frame's SiteInstance. BUG=None Review URL: https://codereview.chromium.org/660083003 Cr-Commit-Position: refs/heads/master@{#300604}
-
qyearsley authored
BUG= Review URL: https://codereview.chromium.org/667453004 Cr-Commit-Position: refs/heads/master@{#300603}
-
aa authored
Review URL: https://codereview.chromium.org/656583006 Cr-Commit-Position: refs/heads/master@{#300602}
-
jamesr authored
These targets are being developed canonically in the mojo repo and tested there, no reason to run the tests in the chromium repo. The mojo tests that should run in the chomium repository are: mojo_public_* - the mojo SDK tests mojo_system_unittests - mojo EDK tests mojo_common_unittests - tests for mojo<->chromium glue mojo_*_js_unittests - mojo JS bindings tests, which is being developed in chromium. R=sky@chromium.org Review URL: https://codereview.chromium.org/656423003 Cr-Commit-Position: refs/heads/master@{#300601}
-
jamesr authored
This adds a gclient hook that downloads prebuilt mojo_shell binaries from google storage (linux only for now) and gyp/gn flags to toggle using these prebuilt binaries instead of ones built from source. This also adds a helper script that uploads a locally built mojo_shell binary to the appropriate place in google storage. The versioning scheme is: *) mojo/public/VERSION contains an identifier (committish currently) for the mojo public SDK. The mojo_shell binary must match the interfaces defined in this version of mojo/public/. *) gs://mojo/shell/$VERSION/$PLATFORM.zip contains a prebuilt mojo_shell binary for a particular version. $PLATFORM for now must be linux-x64, but we can add more later as needed. gclient runhooks downloads the shell binary referred to by mojo/public/VERSION if it is available for the host platform to mojo/public/tools/prebuilt/ and updates mojo/public/tools/prebuilt/VERSION to tag the version downloaded if successful. On subsequent runs the hook will check this against mojo/public/VERSION and avoid downloading again if the binary is up to date. This also adds variables to the GYP and GN builds that control if building 'mojo' builds a mojo_shell binary from source or copies the prebuilt binary into the outdir. They both default to false for now. R=abarth@chromium.org Review URL: https://codereview.chromium.org/667853002 Cr-Commit-Position: refs/heads/master@{#300600}
-
dpranke authored
This reworks the way typ handles multiprocessing again, to make the API (and the implementation) simpler for the common case. TBR=dtu@chromium.org BUG=402172 Review URL: https://codereview.chromium.org/664123005 Cr-Commit-Position: refs/heads/master@{#300599}
-