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

Unified Diff: content/public/browser/web_contents.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.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 0836512db9140ba0416d1e0fbe3583d7e5f9f301..901bdf7f97595835b75fdcdeabc5eb7e6650ed6e 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -186,6 +186,9 @@ class WebContents : public PageNavigator,
// Returns the main frame for the currently active view.
virtual RenderFrameHost* GetMainFrame() = 0;
+ // Sets the window name of the main frame.
+ virtual void SetMainFrameName(const std::string& name) = 0;
+
// Returns the focused frame for the currently active view.
virtual RenderFrameHost* GetFocusedFrame() = 0;

Powered by Google App Engine
This is Rietveld 408576698