summaryrefslogtreecommitdiffstats
path: root/content/public/browser/browser_plugin_guest_delegate.h
diff options
context:
space:
mode:
authorfsamuel@chromium.org <fsamuel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-06 00:48:19 +0000
committerfsamuel@chromium.org <fsamuel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-06 00:48:19 +0000
commita6bc2795c207f9da52cdfe2402d999015149d0e5 (patch)
treedd5f90eda0ef32ee9757d04b3ec88a7c7f1053a6 /content/public/browser/browser_plugin_guest_delegate.h
parent33aa554d5425b4b0d6df4943ecfe3e3ae69524f5 (diff)
downloadchromium_src-a6bc2795c207f9da52cdfe2402d999015149d0e5.zip
chromium_src-a6bc2795c207f9da52cdfe2402d999015149d0e5.tar.gz
chromium_src-a6bc2795c207f9da52cdfe2402d999015149d0e5.tar.bz2
<webview>: Fix user agent override
setUserAgentOverride should immediately reload page so that the <webview>'s view of hte user agent and the guest content's view are synchronized. This provides a more intuitive experience for the developer. Also, setUserAgentOverride should work as expected with the newwindow API. BUG=326214 Review URL: https://codereview.chromium.org/95953002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239087 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public/browser/browser_plugin_guest_delegate.h')
-rw-r--r--content/public/browser/browser_plugin_guest_delegate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/content/public/browser/browser_plugin_guest_delegate.h b/content/public/browser/browser_plugin_guest_delegate.h
index fd535df..c0d2ded 100644
--- a/content/public/browser/browser_plugin_guest_delegate.h
+++ b/content/public/browser/browser_plugin_guest_delegate.h
@@ -34,6 +34,9 @@ class CONTENT_EXPORT BrowserPluginGuestDelegate {
// to do.
virtual void Close() {}
+ // Notification that the embedder has completed attachment.
+ virtual void DidAttach() {}
+
// Informs the delegate that the guest render process is gone. |status|
// indicates whether the guest was killed, crashed, or was terminated
// gracefully.