0
Commit Graph

62 Commits

Author SHA1 Message Date
sadrul@chromium.org
972cdd84b7 browser-plugin: Allow accepting drag-n-drop events.
This allows dragging content from within the embedder (or other windows) into
the browser-tag plugin.

BUG=120264

Review URL: https://codereview.chromium.org/11088043

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161457 0039d316-1c4b-4281-b951-d872f2087c98
2012-10-12 00:19:03 +00:00
fsamuel@chromium.org
81289ac3e1 Browser Plugin: Implement CanGoBack/CanGoForward
BUG=154831


Review URL: https://chromiumcodereview.appspot.com/11092023

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161414 0039d316-1c4b-4281-b951-d872f2087c98
2012-10-11 21:50:06 +00:00
jam@chromium.org
45df03fa72 Reland r161256: Fix the crash that was happening on the buildbot (but not trybots, for a strange reason) because ResourceBundle was initialized twice for tests that use the RenderViewTest harness.
The one difference is to check if ResourceBundle is initialized before initializing it. This is needed because on content_browsertests it's not initialized while in browser_tests it is. We can't make the two browser test binaries behave the same because of differences in how chrome's browser_tests and unit_tests can share the same test suite while in content that's not possible.

TBR=cpu
Review URL: https://codereview.chromium.org/11091058

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161361 0039d316-1c4b-4281-b951-d872f2087c98
2012-10-11 16:50:05 +00:00
jam@chromium.org
c422db02d3 Revert 161256 - Fix the crash that was happening on the buildbot (but not trybots, for a strange reason) because ResourceBundle was initialized twice for tests that use the RenderViewTest harness.
Review URL: https://codereview.chromium.org/11090061

TBR=jam@chromium.org
Review URL: https://codereview.chromium.org/11103025

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161275 0039d316-1c4b-4281-b951-d872f2087c98
2012-10-11 03:04:29 +00:00
jam@chromium.org
ae526e5d4d Fix the crash that was happening on the buildbot (but not trybots, for a strange reason) because ResourceBundle was initialized twice for tests that use the RenderViewTest harness.
Review URL: https://codereview.chromium.org/11090061

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161256 0039d316-1c4b-4281-b951-d872f2087c98
2012-10-11 01:17:56 +00:00
fsamuel@chromium.org
b27ccd4d94 Browser Plugin: When Guest crashes Embedder crashes in content shell
content_shell does not have the sad plugin asset. On crash, we attempt to
paint the sad plugin asset without verifying whether or not it's available.

In this patch we do that check. If it is not available we paint black instead.

As a small added bonus, this patch introduces the small optimization of destroying
the backing store when the guest crashes because we have no need of it. Subsequent
navigations will request a new backing store anyway.

BUG=155059

Review URL: https://chromiumcodereview.appspot.com/11085044

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161162 0039d316-1c4b-4281-b951-d872f2087c98
2012-10-10 19:53:00 +00:00
fsamuel@chromium.org
31455d23b9 Browser Plugin: Fix Events
This is a set of short-term fixes for BrowserPlugin events to address abarth@'s concerns.

1. Use frame's v8 context instead of creating a new one.
2. Use v8::Local<v8::Object> type for local handle to event objects.
3. Copy listener event listener vector before executing listeners to avoid referencing member variables in case one of the listeners deallocates the BrowserPlugin.

A longer term fix will involve exposing CustomEvent to the WebKit API and constructing
WebCustomEvents in browser_plugin.cc.

BUG=155044
TEST=BrowserPluginHostTest.*, BrowserPluginTest.* pass

Review URL: https://chromiumcodereview.appspot.com/11086025

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161123 0039d316-1c4b-4281-b951-d872f2087c98
2012-10-10 16:33:47 +00:00
danakj@chromium.org
4b01b9680e Remove implicit flooring Scale() method from Point and Size.
When scaling an integer point or size, return a floating point
result. Implicitly flooring hides design problems and bugs. Add
conversion functions to floor or ceil a SizeF or PointF
into an integer format again.

All existing behaviour has been preserved by replacing uses of
foo.Scale() with ToFlooredFoo(foo.Scale()).

R=sky
BUG=147395


Review URL: https://chromiumcodereview.appspot.com/11081007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160970 0039d316-1c4b-4281-b951-d872f2087c98
2012-10-09 23:17:35 +00:00
fsamuel@chromium.org
6a13c9f88b Browser Plugin: Update Guest WebContents Visibility on BrowserPlugin Visiblity Change.
BUG=140310
Test=BrowserPluginHostTest.{EmbedderVisiblityChanged, BrowserPluginVisibilityChanged}

Review URL: https://chromiumcodereview.appspot.com/11066032

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160660 0039d316-1c4b-4281-b951-d872f2087c98
2012-10-08 16:25:08 +00:00
creis@chromium.org
31942c8145 Browser plugin: Implement loadRedirect event.
BUG=153536
TEST=browserTag.addEventListener('loadRedirect', f);


Review URL: https://chromiumcodereview.appspot.com/11028019

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160400 0039d316-1c4b-4281-b951-d872f2087c98
2012-10-05 17:01:54 +00:00
lazyboy@chromium.org
1eb20dc0d4 <browser> Make new implementation the default.
Old implementation will be togglable by a flag kEnableBrowserPluginOldImplementation.

There are two js shims to create shadow DOM for two implementations, since we need to handle src differently in new path.

This would also fix src attribute setting behavior in apps for the new path.

Pending
1. Write tests to verify set src attribute fix for apps in new implementation path.

BUG=153629,142379
TESTED=BrowserTest tests pending. Checked with platform app: a. set src initially. b. set src later via js using element.src c. set src later via js using elem.setAttribute('src', ...)

Review URL: https://chromiumcodereview.appspot.com/11052019

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160225 0039d316-1c4b-4281-b951-d872f2087c98
2012-10-04 21:01:55 +00:00
fsamuel@chromium.org
4aefa0cf76 Browser plugin: Implement loadStart and loadAbort events
BUG=153534

Review URL: https://chromiumcodereview.appspot.com/10941042

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160205 0039d316-1c4b-4281-b951-d872f2087c98
2012-10-04 20:01:19 +00:00
fsamuel@chromium.org
37ded00c4a Browser Plugin: Implement terminate()
BUG=153532
Test=BrowserPluginHostTest.TerminateGuest


Review URL: https://chromiumcodereview.appspot.com/11048023

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160057 0039d316-1c4b-4281-b951-d872f2087c98
2012-10-04 02:43:21 +00:00
brettw@chromium.org
195d4cde0d Hook up PpapiPermissions in more places.
This doesn't actually do much more checking of the permissions, but it should wire it up everywhere we'll need it. It will also at least only return public interfaces via GetInterface in the proxy now unless other bits are supplied.

Review URL: https://codereview.chromium.org/10984094

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159729 0039d316-1c4b-4281-b951-d872f2087c98
2012-10-02 18:12:41 +00:00
thakis@chromium.org
59a7ae4e1e Delete some unused code found by -Wunused-function
BUG=none,100309

Review URL: https://chromiumcodereview.appspot.com/10977073

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159592 0039d316-1c4b-4281-b951-d872f2087c98
2012-10-01 23:54:44 +00:00
nasko@chromium.org
19be7a6da2 Propagate storage partition id and persistence to the browser.
BUG=145500


Review URL: https://chromiumcodereview.appspot.com/10978028

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159578 0039d316-1c4b-4281-b951-d872f2087c98
2012-10-01 23:03:37 +00:00
lazyboy@chromium.org
92a01cc52d [BrowserTag] Send dib info with NavigateGuest message,
This would fix guest painting in: set no src + resize + navigate to src case.

Without this change, for the scenario above, we don't get any dib at all from
embedder upon setting the non-empty src. Now we also ship dib on NavigateGuest
if necessary. This dib is the last accumulated dib from updateGeometry().

Note that our unit test exercises this case, but doesn't look for correct
painting, it only expects UpdateRect to be called with correct size. I've updated the test now to look for correct sized damage buffer instead.


BUG=151948
TEST= Create an empty src guest and keep changing its size in
SetInterval from the embedder, then in the middle set a non-empty src. Observed
that guest paints correctly with final size. Updated unit test to look for damage buffer with correct size instead of looking for UpdateRect with correct size.

Review URL: https://chromiumcodereview.appspot.com/10965048

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159404 0039d316-1c4b-4281-b951-d872f2087c98
2012-09-29 14:13:59 +00:00
fsamuel@chromium.org
f5be02aac5 Browser Plugin: Implement Back, Forward, and Go.
BUG=151143

Review URL: https://chromiumcodereview.appspot.com/10960003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159348 0039d316-1c4b-4281-b951-d872f2087c98
2012-09-28 22:08:25 +00:00
sadrul@chromium.org
c8e79b1b44 browser-plugin: Correctly notify the embedder when the guest starts/stops listening for touch-events.
The browser (RenderWidgetHost) does not send touch-events to the renderer unless
there are touch-event handlers on the page. So, if a guest in a browser-plugin has
touch-event handlers (or stops having touch handlers), then it needs to notify the
embedder, so that the embedder can in turn notify the browser whether to send
touch-events to the embedder or not.

BUG=152494

Review URL: https://codereview.chromium.org/10996023

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159285 0039d316-1c4b-4281-b951-d872f2087c98
2012-09-28 17:58:00 +00:00
vollick@chromium.org
a25e25b907 Fixes cases where we incorrectly convert from RectF to Rect by flooring. In all cases we should be taking the enclosing or enclosed int rect as appropriate.
This mainly affects bits of code using the old Rect Rect::Scale(float) function. There are, thankfully, not too many. I've replaced this legacy function with Rect Rect::ScaleUnsafe(float) and when this lands, I will open a bug for switching from ScaleUnsafe to a Scale followed by a ToEnclosedRect or ToEnclosingRect.

BUG=152596

Review URL: https://chromiumcodereview.appspot.com/10996037

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159256 0039d316-1c4b-4281-b951-d872f2087c98
2012-09-28 14:32:37 +00:00
fsamuel@chromium.org
885d896f64 Browser Plugin: Remove unnecessary references to frame_id
Cleanup no longer requires knowledge of the parent frame of the
BrowserPlugin and so we no longer need any references to the frame_id.

This patch cleans up cruft left over from old cleanup code.

BUG=none


Review URL: https://chromiumcodereview.appspot.com/10982068

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159123 0039d316-1c4b-4281-b951-d872f2087c98
2012-09-27 21:27:49 +00:00
nasko@chromium.org
74f45dda73 Add support for parsing a 'partition' attribute on the <browser> tag.
BUG=145500


Review URL: https://chromiumcodereview.appspot.com/10928237

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158329 0039d316-1c4b-4281-b951-d872f2087c98
2012-09-24 18:38:53 +00:00
fsamuel@chromium.org
305be7b102 Browser Plugin: Implement getProcessId
When we commit a navigation, we forward the RenderProcessHost ID to the Browser Plugin in the embedder so that
we can query it via getProcessId()

BUG=151212

Review URL: https://codereview.chromium.org/10965017

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157994 0039d316-1c4b-4281-b951-d872f2087c98
2012-09-21 15:46:55 +00:00
fsamuel@chromium.org
bab6d267ca Browser Plugin: Reload and Stop operations
Fairly simple change. Just a whole lot of plumbing to call the following:

void BrowserPluginGuest::Stop() {
  web_contents()->Stop();
}

void BrowserPluginGuest::Reload() {
  web_contents()->GetController().Reload(false);
}

This includes the parsing the methods in browser_plugin_bindings.cc, the IPCs in browser_plugin.cc, the plumbing to the embedder and from the embedder to the appropriate guest.

This also includes tests to verify that these two operations do indeed get plumbed correctly.

BUG=148981

Review URL: https://codereview.chromium.org/10917225

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157988 0039d316-1c4b-4281-b951-d872f2087c98
2012-09-21 15:24:10 +00:00
lazyboy@chromium.org
7a846df3cd This is followup from Charlie's comments on Fady's cl: http://chromiumcodereview.appspot.com/10560022, it seems I cannot upload patch to that issue (since I'm not owner), I'm creating a new one.
Split Embedder and Guest 'roles' for browser plugin, web contents can now play any or both roles, main idea is to have more readable separation between the two.
Also stop creating browser_plugin counterpart in browser/host for every web_contents, instead create them only when there's a browser_plugin element.


BUG= 141232

Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157650

Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157773

NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/10868012

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157808 0039d316-1c4b-4281-b951-d872f2087c98
2012-09-20 19:17:39 +00:00
zea@chromium.org
09cce46215 Revert 157773 - This is followup from Charlie's comments on Fady's cl: http://chromiumcodereview.appspot.com/10560022, it seems I cannot upload patch to that issue (since I'm not owner), I'm creating a new one.
NavigateGuest is flaky on windows (crashes at shutdown)

Split Embedder and Guest 'roles' for browser plugin, web contents can now play any or both roles, main idea is to have more readable separation between the two.
Also stop creating browser_plugin counterpart in browser/host for every web_contents, instead create them only when there's a browser_plugin element.


BUG= 141232

Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157650

Review URL: https://chromiumcodereview.appspot.com/10868012

TBR=lazyboy@chromium.org
Review URL: https://codereview.chromium.org/10968015

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157801 0039d316-1c4b-4281-b951-d872f2087c98
2012-09-20 18:33:30 +00:00
lazyboy@chromium.org
7f087fb389 This is followup from Charlie's comments on Fady's cl: http://chromiumcodereview.appspot.com/10560022, it seems I cannot upload patch to that issue (since I'm not owner), I'm creating a new one.
Split Embedder and Guest 'roles' for browser plugin, web contents can now play any or both roles, main idea is to have more readable separation between the two.
Also stop creating browser_plugin counterpart in browser/host for every web_contents, instead create them only when there's a browser_plugin element.


BUG= 141232

Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157650

Review URL: https://chromiumcodereview.appspot.com/10868012

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157773 0039d316-1c4b-4281-b951-d872f2087c98
2012-09-20 15:35:12 +00:00
zea@chromium.org
af886775b3 Revert 157650 - This is followup from Charlie's comments on Fady's cl: http://chromiumcodereview.appspot.com/10560022, it seems I cannot upload patch to that issue (since I'm not owner), I'm creating a new one.
Introduced too many static initializers - broke linux sizes.

Split Embedder and Guest 'roles' for browser plugin, web contents can now play any or both roles, main idea is to have more readable separation between the two.
Also stop creating browser_plugin counterpart in browser/host for every web_contents, instead create them only when there's a browser_plugin element.


BUG= 141232

Review URL: https://chromiumcodereview.appspot.com/10868012

TBR=lazyboy@chromium.org
Review URL: https://codereview.chromium.org/10946044

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157656 0039d316-1c4b-4281-b951-d872f2087c98
2012-09-19 23:53:01 +00:00
lazyboy@chromium.org
331264caeb This is followup from Charlie's comments on Fady's cl: http://chromiumcodereview.appspot.com/10560022, it seems I cannot upload patch to that issue (since I'm not owner), I'm creating a new one.
Split Embedder and Guest 'roles' for browser plugin, web contents can now play any or both roles, main idea is to have more readable separation between the two.
Also stop creating browser_plugin counterpart in browser/host for every web_contents, instead create them only when there's a browser_plugin element.


BUG= 141232

Review URL: https://chromiumcodereview.appspot.com/10868012

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157650 0039d316-1c4b-4281-b951-d872f2087c98
2012-09-19 23:23:55 +00:00
joi@chromium.org
24ddd0a46a Switch to EXPECT_FALSE to keep gcc 4.6 happy.
BUG=none


Review URL: https://chromiumcodereview.appspot.com/10830308

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151531 0039d316-1c4b-4281-b951-d872f2087c98
2012-08-14 19:12:57 +00:00
fsamuel@chromium.org
bfe14502ed Browser Plugin: Report Guest crash to Javascript
BUG=141207

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=150664

Review URL: https://chromiumcodereview.appspot.com/10832207

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150989 0039d316-1c4b-4281-b951-d872f2087c98
2012-08-10 03:53:54 +00:00
fsamuel@chromium.org
9d22b16c5a Browser Plugin: Tell WebKit that the Browser Plugin supports keyboard focus.
Now that http://trac.webkit.org/changeset/124954 has landed, let's tell WebKit
that this plugin supports keyboard focus.

BUG=120263

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=150666

Review URL: https://chromiumcodereview.appspot.com/10831215

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150984 0039d316-1c4b-4281-b951-d872f2087c98
2012-08-10 03:26:54 +00:00
fsamuel@chromium.org
e6e56757b4 Browser Plugin: New Implementation (Renderer Side)
BUG=140306
Tested: Added new browser tests!

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=150654

Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=150863

Review URL: https://chromiumcodereview.appspot.com/10830072

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150956 0039d316-1c4b-4281-b951-d872f2087c98
2012-08-10 00:46:06 +00:00
mmoss@chromium.org
8cedf7f93d Revert 150863 - Browser Plugin: New Implementation (Renderer Side)
BUG=140306
Tested: Added new browser tests!

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=150654

Review URL: https://chromiumcodereview.appspot.com/10830072

TBR=fsamuel@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10827257

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150873 0039d316-1c4b-4281-b951-d872f2087c98
2012-08-09 20:00:20 +00:00
fsamuel@chromium.org
71bad592a2 Browser Plugin: New Implementation (Renderer Side)
BUG=140306
Tested: Added new browser tests!

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=150654

Review URL: https://chromiumcodereview.appspot.com/10830072

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150863 0039d316-1c4b-4281-b951-d872f2087c98
2012-08-09 19:24:38 +00:00
jeremya@chromium.org
e5f3e39baa Revert 150654 - Browser Plugin: New Implementation (Renderer Side)
BUG=140306
Tested: Added new browser tests!

Review URL: https://chromiumcodereview.appspot.com/10830072

TBR=fsamuel@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10832219

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150681 0039d316-1c4b-4281-b951-d872f2087c98
2012-08-09 02:08:24 +00:00
jeremya@chromium.org
f308339bdc Revert 150664 - Browser Plugin: Report Guest crash to Javascript
BUG=141207

Review URL: https://chromiumcodereview.appspot.com/10832207

TBR=fsamuel@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10836169

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150679 0039d316-1c4b-4281-b951-d872f2087c98
2012-08-09 02:01:35 +00:00
jeremya@chromium.org
0fe0b5f74e Revert 150666 - Browser Plugin: Tell WebKit that the Browser Plugin supports keyboard focus.
Now that http://trac.webkit.org/changeset/124954 has landed, let's tell WebKit
that this plugin supports keyboard focus.

BUG=120263

Review URL: https://chromiumcodereview.appspot.com/10831215

TBR=fsamuel@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10831229

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150677 0039d316-1c4b-4281-b951-d872f2087c98
2012-08-09 02:00:05 +00:00
fsamuel@chromium.org
bc51b0a3d3 Browser Plugin: Tell WebKit that the Browser Plugin supports keyboard focus.
Now that http://trac.webkit.org/changeset/124954 has landed, let's tell WebKit
that this plugin supports keyboard focus.

BUG=120263

Review URL: https://chromiumcodereview.appspot.com/10831215

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150666 0039d316-1c4b-4281-b951-d872f2087c98
2012-08-09 01:17:33 +00:00
fsamuel@chromium.org
31bad29429 Browser Plugin: Report Guest crash to Javascript
BUG=141207

Review URL: https://chromiumcodereview.appspot.com/10832207

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150664 0039d316-1c4b-4281-b951-d872f2087c98
2012-08-09 01:10:20 +00:00
fsamuel@chromium.org
60e6ccb3e1 Browser Plugin: New Implementation (Renderer Side)
BUG=140306
Tested: Added new browser tests!

Review URL: https://chromiumcodereview.appspot.com/10830072

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150654 0039d316-1c4b-4281-b951-d872f2087c98
2012-08-09 00:47:16 +00:00
fsamuel@chromium.org
cc510d7e39 Browser Plugin: Rename old colliding files to old_*.
Some builds don't like two files in a project with the same name.

This addresses the issue. 

BUG=140306


Review URL: https://chromiumcodereview.appspot.com/10830204

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150498 0039d316-1c4b-4281-b951-d872f2087c98
2012-08-08 04:40:10 +00:00
fsamuel@chromium.org
cb25aa1b3f Browser Plugin: Move to old namespace
Move the existing implementation of the browser plugin to the content::old
to avoid class name collisions with the new version currently being upstreamed.

BUG=140306

Review URL: https://chromiumcodereview.appspot.com/10829219

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150387 0039d316-1c4b-4281-b951-d872f2087c98
2012-08-07 19:13:43 +00:00
fsamuel@chromium.org
bac466e1bb Browser Plugin: Rename BrowserPluginMsg/BrowserPluginHostMsg to OldBrowserPluginMsg/OldBrowserPluginHostMsg
The upcoming rewrite of the browser plugin has colliding names for IPC messages.

Rename existing messages to Old in preparation for the new implementation.

BUG=none


Review URL: https://chromiumcodereview.appspot.com/10829074

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149116 0039d316-1c4b-4281-b951-d872f2087c98
2012-07-31 02:10:54 +00:00
jbates@chromium.org
d1a9e0668a Improve GPU process URL crash reporting.
With this CL: if the GPU process crashes we will probably get the correct URL whether the crash occurred during off or onscreen context command processing.

If we still see blank URLs, more work can be done on the webkit side to report offscreen context URLs via webkitplatformsupport.

BUG=131466

Review URL: https://chromiumcodereview.appspot.com/10695133

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146488 0039d316-1c4b-4281-b951-d872f2087c98
2012-07-13 00:45:14 +00:00
ajwong@chromium.org
f78671752a Remove #pragma once from content
Review URL: https://chromiumcodereview.appspot.com/10696166

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98
2012-07-11 07:04:07 +00:00
fsamuel@chromium.org
a64403df95 Browser Plugin: Allow tabbing out of plugin.
BUG=none
TEST=manually


Review URL: https://chromiumcodereview.appspot.com/10665006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143980 0039d316-1c4b-4281-b951-d872f2087c98
2012-06-25 19:40:37 +00:00
lazyboy@chromium.org
5fbcd6b75e Force accelerated compositing for browser_plugin guest's RenderView.
Now I see that all browser_plugin/* files are moved to browser_plugin/old/* dir, I'll adjust the change if this patch seems reasonable.


BUG=133517
TEST=Gtk,without force compositing on all pages flag, can see guests being rendered with this patch. Also checked if regular pages (no browser plugin and not supposed to have h/w accelerating) correctly has acceleratedRendering set to false.


Review URL: https://chromiumcodereview.appspot.com/10581034

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143222 0039d316-1c4b-4281-b951-d872f2087c98
2012-06-20 19:08:31 +00:00
fsamuel@chromium.org
14cf0f1e4e Browser Plugin: Move to old directories
A new implementation is coming but this current implementation is still in use.

Moving the current implementation to old directories to make it easy to get rid
of once the new implementation has been upstreamed.

BUG=none
TEST=manually, browser plugin continues to work.


Review URL: https://chromiumcodereview.appspot.com/10555029

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142743 0039d316-1c4b-4281-b951-d872f2087c98
2012-06-18 17:15:57 +00:00
fsamuel@chromium.org
063b766ecc Browser Plugin: Plumbing to enable tabbing out of a browser tag
BUG=none  
TEST=manually


Review URL: https://chromiumcodereview.appspot.com/10544143

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142077 0039d316-1c4b-4281-b951-d872f2087c98
2012-06-14 02:48:17 +00:00