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

Unified Diff: content/public/browser/browser_plugin_guest_delegate.h

Issue 291483010: <webview>: Move name attribute to chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@newwindow_refactor
Patch Set: Merge with ToT Created 6 years, 7 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/public/browser/browser_plugin_guest_delegate.h
diff --git a/content/public/browser/browser_plugin_guest_delegate.h b/content/public/browser/browser_plugin_guest_delegate.h
index cf552cfb5b986b79860394600774ee91a7ffffab..b327392e7bdf0edd345dd7d7f646616ff8b35485 100644
--- a/content/public/browser/browser_plugin_guest_delegate.h
+++ b/content/public/browser/browser_plugin_guest_delegate.h
@@ -200,6 +200,16 @@ class CONTENT_EXPORT BrowserPluginGuestDelegate {
const GURL& target_url,
WebContents* new_contents) {}
+ // Notification that a frame's name has changed. Note that this is only
+ // reported if the report_frame_name_changes flag is on in
+ // RendererPreferences.
+ // TODO(fsamuel): Delete this once BrowserPluginGuest is no longer a
+ // WebContentsDelegate.
+ virtual void FrameNameChanged(int render_frame_id,
+ bool is_top_level,
+ const std::string& name) {}
+
+
// Registers a |callback| with the delegate that the delegate would call when
// it is about to be destroyed.
typedef base::Callback<void(WebContents*)> DestructionCallback;

Powered by Google App Engine
This is Rietveld 408576698