| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upstreaming of downstream CL.
This handles the case where during ContentViewCore construction the
WebContents being used does not have a RWHV yet and it matches
other platforms where new windows in CreateViewForWidget() are shown
by default.
Original bugs:6937843,6931901
BUG=159063
TBR=ben
Review URL: https://chromiumcodereview.appspot.com/11362130
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166620 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
downgrade
BUG=156490,158176
Review URL: https://chromiumcodereview.appspot.com/11196029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166600 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upstreaming. Finishes connecting the pipeline required to alert
JavaScript observers that the device has been rotated.
BUG=159063
Review URL: https://chromiumcodereview.appspot.com/11312134
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166596 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This was causing errors when developers switched to VT2 on startup.
BUG=159137
Review URL: https://chromiumcodereview.appspot.com/11293158
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166590 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the embedder loses focus, so should the guest. If the embedder regains focus, and the BrowserPlugin was focused, so should the guest.
BUG=158474
Test=BrowserPluginHostTest.FocusTracksEmbedder
Review URL: https://chromiumcodereview.appspot.com/11348040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166568 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Required fixes:
1.) Notify webcontents when attaching/detaching the layer associated
with the interstitial's RVH.
2.) Expose RVH for interstitials on Android for passing the gestures.
BUG=159066
Review URL: https://chromiumcodereview.appspot.com/11366118
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166559 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=156490,158176
TBR=jsbell
Review URL: https://codereview.chromium.org/11369123
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166553 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
quickly. This is so we can work on Manta's scrolling and
texture upload performance and compare with m18 which used
512x512 tiles, and find any tile-size related bugs early.
In upstream Chrome, there is no code to adjusts the tile
size for high-res/dpi displays, so we should implement a
generic solution which works across all platforms and
devices. This bug tracks this feature:
http://crbug.com/159524
BUG=159524
Review URL: https://chromiumcodereview.appspot.com/11358106
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166545 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
with unpatched system protobuf.
This is a preparation for landing https://codereview.chromium.org/11231046/
and a solution chosen because our custom protobuf changes will not
be accepted upstream.
Setting defaults to optimize for lite runtime and retain unknown fields
makes it possible to use the same .proto files with system protobuf.
BUG=157155
TEST=none
Review URL: https://codereview.chromium.org/11228038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166534 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This makes two-sided patches to the TestRunner library's API easier
BUG=111316
Review URL: https://chromiumcodereview.appspot.com/11293154
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166532 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=158787
Review URL: https://chromiumcodereview.appspot.com/11293133
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166527 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://chromiumcodereview.appspot.com/11279005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166513 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
touch-event.
If a touch-event handler removes all the touch event handlers on the page
in response to a touch-event, then the touch-queue for that page will have
been flushed by the time the ACK for the event comes in. Handle such cases
gracefully to avoid a crash.
BUG=157783
Review URL: https://codereview.chromium.org/11378002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166509 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://codereview.chromium.org/11359089
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166499 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Modifies content::BrowserPpapiHostImpl so it's not ref-counted.
- Adds a public content API method, BrowserPpapiHost::CreateExternalPluginProcess
which allows the embedder to associate a browser ppapi host with a plugin process.
- Adds a public content API method, ContentBrowserClient::GetExternalBrowserPpapiHost,
so content can track instance creation and deletion for external plugins (e.g. NaCl)
- Removes the content API method EnablePepperSupportForChannel. This is now done
when creating the BrowserPpapiHost.
BUG=116317
TEST=none
Review URL: https://chromiumcodereview.appspot.com/11368019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166480 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
implementation
Broke Android compile. Failed try, but CQ ignores Android apparently. :(
http://build.chromium.org/p/chromium.linux/builders/Android%20Clang%20Builder%20%28dbg%29/builds/729/steps/compile/logs/stdio#error1
This makes two-sided patches to the TestRunner library's API easier
BUG=111316
Review URL: https://chromiumcodereview.appspot.com/11366131
TBR=jochen@chromium.org
Review URL: https://codereview.chromium.org/11368121
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166467 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This makes two-sided patches to the TestRunner library's API easier
BUG=111316
Review URL: https://chromiumcodereview.appspot.com/11366131
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166461 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
This signal is too coarse and is replaced by DownloadManager::Observer::OnDownloadCreated and DownloadItem::Observer::OnDownloadRemoved/OnDownloadDestroyed.
Review URL: https://chromiumcodereview.appspot.com/10928119
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166453 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
IPCs to get this. The old approach doesn't work in Win Aura since the data is only available on the UI thread and we can't make a sync IPC call to it.
This change also removes the last remaining usage of the view HWND. I'll clean that up in a future change to not clutter this one.
Review URL: https://codereview.chromium.org/11364061
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166446 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Support for the canonical CSP header landed in wkrev.com/133095. This CL
migrates the various places inside Chromium that use the prefixed header
over to the new hotness.
BUG=151857
TBR=aa@chromium.org,michaeln@chromium.org,sky@chromium.org,estade@chromium.org,kinuko@chromium.org,willchan@chromium.org,phajdan.jr@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11368048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166435 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Create a pure-virtual interface called HttpUserAgentSettings that provides access to the Accept-Language, Accept-Charset, and User-Agent HTTP headers. Each UrlRequestContext should have a HttpUserAgentSettings implementation attached via set_http_user_agent_settings().
BUG=146596
Review URL: https://chromiumcodereview.appspot.com/10918279
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166425 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
background.
BUG=139760
TEST=As described in the bug.
When power button or home key is pressed, ChromeView's onActivityPause dismisses the SelectPopupDialog. But this is not known to native code.
Next time user clicks a select box, renderer(RenderViewImpl::createExternalPopupMenu) assumes the previously created external_popup_menu_ is still visible and doesn't show it again. Fix is to let the native code know that the popup menu is dismissed.
Original CL: https://chromiumcodereview.appspot.com/10837075/
Review URL: https://chromiumcodereview.appspot.com/11365008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166424 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
The application can handle it by loading in a background thread.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/11344037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166415 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
preparation for allowing backgrounded tabs
to have memory.
BUG=134750
Review URL: https://chromiumcodereview.appspot.com/11369115
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166413 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Avoids requesting rubberstamps for this android-specific file.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/11360097
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166403 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
two pieces of information to the StartDragging IPC:
1. Whether the drag was started by a touch event or mouse event
2. The location of drag start. This information is needed for chromeos and was
currently being read from the platform. But that is not possible (also not
correct) for touch based drag/drop. So we pass this information from the
renderer.
BUG=114755
Review URL: https://chromiumcodereview.appspot.com/11369102
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166401 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove tracking of the historical maximum, since it wasn't used.
Also move the ifdef-heavy const function out of the header and into
the source file.
BUG=134750
Review URL: https://chromiumcodereview.appspot.com/11366082
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166393 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Chrome doesn't support plugins on Android, so we shouldn't monitor the plugins
directory for any new ones that appear.
BUG=159063
Review URL: https://chromiumcodereview.appspot.com/11364106
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166378 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
This allows the browser and renderer processes to get new unique mailbox names without syncing with the GPU process main thread.
Review URL: https://chromiumcodereview.appspot.com/11362053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166351 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
The corresponding WebKit bug 94365 has been fixed and flakiness dashboard hasn't reported a recent failure.
BUG=142896
TBR=jam
Review URL: https://chromiumcodereview.appspot.com/11364104
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166335 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
| |
To compile on android, kValidOutputRates and kValidInputRates need to be defined.
Review URL: https://codereview.chromium.org/11359075
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166327 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now that we have support for fake audio streams when a
real audio device is not present, we should be able to
remove this flag.
BUG=120749
TEST=fingers crossed! (works locally at least)
TBR=jam,dalecurtis
Review URL: https://chromiumcodereview.appspot.com/11362121
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166315 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Cherrypick from m18
BUG=137065
Review URL: https://chromiumcodereview.appspot.com/11363111
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166302 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This causes unnecessary error logging.
BUG=
Review URL: https://codereview.chromium.org/11360070
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166301 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Properly propagate onSizeChanged events to ContentViewCore native and RWHVA.
- Tie RWHVA's size to the ContentViewCore, making sure it always pulls the right size.
- Fix what looks like a bug in TextureImageTransportSurface (thanks sievers@!). We were
exposing the size of the old buffer through GetSize() when we were dispatching swap
messages.
BUG=http://crbug.com/158430
Review URL: https://chromiumcodereview.appspot.com/11367021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166288 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
(non-view-source) page
BUG=112701
Review URL: https://chromiumcodereview.appspot.com/11365031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166287 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=114755
Review URL: https://chromiumcodereview.appspot.com/11368072
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166278 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
in the renderer.
BUG=152566
Review URL: https://chromiumcodereview.appspot.com/11363106
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166275 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This simplifies the programmatic interface for downloads.
R=benjhayden@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11338045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166269 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
It causes corrupted rendering.
BUG=137303
TEST=content_unittests
TBR=kbr
Review URL: https://codereview.chromium.org/11293123
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166261 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Otherwise because we have no further access to D3D devices, we will fail to collect driver date, etc., and then blacklisting will be based on incomplete GPUInfo.
This causes about:gpu to mis-behave when --blacklist-webgl is passed in and SwiftShader is installed.
BUG=158377
TEST=content_unittests, about:gpu
Review URL: https://codereview.chromium.org/11364060
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166260 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=158787
Review URL: https://chromiumcodereview.appspot.com/11312075
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166257 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This also fixes the modifiers for gesture events. The gesture events
on windows used to explicitly set the modifiers, but the right thing
to do is to set the modifiers appropriately on touch-events, and the
gesture events will inherit that.
BUG=159330
Review URL: https://codereview.chromium.org/11293102
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166251 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change the meaning of GPU memory manager client to a stub. Maintain a list
of stubs in the GPU memory manager.
BUG=134750
Review URL: https://chromiumcodereview.appspot.com/11363075
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166197 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This limits which files can include headers from webkit/dom_storage, and it
forces the access to go via libcontent.
Refactoring: moving (Local|Session)StorageUsageInfo away from DomStorageContext
and allowing the inclusion of dom_storage_types.h.
BUG=156446
Review URL: https://chromiumcodereview.appspot.com/11361096
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166196 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=159173
Review URL: https://chromiumcodereview.appspot.com/11312066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166193 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Anrdoid WebView build doesn't have libyuv, so the code depending on
it was broken there. It doesn't look like we need this on Android at
all, so just disable it based on OS for now; this can be revisited if
it's needed later.
BUG=
Review URL: https://codereview.chromium.org/11366084
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166190 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This patch removes all relevant files from Chromium; no new functionality at all.
BUG=159406
Review URL: https://chromiumcodereview.appspot.com/11293092
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166187 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=159468
Review URL: https://chromiumcodereview.appspot.com/11364094
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166162 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=158422
TEST=as in bug
Review URL: https://chromiumcodereview.appspot.com/11365096
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166146 0039d316-1c4b-4281-b951-d872f2087c98
|