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

Unified Diff: content/public/browser/web_contents.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/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index c38df686ace6fd3d7fdfb954ebdc491af4776fc2..e6052a7d1d5c53b52194a492d35bcaf1bdaaf91a 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -180,6 +180,12 @@ class WebContents : public PageNavigator,
virtual void SetUserAgentOverride(const std::string& override) = 0;
virtual const std::string& GetUserAgentOverride() const = 0;
+ // Allows reading and writing the name of the top-level window.
Charlie Reis 2013/04/18 21:26:51 I don't understand why we need this in the public
+ virtual void SetWindowName(const std::string& name);
+ virtual const std::string& GetWindowName() const = 0;
+
+
+
// Tab navigation state ------------------------------------------------------
// Returns the current navigation properties, which if a navigation is

Powered by Google App Engine
This is Rietveld 408576698