| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This converts the remaining scroll delta fields to floats so that we no
longer lose precision due to DIP conversion.
This will land after the WebKit side at:
https://bugs.webkit.org/show_bug.cgi?id=111465
NOTRY=true
BUG=180331
Review URL: https://chromiumcodereview.appspot.com/12477003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186611 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This removes OVERRIDE annotations for implementations of functions
declared in WebKit from webkit/compositor_bindings/ and includes /
forward declares all types used. Without this, it's impossible to refactor
these interface
R=enne@chromium.org
Review URL: https://chromiumcodereview.appspot.com/12481008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186580 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=175186
TBR=brettw@chromium.org
Review URL: https://chromiumcodereview.appspot.com/12473004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186462 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
r167042. The problem was that for non-transparent windowless plugins we were combining the data below the plugin with the data that the plugin creates. We could just copy directly and not do any alpha-blending.
BUG=164800
Review URL: https://codereview.chromium.org/12487003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186446 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In current impl, we use same internal URL for File Manager and Sync Filesystem API. But it's not usable at same time.
This CL changes internal URL for Sync FileSystem and add migration code for existing database to move new URL.
BUG=178984
TEST='unit_tests --gtest_filter=DriveMetadataStore.\*'
Review URL: https://chromiumcodereview.appspot.com/12386082
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186442 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Callers to these removed in WebKit r144705, which we've rolled well past.
R=enne@chromium.org
Review URL: https://chromiumcodereview.appspot.com/12480006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186415 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This routes communication between RenderWidget's compositing support
(RenderWidgetCompositor) and WebKit through the WebWidget interface
instead of going through WebLayerTreeView(Client). The goal is to
get rid of the WebLayerTreeViewClient interface completely, slim down
WebLayerTreeView, and have all compositing-related communication between
chromium and WebKit just go through WebWidget, since compositing mode
isn't really all that special any more. RenderWidgetCompositor is responsible
for bridging between the compositor implementation in cc:: and RenderWidget
itself.
Interacts closely with http://webkit.org/b/109125
BUG=175383
Review URL: https://chromiumcodereview.appspot.com/12226051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186379 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implements the WebKit::Platform::sharedOffscreenGraphicsContext3D API
in the renderer, and provide the same shared context to WebKit and the
compositor when the compositor is not threaded.
RenderWidgetCompositor and RendererWebKitPlatformSupport both access
the shared context through RenderThreadImpl who creates them.
R=piman,jamesr
BUG=177768
Review URL: https://chromiumcodereview.appspot.com/12212100
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186342 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously,
(1) MTPDeviceDelegateImplWin implemented a synchronous version of MTPDeviceDelegate.
(2) MTPDeviceDelegateImplWin was operated on multiple threads (blocking pool thread and UI thread).
(3) Because of the synchronous behavior, copying a file off an MTP device was blocking the entire thread.
Now,
(1) MTPDeviceDelegateImplWin implements an asynchronous version of MTPDeviceDelegate.
(2) MTPDeviceDelegateImplWin runs on the single thread (IO thread).
(3) MTPDeviceDelegateImplWin supports weak pointers to cancel the callbacks that may run after the destruction of MTPDeviceDelegateImplWin.
(3) Because of the asynchronous behavior, MTPDeviceDelegateImplWin does a call-and-reply to a blocking pool thread to complete the requested device operation (such as GetFileInfo, ReadDirectory, CreateSnapshotFile, etc).
(4) Copying a file off an MTP device is divided into several sub tasks giving a chance to abort the copy operation when required. We no longer block the entire thread to copy the complete MTP device file.
BUG=151679
TEST=none
TBR=kinuko@chromium.org
Review URL: https://chromiumcodereview.appspot.com/12209061
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186336 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
The WebVideoFrame methods return wrong values and are going to be
deleted. Instead, the media::VideoFrame should be used directly.
Review URL: https://chromiumcodereview.appspot.com/12491004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186331 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ Some of the necessary changes to the renderer for software compositing.
BUG=124671, 161008
Review URL: https://chromiumcodereview.appspot.com/12379055
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186310 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
fields on WebURLResponse. They will be removed from WebURLResponse in: https://bugs.webkit.org/show_bug.cgi?id=111237
BUG=
Review URL: https://chromiumcodereview.appspot.com/12381054
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186257 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
We always build with skia now. This change removes dead code, and unnecessary
USE_SKIA guards.
BUG=110881
Review URL: https://chromiumcodereview.appspot.com/12437007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186249 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://codereview.chromium.org/12391072
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186172 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We are implementing TRACE_EVENT macros for sampling profiling. It works in the following mechanism:
- Chromium defines global state variables for sampling profiling. (i.e. g_trace_state0, g_trace_state1, g_trace_state2 in trace_event.h)
- WebKit gets the addresses of the global state variables at the initialization step. (i.e. EventTracer::initialize())
- WebKit updates the global states by using TRACE_EVENT_SAMPLING_STATE() macros every time WebKit changes its state. (e.g. DOM attribute getters/setters/methods)
- A sampling thread running in Chrome reads the global states periodically and visualizes the profiling results into about://tracing.
In this issue, we make a Chromium side change to implement a WebKit API to get the addresses of the global states.
The WebKit patch is here: https://bugs.webkit.org/show_bug.cgi?id=110932
Review URL: https://chromiumcodereview.appspot.com/12316146
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186162 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
TBR=darin@chromium.org
BUG=v8:2487
Review URL: https://chromiumcodereview.appspot.com/12398007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186152 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=178693
TBR=darin@chromium.org
R=thakis@chromium.org
Review URL: https://codereview.chromium.org/12437002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186149 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This provides implementations of WK::Platform::isThreadedCompositingEnabled()
for content/renderer/renderer_webkitplatformsupport_impl (aka the one we really
use) and for the unit / layout test support logic in webkit/. The real
implementation depends on content::RenderThreadImpl::compositor_thread(), the
test implementations have to be set explicitly by the test harness. Neither
depend on WebCompositorSupport, although that's still implemented so everything
still passes before the WebKit side at https://bugs.webkit.org/show_bug.cgi?id=111386
lands and rolls in.
R=enne@chromium.org
Review URL: https://chromiumcodereview.appspot.com/12378094
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186111 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently this patch always preserve 1G space.
This is a quick fix and does not reflect the actual disk size.
Also fixed the quota for unlimited apps to take the current usage into consideration. (Note: this will need PSA)
BUG=178976
TEST=QuotaManagerTest.GetUsage_MultipleClients
TEST=manual
Review URL: https://codereview.chromium.org/12383017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186067 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
webkit_support::CreateLayerTreeView
webkit_support::CreateLayerTreeView is used by WebViewHost to construct
compositor instances for DumpRenderTree to use in layout tests. This
code creates and manages the thread used for compositor (in TestShell)
and can pass it directly into the Create..() calls without needing to
register it on WebCompositorSupport. This is closer to what the production
code (in content::RenderWidgetCompositor) does.
This adds a new entry point where the caller specifies the thread. After this
lands and rolls into WebKit, I'll migrate WebViewHost to call the new function
and after that rolls into Chromium remove these deprecated versions along with
WebCompositorSupport::initialize/shutdown.
R=enne@chromium.org
Review URL: https://chromiumcodereview.appspot.com/12385074
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185963 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Android WebView classic disables the "double-tap-to-zoom" gesture
when WebSettings.UseWideViewport is disabled.
Currently, for Android "double-tab-to-zoom" is always enabled.
This patch makes the setting controllable from the browser side
and updates it appropriately.
Review URL: https://chromiumcodereview.appspot.com/12330172
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185909 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move RegisterFileSystem calls for default system mount points to CrosMountProvider.
Add CrosDisksClient::GetArchiveMountRootDirectory/GetDiskMountRootDirectory.
BUG=178987
TEST=git cl try
Review URL: https://chromiumcodereview.appspot.com/12397002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185898 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
operation
This removes some weird memory hack I introduced in my last changes to split recursive-Copy/Move into multiple tasks.
- Removes LocalFileSystemOperation::termination_callback
- Cleans up nested sub-operation creation code
BUG=176444
TEST=existing tests
Review URL: https://codereview.chromium.org/12313106
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185867 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Remove unnecessary header files from local_file_system_operation.h and fix compile errors.
BUG=none
TEST=none
Review URL: https://codereview.chromium.org/12388061
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185827 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This lets us get rid of a bunch of entries WebPreferences and, layer, from
WebSettings / WebSettingsImpl / WebViewImpl / WebLayerTreeViewSettings.
Review URL: https://chromiumcodereview.appspot.com/12390005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185756 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Ensure that SetContainerVisibility is called on WebPluginDelegateImpls when they're created in DRT, or else their cliprects will be wrong.
BUG=168900
Review URL: https://chromiumcodereview.appspot.com/12382007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185729 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
TBR=michaeln
BUG=NONE
Review URL: https://chromiumcodereview.appspot.com/12377046
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185722 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Follow-up to r185341 / WebKit r144398
The only client this class needs is the DRTLayerTreeViewClient.
Review URL: https://codereview.chromium.org/12377029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185662 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
WebMediaPlayerProxy only exists to hold a BufferedDataSource reference and handle painting. WebMediaPlayerProxy, sadly, also complicates ownership since it is also a refcounted object.
As part of fixing 177730, VideoFrame lifetime tracking is easier to accomplish if we don't have references being held in whacky proxy classes.
BUG=177730
Review URL: https://codereview.chromium.org/12383039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185582 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Removed unused resources and pngcrushed others.
Patch by silviapf@google.com.
Review URL: https://codereview.chromium.org/12313152
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185579 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
The threaded parser gets us to DOMContentLoaded about 10% faster on the telemetry top25 page set. The threaded parser also reduces the maximum stop time due to parsing by 40% on the telemetry top25 page set.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=185318
Review URL: https://chromiumcodereview.appspot.com/12335103
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185548 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This changeset is a part of refactoring for cleaning up
FilesystemObject's life time and introducing scoped_ptr.
- Using scoped notifier makes it difficult to cleanup the FSO lifetime,
so we should stop using it.
- Also change FileSystemOperation creation code to create the
base operation from source URL rather than dest URL (to
make the code and later changes more natural).
BUG=176444
TEST=existing tests
Review URL: https://codereview.chromium.org/12336002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185536 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
WebHyphantor interface
Also allow the content embedder to override the hyphenator used.
BUG=178693
Review URL: https://codereview.chromium.org/12335128
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185486 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Remove leftover codepath from the pre-WebMediaPlayerMS days.
BUG=chromium:177572
TEST=Try apprtc.appspot.com/?debug=loopback on link.
Review URL: https://chromiumcodereview.appspot.com/12320078
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185460 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The message channel queues messages that are posted early, before it's able to
send them, and sends them all in a batch.
If Javascript code removes the plugin from the DOM in response to one of
those messages, the PluginInstance and MessageChannel will be deleted as
it's iterating, causing a renderer crash.
This change makes the MessageChannel take a reference on the PluginInstance
while it's processing these "early messages" to prevent this type of crash.
BUG=179003
Review URL: https://chromiumcodereview.appspot.com/12380033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185424 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
Minor cleanup split off into a separate CL while working on bug 177730.
Review URL: https://codereview.chromium.org/12388039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185400 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This method is being added to the Platform API for WebKit, and
when it is added, DumpRenderTree will use it for its shared main thread context.
R=jamesr,piman
BUG=177768
TBR=darin
Review URL: https://codereview.chromium.org/12217099
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185357 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
caused regressions in moz cycler tests. Perf data has been gathered, so the CL
is being reverted.
> Enable the threaded HTML parser by default
>
> The threaded parser gets us to DOMContentLoaded about 10% faster on the telemetry top25 page set. The threaded parser also reduces the maximum stop time due to parsing by 40% on the telemetry top25 page set.
>
> Review URL: https://chromiumcodereview.appspot.com/12335103
TBR=abarth@chromium.org
Review URL: https://codereview.chromium.org/12380040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185352 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
from WebLayerTreeViewClient
WebLayerTreeView when used in production (i.e. be content) has different requirements
from DumpRenderTree. In DRT, we need to route two calls from the compositor into
DRT - Layout() and ScheduleComposite(). Neither are needed in the non-DRT
embedding of WebLayerTreeView. This introduces a new client interface for DRT to
use that only has these two functions. I've left the old path in place to keep
things from breaking until the WebKit change rolls in, after that point I'll
remove the WebLayerTreeViewClient references from WebLayerTreeViewImplForTesting
completely.
R=enne@chromium.org
Review URL: https://codereview.chromium.org/12330184
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185341 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
The threaded parser gets us to DOMContentLoaded about 10% faster on the telemetry top25 page set. The threaded parser also reduces the maximum stop time due to parsing by 40% on the telemetry top25 page set.
Review URL: https://chromiumcodereview.appspot.com/12335103
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185318 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
TBR=schenney@chromium.org
BUG=none
Review URL: https://codereview.chromium.org/12380018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185232 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
So that we can more explicitly test what changes we track for
Copy/Move operations.
BUG=none
TEST=LocalFileChangeTrackerTest.Restore*
Review URL: https://codereview.chromium.org/12330169
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185163 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This test file doesn't have any actual TESTs. The only thing it was verifying
(a few revisions ago) were the instrumentation callbacks on WebLayerTreeViewClient,
but those are all going away.
R=enne@chromium.org
Review URL: https://chromiumcodereview.appspot.com/12334127
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185054 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- rename gyp variables use_libvpx, use_ffmpeg to media_use_libvpx, media_use_ffmpeg so that their scope is clear (matter of hygiene)
- fix build with media_use_libvpx=0 - it excluded some files from the build but other files were still referring to it
Not using e.g. compile_test.py because explicit is better than implicit. compile_test.py was designed for a very specific use case and is a last resort, also not to be used as part of Google Chrome build process. Here it is fixing an existing build option.
BUG=174287
Review URL: https://codereview.chromium.org/12320041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184981 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Thanks to Jochen for finding it.
BUG=173194
TBR=tony
Review URL: https://codereview.chromium.org/12340107
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184957 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
R=jkummerow@chromium.org
Review URL: https://chromiumcodereview.appspot.com/12328135
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184939 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
namespace to sync_file_system namespace.
BUG=174870
Review URL: https://codereview.chromium.org/12313144
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184928 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
R=michaeln
BUG=NONE
Review URL: https://chromiumcodereview.appspot.com/12316124
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184925 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Rename operation() to NewOperation() [per method name style]
- Over 80 cols fix (caused by FilePath -> base::FilePath changes)
- Make SetUp() and TearDown() inline methods to be consistent with other tests
BUG=none
TEST=existing tests
Review URL: https://codereview.chromium.org/12328131
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184909 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
in preparation for removing (empty) WebKitPlatformSupport class upstream
Review URL: https://chromiumcodereview.appspot.com/12319122
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184829 0039d316-1c4b-4281-b951-d872f2087c98
|