| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
BUG=
TBR=rdsmith
Review URL: https://codereview.chromium.org/13927003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193026 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 works by adding a new flag to the content layer:
kDisableHTMLNotifications, which causes Chrome not to expose the
webkitNotifications.createHTMLNotification function to JS contexts.
Chrome appends this switch to new renderer processes when appropriate
in ChromeContentBrowserClient.
BUG=225918
Review URL: https://chromiumcodereview.appspot.com/13533019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193005 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also remove the flag "use-exynos-vda" from the test since
it is not needed anymore.
BUG=223823
Review URL: https://chromiumcodereview.appspot.com/12844012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192996 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=70818
Review URL: https://codereview.chromium.org/13812005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192982 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=124671, 161008
Review URL: https://chromiumcodereview.appspot.com/13560016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192950 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The code to handle cache clearing didn't land in time for the M27
branch so it has been decided to disable this feature for M27.
This patch will be rolled back after it lands on the M27 branch.
BUG=228989
Review URL: https://chromiumcodereview.appspot.com/13800013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192949 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This is the just the WebUI code necessary to show HTML at the chrome://indexeddb-internals
URL. The page just says "Welcome" to start.
BUG=174188
Review URL: https://chromiumcodereview.appspot.com/13230003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192926 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=228978,228897
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/13771021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192909 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=224385
R=benjhayden@chromium.org
Review URL: https://chromiumcodereview.appspot.com/13044019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192879 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
InputHandlerManager uses Unretained(this) to post tasks to compositor
thread which means it needs to outlive the compositor thread.
Added a test that is flaky without this fix.
BUG=226261
Review URL: https://chromiumcodereview.appspot.com/13650004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192857 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mail.app and TextEdit accept drags that have both HTML and image flavors on them, but don't process them correctly. Therefore,
if there is an image flavor, don't put the HTML data on as HTML, but rather put it on as a special flavor. External apps won't see HTML but Chrome will know enough to read it as HTML.
BUG=55879,225710
TEST=as in bug 225710, doesn't regress bug 55879
Review URL: https://chromiumcodereview.appspot.com/13758002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192853 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
processes.
> Avast Avast! Block Avast Antivirus from loading into child processes.
>
> It is associated with 60-70% of child process crashes in 28.0.1461.0.
>
> Review URL: https://chromiumcodereview.appspot.com/13598004
TBR=apatrick@chromium.org
Review URL: https://codereview.chromium.org/13427015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192844 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
We are not using the names information at the moment.
From Eric Seidal's profiling, that is a big bottleneck in content shell startup.
BUG=
TEST=tree
Review URL: https://codereview.chromium.org/13730014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192840 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tests
Layout tests expect to be able to read file synchronously, so we need to
read it from the io thread.
BUG=111316
R=marja@chromium.org
Review URL: https://codereview.chromium.org/13801004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192822 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
different process
Some layout tests, e.g.
http/tests/navigation/no-referrer-target-blank.html create a new
process, and notifyDone() will be invoked in that new process. Add
support for forwarding that signal to the main test runner.
BUG=111316
R=mkwst@chromium.org
TEST=http/tests/navigation/no-referrer-target-blank.html does not time out
Review URL: https://codereview.chromium.org/13795002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192819 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
- Since this file contains two classes, include "Bridge #id" and "SocketStreamDispatcher::" to distinguish between logs of them.
- Print pointer address instead of socket ID where it can be uninitialized or already unset.
Review URL: https://codereview.chromium.org/13533006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192817 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This changelist was automatically generated using a clang tool.
BUG=171111
Review URL: https://codereview.chromium.org/13749004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192769 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
TBR=perkj@chromium.org
BUG=227409
Review URL: https://codereview.chromium.org/13759003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192767 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=226686
Review URL: https://chromiumcodereview.appspot.com/13722012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192748 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
|
|
|
|
|
|
|
|
|
|
|
|
| |
Earlier we used to pass all the relevant bits to WebContentsDelegate::CanDownload
This also allows for DownloadRequestLimiter to work on Android (show the infobar when multiple downloads are initiated from a page)
BUG=
Review URL: https://chromiumcodereview.appspot.com/13649009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192740 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
congested.
PeerConnection implementation in libjingle will need to handle the case when
a network interface is congested, so it needs to be notified when send buffers
are full. This CL adds send result notification message that is sent to the
renderer process after each message is sent. Sockets created using
IpcPacketSocketFactory will be returning EWOULDBLOCK when Send() buffers are
full instead of dropping the packet silently.
BUG=226158
Review URL: https://chromiumcodereview.appspot.com/13584008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192721 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=124671, 161008
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/13042012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192678 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
TBR=nduca@chromium.org
BUG=
Review URL: https://chromiumcodereview.appspot.com/13655002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192674 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Add tracing for capture timestamps.
BUG=225209
Review URL: https://chromiumcodereview.appspot.com/13554003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192670 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
See bug attached for screenshots
The CL does two things:
- Disables the resizer lock, so that UI bits can go ahead of content bits
- Janks (blocks) the UI thread until the compositor has flushed / finished
the pending commands.
This makes the mis-draw way less, up to one frame behind, which at my regular
mouse speed of 1.2 pixels / ms comes out to 20 pixels of whiteout.
BUG=177115
TEST=none
Review URL: https://codereview.chromium.org/13604007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192657 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
dependencies as needed.
BUG=none
Review URL: https://chromiumcodereview.appspot.com/13431003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192653 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
content's embedder API. The main reasons are that it makes content's embedder interfaces harder to change if they're reused by the embedder, and that its makes it confusing for embedder code when there are multiple ways to do the same thing.
BUG=227047
Review URL: https://codereview.chromium.org/13409003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192649 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Also, turn on support for EXT_draw_buffers on Windows. To make it easy for debugging ANGLE implementation bugs.
BUG=180397
TEST=gpu_unittests,content_unittests
Review URL: https://codereview.chromium.org/13730008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192647 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
attachment.
BUG=140316
Test=Updated WebViewTest.NewWindow
Review URL: https://chromiumcodereview.appspot.com/13032003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192646 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
NOTRY=true
R=maruel@chromium.org
BUG=
Review URL: https://chromiumcodereview.appspot.com/13640006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192635 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pre-cursor to moving Chrome OS + Aura away from legacy GTK+X11 dibs. Now, we
have just:
- Windows style dibs
- POSIX style dibs
- Legacy GTK+X11 style dibs.
There's some ifdef hoops that will be removed in a follow-up CL when
Chrome OS + Aura will be moved away from legacy GTK+X11 dibs and on to POSIX
dibs.
BUG=147622
Review URL: https://codereview.chromium.org/13582008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192629 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Managing size information via the platform view has undesirable side effects.
For instance in aura, calls to SetBounds cause the platform view to take
resize locks, which are not needed for something that is displayed indirectly.
BUG=
Review URL: https://chromiumcodereview.appspot.com/13647006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192626 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This check was removed due to misinterpretation of the spec, but it
seems it's needed for some streams.
BUG=225787
TEST=manual playback
Review URL: https://chromiumcodereview.appspot.com/13726007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192620 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=226789
TEST=no logic change, simply code refactor, so everything stays the same
Review URL: https://codereview.chromium.org/13400003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192580 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
content_browsertest.
BUG=175683,177443
Review URL: https://chromiumcodereview.appspot.com/13679005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192567 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=224923
Review URL: https://chromiumcodereview.appspot.com/13510002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192536 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When the browser cache for a given profile is cleared
we will now clear out any shaders stored in the
shader disk cache for that profile.
BUG=176289
Review URL: https://chromiumcodereview.appspot.com/12500009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192511 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Add ContentViewCore#udpateFrameInfo trace event.
BUG=
Review URL: https://chromiumcodereview.appspot.com/13688003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192508 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, there were two code paths in BrowserPluginGuest to request a new window (new <webview>) from the embedder: one for suppressed openers and one for unsuppressed openers. This CL unifies the two code paths.
BUG=none
Test=WebViewTest.Shim, WebViewTest.NewWindow
Review URL: https://chromiumcodereview.appspot.com/13649007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192499 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Due to weirdness with GPUs on trybots causing flakiness in tests, the initial implementation of CompositingIOSurfaceTransformer was committed with all unit tests disabled. This change will enable the tests, but force the software-based OpenGL implementation to be used.
In a later change, we will allow the OpenGL implementation to auto-detect and utilize a GPU, where one is available. However, first the tests should prove themselves as stable when not using GPU.
TBR=kbr
Review URL: https://chromiumcodereview.appspot.com/13573004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192486 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
never used(!)
Review URL: https://chromiumcodereview.appspot.com/13521007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192463 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
With this filename change, the files will be auto-excluded from non-x11 builds.
BUG=none
TBR=jochen@chromium.org
Review URL: https://codereview.chromium.org/13661002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192429 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Autogenerated with:
for a in $(git ls-files | grep \\.isolate); do tools/swarm_client/isolate_merge.py $a -o $a; done
content/content_browsertests.isolate failed to be converted automatically.
NOTRY=true
TBR=csharp@chromium.org
BUG=
Review URL: https://chromiumcodereview.appspot.com/13654003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192411 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Before the workarounds are hardwired in feature_info.cc.
Now the workarounds are expressed as entries in gpu_driver_bug_list.json.
BUG=222857
TEST=gpu_unittests,content_unittests
Review URL: https://codereview.chromium.org/13594007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192406 0039d316-1c4b-4281-b951-d872f2087c98
|