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

Unified Diff: content/public/browser/web_contents_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/web_contents_delegate.h
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h
index 34a1c07e2fd6d017ecd1a82d70e7e41a31fafe77..90ce8b52aa37c5fa6b35a9c101695ddea5af9c81 100644
--- a/content/public/browser/web_contents_delegate.h
+++ b/content/public/browser/web_contents_delegate.h
@@ -467,6 +467,13 @@ class CONTENT_EXPORT WebContentsDelegate {
// Returns true if the WebContents is never visible.
virtual bool IsNeverVisible(WebContents* web_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.
+ virtual void FrameNameChanged(int render_frame_id,
+ bool is_top_level,
+ const std::string& name) {}
+
protected:
virtual ~WebContentsDelegate();

Powered by Google App Engine
This is Rietveld 408576698