Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1267)

Unified Diff: content/browser/browser_plugin/browser_plugin_guest.h

Issue 13467038: Browser Plugin: Expose frame name changes to the content API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/browser_plugin/browser_plugin_guest.h
diff --git a/content/browser/browser_plugin/browser_plugin_guest.h b/content/browser/browser_plugin/browser_plugin_guest.h
index 2bbf2f22185988d2548c2a06a7f08f23bf57ef04..dd4351f11f5be036f3fbd90dfc8d982c12c65706 100644
--- a/content/browser/browser_plugin/browser_plugin_guest.h
+++ b/content/browser/browser_plugin/browser_plugin_guest.h
@@ -155,7 +155,10 @@ class CONTENT_EXPORT BrowserPluginGuest : public NotificationObserver,
PageTransition transition_type,
RenderViewHost* render_view_host) OVERRIDE;
virtual void DidStopLoading(RenderViewHost* render_view_host) OVERRIDE;
-
+ virtual void DidUpdateFrameName(int frame_id,
+ bool is_top_level,
+ const std::string& name,
+ RenderViewHost* render_view_host) OVERRIDE;
virtual void RenderViewReady() OVERRIDE;
virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE;
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
@@ -377,9 +380,6 @@ class CONTENT_EXPORT BrowserPluginGuest : public NotificationObserver,
// Overriden in tests.
virtual void OnTakeFocus(bool reverse);
void OnUpdateDragCursor(WebKit::WebDragOperation operation);
- void OnUpdateFrameName(int frame_id,
- bool is_top_level,
- const std::string& name);
void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params);
// Helpers for |OnRespondPermission|.
@@ -428,7 +428,6 @@ class CONTENT_EXPORT BrowserPluginGuest : public NotificationObserver,
bool pending_lock_request_;
bool guest_visible_;
bool embedder_visible_;
- std::string name_;
bool auto_size_enabled_;
gfx::Size max_auto_size_;
gfx::Size min_auto_size_;

Powered by Google App Engine
This is Rietveld 408576698