- 22 Oct, 2014 40 commits
-
-
rosca authored
This implementation brings in several improvements for blending: - it's done faster, due to reducing the number of readbacks. - the backdrop doesn't suffer any transformation, so the result is more correct. - the results are similar to the ones obtained using the software paths. - blending is always applied after filters, even when the filters can be expressed using a color matrix. The initial experiment: https://codereview.chromium.org/555133002/. BUG=243223 Review URL: https://codereview.chromium.org/658483003 Cr-Commit-Position: refs/heads/master@{#300657}
-
vasilii authored
Also revert https://codereview.chromium.org/579813002 BUG=404012 Review URL: https://codereview.chromium.org/665113002 Cr-Commit-Position: refs/heads/master@{#300656}
-
phoglund authored
Over the original patch that got reverted, this takes into account that the android device can be in a different orientation. If the nexus device happens to be in portrait mode in the lab, it will report a 480x640 resolution rather than 640x480, so this reland accounts for that. The main purpose of this test is to test the capture path on Android, i.e. that we can acquire the device's built-in webcam. If we happen to run on a device without a camera, we'll quietly succeed the test. BUG=323921 R=tommi Review URL: https://codereview.chromium.org/663793003 Cr-Commit-Position: refs/heads/master@{#300655}
-
owenlin authored
When we schedule the RenderContent() faster than the VSync signals. The program will be blocked at SwapBuffer() and affect the performance of both video decoding and rendering. Now we change the code to schedule the RenderContent() base on the VSync signals so that we won't be blocked at SwapBuffer(). BUG=415901 TEST=Run the vda_unittest on link and peach_pit Review URL: https://codereview.chromium.org/590403004 Cr-Commit-Position: refs/heads/master@{#300654}
-
phoglund authored
We used to not be able to tell audio packetsSent from video packetsSent in the WebRTC stats reports, but with this patch we can. I use the fact that all video-send metrics will come with other video-send metrics, so we can classify a report based on what's in it (for instance, a report with audioInputLevel in it will be an audio-send report). This fixes buggy output where the code would merge data from send and receive metrics, for instance leading to packets received sequences like 10, 20, 15, 30, which doesn't make sense. BUG=412787 Review URL: https://codereview.chromium.org/665123009 Cr-Commit-Position: refs/heads/master@{#300653}
-
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=pneubeck@chromium.org Review URL: https://codereview.chromium.org/660123003 Cr-Commit-Position: refs/heads/master@{#300652}
-
changbin.shao authored
The color format parameter is hard coded for AndroidVideoEncodeAccelerator, we'd better add negotiation with the codec for supported color formats. BUG=423602 Review URL: https://codereview.chromium.org/648613003 Cr-Commit-Position: refs/heads/master@{#300651}
-
treib authored
Also update some tests accordingly. BUG= Review URL: https://codereview.chromium.org/664313004 Cr-Commit-Position: refs/heads/master@{#300650}
-
pfeldman authored
NOTRY=true BUG=425600 Review URL: https://codereview.chromium.org/637863006 Cr-Commit-Position: refs/heads/master@{#300649}
-
hirono authored
blink::WebFileChooserParams has a flag to show whether the receiver (WebFileChooserCompletion) needs local paths of files or not. The CL conveys the flag to the file chooser dialog so that the dialog does not create snapshot file when the receiver does not need local paths. BUG=126902 Review URL: https://codereview.chromium.org/663293002 Cr-Commit-Position: refs/heads/master@{#300648}
-
hirono authored
BUG=267281 TEST=None Review URL: https://codereview.chromium.org/640223006 Cr-Commit-Position: refs/heads/master@{#300647}
-
fukino authored
Added util.querySelector(), which throws error if the query doesn't find an element. Using it and assert(), ensure the existence of elements which are queried in initialization process of FileManager. Some trivial fixes for type-check errors are also included. BUG=406995 TEST=run browser_tests Review URL: https://codereview.chromium.org/667933003 Cr-Commit-Position: refs/heads/master@{#300646}
-
kolczyk authored
from blank page (about:blank) that has been loaded in WebUI-bindings-enabled renderer. This currently reproduces in process models other than default process-per-site(-instance) as they only enforce new renderer on webui-vs-regular navigations and fail to recognize that about:blank might have been loaded in WebUI (as per http://crbug.com/42547). This CL includes the browser test that reproduces this problem and verifies the fix. BUG=424526 Review URL: https://codereview.chromium.org/659293002 Cr-Commit-Position: refs/heads/master@{#300645}
-
horo authored
BUG=425396,414026 Review URL: https://codereview.chromium.org/643773004 Cr-Commit-Position: refs/heads/master@{#300644}
-
jshin authored
Summary of changes available at: https://chromium.googlesource.com/chromium/deps/icu52/+log/8ac906f..6ea11f3 https://chromium.googlesource.com/chromium/deps/icu52/+log/6ea11f3..d8b2a9d In addition, change the encoding menu, encoding preferences, and browser tests accordingly; 1. unify iso-8859-1 with windows-1252 in the menu (the name to use is windows-1252) 2. update the encoding preference (default encoding, etc) for various locales. 3. update the test result/expectation. Re-enable tests disabled in https://codereview.chromium.org/643993004/ TBR=jsbell@chromium.org BUG=412053 TEST=browser_tests BrowserEncodingTest.TestEncodingAutoDetect BrowserEncodingTest.TestOverrideEncoding EncodingAliases/BrowserEncodingTest.TestEncodingAliasMapping SavePageBrowserTest.FileNameFromPageTitle SavePageBrowserTest.SaveCompleteHTML PrefsTabHelperBrowserTest.WebPrefs TEST=net_unittest --gtest_filter="*ilenameUtil*" TEST=base_unittests --gtest_filter="*Conv*" TEST=Blink: fast/encoding/* TEST=http://www.w3.org/International/tests/repository/encoding/indexes/results-indexes TEST=http://www.w3.org/International/tests/repository/encoding/indexes/results-aliases TEST=http://www.w3.org/International/tests/repository/run?manifest=encoding/indexes&test=windows-1253_test TEST=http://www.w3.org/International/tests/repository/run?manifest=encoding/indexes&test=windows-874_test Review URL: https://codereview.chromium.org/649413002 Cr-Commit-Position: refs/heads/master@{#300643}
-
viettrungluu authored
TBR=dominich@chromium.org,thestig@chromium.org BUG=417463 Review URL: https://codereview.chromium.org/666563003 Cr-Commit-Position: refs/heads/master@{#300642}
-
dbeam authored
Start with __lookupGetter__, __defineGetter__, and __defineSetter__. R=maruel@chromium.org BUG=425829 Review URL: https://codereview.chromium.org/670043002 Cr-Commit-Position: refs/heads/master@{#300641}
-
viettrungluu authored
R=brettw@chromium.org Review URL: https://codereview.chromium.org/670833003 Cr-Commit-Position: refs/heads/master@{#300640}
-
lazyboy authored
BUG=422641 Test=Load chrome with the following flags: --out-of-process-pdf, --enable-mime-handler-view Load a PDF in a <webview>, e.g. use the webview-sample/browser app: https://chrome.google.com/webstore/detail/edggnmnajhcbhlnpjnogkjpghaikidaa and navigate to a PDF. Right clicking the PDF should bring context menu to correct position relative to the cursor. Review URL: https://codereview.chromium.org/667273002 Cr-Commit-Position: refs/heads/master@{#300639}
-
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}
-