| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
WebExternalTextureLayerClient to be used with texture mailboxes, which allows WebGL and Canvas2D to work with ubercompositor.
CC part of this patch requests the client to prepare a mailbox instead of a texture. Compositor bindings handle interaction with Blink as well as callbacks associated with mailboxes being released.
BUG=179371
Review URL: https://chromiumcodereview.appspot.com/12374028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193807 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://chromiumcodereview.appspot.com/13939004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193749 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
kStorageTypeSyncable.
This bug is visible in Android for mail.google.com
Even after Clearing all the data, the syncable data was left behind.
This CL should fix this bug.
BUG=180249
Review URL: https://chromiumcodereview.appspot.com/13357004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193738 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
Turns on the corresponding setting in Blink for AW.
Review URL: https://chromiumcodereview.appspot.com/13814013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193630 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=178980
TEST=manual (verified the memory stops increasing at a certain level)
Review URL: https://chromiumcodereview.appspot.com/12398008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193585 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Modify kUseExternalVideoSurface from on-off flag to threshold in
terms of number of pixels per video frame.
BUG=180197
R=sievers@chromium.org,scherkus@chromium.org
Review URL: https://chromiumcodereview.appspot.com/13775009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193562 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a manual cleanup pass using sed for files which are not built on
Linux.
BUG=171111
Review URL: https://chromiumcodereview.appspot.com/13912009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193548 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
For Media Galleries project.
BUG=151701
Review URL: https://chromiumcodereview.appspot.com/12704024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193537 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
Review URL: https://codereview.chromium.org/13841021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193490 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
opening link using "Open Link in New Tab" option.
Change URLRequest::set_referrer to URLRequest::SetReferrer which sanitizes referrer by removing URL fragment, user name and password.
Remove URLRequest::GetSanitizedReferrer as URLRequest::referrer is now sanitized during set.
BUG=168213
TEST=net_unittests, browser_tests
Review URL: https://chromiumcodereview.appspot.com/12569007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193482 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch also deprecate recursive enumeration support in
IsolatedFileUtil as we no longer need it (http://crbug.com/176443)
and adding symlink fix in the dead code doesn't sound productive.
BUG=176443,229849
TEST=IsolatedFileUtilTest.ReadDirectoryTest
Review URL: https://chromiumcodereview.appspot.com/13850004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193413 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch allows us to have larger objects passed into the trace
framework which, at the point when we output tracing data, will
request they be converted to TraceFormat by calling the
AppendAsTraceFormat method.
BUG=
Review URL: https://chromiumcodereview.appspot.com/13590005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193388 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
In this case, the databases was actually corrupted but the database classes did not try to repair.
After this CL lands, these corruption should be repaired correctly.
TEST="content_unittests: FileSystemDirectoryDatabaseTest.TestRepairDatabase_MissingManifest & FileSystemOriginDatabaseTest.DatabaseRecoveryForMissingManifestTest"
BUG=229773
Review URL: https://chromiumcodereview.appspot.com/13946004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193380 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
FileSystemMountPointProvider::CreateFileStream{Reader,Writer} should return scoped_ptr instead of raw pointer so that the caller can make sure it obtains the ownership of the returned Reader/Writer.
BUG=175934
TEST=should pass all existing tests
Review URL: https://chromiumcodereview.appspot.com/13811013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193354 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now, Chrome doesn't need --disable-web-sockets flag any more.
This flag was added due to security concern in early days.
BUG=none
TEST=layout tests, browser_tests, net_unittests, and so on
Review URL: https://chromiumcodereview.appspot.com/13913004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193205 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
With this CL the interface will work, but requests/responses go by way of the renderer process. More work will be needed to create a direct plugin-browser channel.
BUG=226303
TEST=None
Review URL: https://chromiumcodereview.appspot.com/13801006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193154 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch was generated by running the empty_string clang tool
across the Chromium Linux compilation database. Implicitly or
explicitly constructing std::string() with a "" argument is
inefficient as the caller needs to emit extra instructions to
pass an argument, and the constructor needlessly copies a byte
into internal storage. Rewriting these instances to simply call
the default constructor appears to save ~14-18 kilobytes on an
optimized release build.
BUG=none
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193020
Review URL: https://codereview.chromium.org/13145003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193040 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Works as well as CreateFileStreamReader, just dispatches
the appropriate MountPointProvider's corresponding method.
BUG=none
TEST=no new tests, cleanup only
Review URL: https://chromiumcodereview.appspot.com/13591004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193038 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit e59558b78e8c6a1b0bd916a724724b638c3c91b6.
Revert "Fix build after r193020."
This reverts commit 558a35897f6b3ffbcaefde927c1f150b815d140a.
Revert "Really fix build after r193020."
This reverts commit e3748a79b523a8d365d4a33ef986eebb4186fa78.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193030 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Argh. Macros are evil.
BUG=
TBR=darin
Review URL: https://codereview.chromium.org/13937002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193029 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch was generated by running the empty_string clang tool
across the Chromium Linux compilation database. Implicitly or
explicitly constructing std::string() with a "" argument is
inefficient as the caller needs to emit extra instructions to
pass an argument, and the constructor needlessly copies a byte
into internal storage. Rewriting these instances to simply call
the default constructor appears to save ~14-18 kilobytes on an
optimized release build.
BUG=none
Review URL: https://codereview.chromium.org/13145003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193020 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This value is redundant. We can use the root cliprect size or the
device_viewport_size divided by device_scale_factor instead.
This value was only used by PinchZoomScrollbars, I replaced it
with one that should be equivalent.
NOTRY=true
BUG=229098
Review URL: https://chromiumcodereview.appspot.com/13637017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193013 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds a fixed container size compensation matrix to fixed-position
layers, so fixed-position layers can be anchored to right / bottom edge during
a pinch gesture.
WebKit side: https://bugs.webkit.org/show_bug.cgi?id=111670
BUG=160223
Review URL: https://chromiumcodereview.appspot.com/12552004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192999 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These methods will be used to transition the corresponding WebMediaPlayer
methods from using floats to using doubles instead.
BUG=227156
TEST=All tests pass. No change in functionality.
Review URL: https://chromiumcodereview.appspot.com/13431009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192902 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This makes LayerTreeHost::SetAnimationEvents iterate over all active
animation controllers registered with its AnimationRegistrar instead
of iterating over the layer tree. This allows us to properly deliver
animation events to a layer that has been temporarily removed from
the layer tree when SetAnimationEvents is called.
BUG=196284
Review URL: https://chromiumcodereview.appspot.com/13465014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192835 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This changelist was automatically generated using a clang tool.
BUG=171111
Review URL: https://codereview.chromium.org/13752002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192779 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
DevTools are always enabled in Content.
R=pfeldman
BUG=None
Review URL: https://chromiumcodereview.appspot.com/13529010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192746 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
are async.
BUG=154835
Review URL: https://chromiumcodereview.appspot.com/13687004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192743 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This compile assert was not correctly undefined previously.
BUG=
TEST=Compile succeeds on linux x64, layout tests pass (with expected mp4
IsTypeSupported true on build with ffmpeg_branding=Chrome
proprietary_codecs=1, all media_unittests pass except for unrelated
AudioInputVolumeTest.InputVolumeTest
R=acolwell@chromium.org
Review URL: https://chromiumcodereview.appspot.com/13594012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192724 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=None
Review URL: https://chromiumcodereview.appspot.com/12255023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192631 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
R=vsevik,pfeldman
BUG=227030
Review URL: https://codereview.chromium.org/13674009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192574 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
When using content_shell to run media stream layout test, it's needed to use override createMediaPlayer because the media stream is generated by TestMediaStreamClient, not MediaStreamImpl which is used by RenderViewImpl::createMediaPlayer.
This patch is needed by patch in https://bugs.webkit.org/show_bug.cgi?id=113633, and they work together to enable media stream layout test in content_shell.
BUG=222906
Review URL: https://codereview.chromium.org/13159005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192373 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=176566
Review URL: https://chromiumcodereview.appspot.com/12886042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192246 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- CoreAnimation moved from Cocoa to QuartzCore
- symbol visibility now applies to ObjC interfaces, so
many of these need _EXPORT annotations
- private ivars are now always hidden symbols, so categories
in one module can't access private ivars of interfaces from another
module (the only instance of this was ui_localizer.mm, the fix was
to make the IBOutlet ivars of a class in GTM @protected instead).
- to not require _EXPORT annotations in GTM (which is third-party code),
build the GTM files without -fvisibility=hidden when doing a components
build.
BUG=190508
TBR=avi,tony
Review URL: https://codereview.chromium.org/13507002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192155 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The SystemMonitor is a mixed monitor which not only monitors
the power state changes but also the devices changes. This
patch is to separate the power monitor from SystemMonitor
as a new class PowerMonitor which is dedicated to monitor
power state.
The next step is to seek a opportunity to refactor SystemMonitor
as something like DeviceMonitor.
BUG=149059
TEST=base_unittests --gtest_filter=PowerMonitorTest.*
Review URL: https://chromiumcodereview.appspot.com/10959020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192114 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://codereview.chromium.org/13469005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192064 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reading double from the pickle uses pointer cast to double pointer, which
can be unaligned, and it crashes on on ldc1 instruction on MIPS arch.
Writing to the pickle uses memcpy(), so there is no alignment problem, and
this change does the same for reading.
Original patch by Paul Lind.
BUG= https://code.google.com/p/chromium/issues/detail?id=130022
TEST=make chrome
Review URL: https://chromiumcodereview.appspot.com/13460003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192000 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
As a result, in order to override key systems/plugin mapping, only constant table in a separate file has to be replaced.
BUG=179769
TEST=content_unittests
Review URL: https://chromiumcodereview.appspot.com/13470004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191950 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Miscellaneous missing dependencies and a few more exports.
BUG=158821
Review URL: https://chromiumcodereview.appspot.com/12988003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191944 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If a renderer is closed, the browser cleans up orphaned in-flight connections.
But if a worker is terminated the renderer needs to do this. Have the message
filter check for a terminated worker message loop, and do the necessary
connection cleanup.
BUG=123418
Review URL: https://chromiumcodereview.appspot.com/13349005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191937 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
For now AesDecryptor can never fail to be created, so this error pretty much
means that the plugin cannot be created/loaded.
Review URL: https://chromiumcodereview.appspot.com/13472014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191926 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
Add two helper functions so that we don't call Histogram code directly.
Review URL: https://chromiumcodereview.appspot.com/13401002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191874 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change brings Query() support back to FileRef for in-process and out-of-process plugins.
I've added testing for a file that exists and one that doesn't.
BUG=170721
Review URL: https://chromiumcodereview.appspot.com/12817009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191805 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Move key system constants to separate file.
>
> As a result, in order to override key systems/plugin mapping, only constant table in a separate file has to be replaced.
>
> BUG=179769
> TEST=content_unittests
>
> Review URL: https://chromiumcodereview.appspot.com/12882003
TBR=kjyoun@google.com
Review URL: https://codereview.chromium.org/13463002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191801 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
As a result, in order to override key systems/plugin mapping, only constant table in a separate file has to be replaced.
BUG=179769
TEST=content_unittests
Review URL: https://chromiumcodereview.appspot.com/12882003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191795 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
In our current html5 media implemtation, we pretend everything is loaded and gave a temporary duration of 100 seconds to WebKit.
However, this will break things if developer do sth like video.seek(video.duration). Also, width and height information are not available.
This change adds a thread in browser process to extract media metadata from the elements, before reporting to WebKit that media is loaded.
This only works if wifi or ethernet is available.
Review URL: https://chromiumcodereview.appspot.com/12518035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191786 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was a unit test I forgot to update when I originally changed the
type in r186611. As a result, compile is failing after I deleted the
old method in WebKit r147357, blocking the WebKit roll.
NOTRY=true
BUG=180331
Review URL: https://chromiumcodereview.appspot.com/13386016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191734 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=224767
NOTRY=true
R=ddoriwin@chromium.org
Review URL: https://codereview.chromium.org/13415002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191732 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=224767
Review URL: https://chromiumcodereview.appspot.com/13314008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191702 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Both GetOSFileDescriptor and RequestOSFileHandle use GetOSFileDescriptor
chrome IPC for now. I'm planning to remove call sites of
GetOSFileDescriptor PPAPI and rename GetOSFileDescriptor chrome IPC to
RequestOSFileHandle.
- Add --allow-get-os-file-handle-api. With this flag,
1. browser_tests can test this API and 2. we can use this API even
before this issue is resolved: http://crbug.com/224123
- Add TestRequestOSFileHandle in FileIO. This checks if read, write,
lseek, and mmap work for FD fetched by this API.
- PepperFileIOHost::OnHostMsgGetOSFileDescriptor use
ShareHandleWithRemote to pass a file handle
- Fix ShareHandleWithRemote for in-process API
BUG=183015
TEST=trybots, browser_tests
Review URL: https://chromiumcodereview.appspot.com/13032002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191616 0039d316-1c4b-4281-b951-d872f2087c98
|