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

Unified Diff: content/browser/renderer_host/render_view_host.h

Issue 8676032: Move RenderViewHostObserver to content/public/browser/ and put it into the content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add render_view_host.h to DEPS file Created 9 years, 1 month 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/renderer_host/render_view_host.h
diff --git a/content/browser/renderer_host/render_view_host.h b/content/browser/renderer_host/render_view_host.h
index caa9e63f2d51f7d0485d68e465777aff29ce3364..468688eec80c076a3953acf9e2dce3d286a4a0fd 100644
--- a/content/browser/renderer_host/render_view_host.h
+++ b/content/browser/renderer_host/render_view_host.h
@@ -33,7 +33,6 @@ class FilePath;
class GURL;
class PowerSaveBlocker;
class RenderViewHostDelegate;
-class RenderViewHostObserver;
class SessionStorageNamespace;
class SiteInstance;
class SkBitmap;
@@ -53,6 +52,7 @@ class ListValue;
}
namespace content {
+class RenderViewHostObserver;
struct FileChooserParams;
struct ShowDesktopNotificationHostMsgParams;
}
@@ -480,12 +480,12 @@ class CONTENT_EXPORT RenderViewHost : public RenderWidgetHost {
// one or two places. Have the caller send the IPC message directly.
protected:
- friend class RenderViewHostObserver;
+ friend class content::RenderViewHostObserver;
// Add and remove observers for filtering IPC messages. Clients must be sure
// to remove the observer before they go away.
- void AddObserver(RenderViewHostObserver* observer);
- void RemoveObserver(RenderViewHostObserver* observer);
+ void AddObserver(content::RenderViewHostObserver* observer);
+ void RemoveObserver(content::RenderViewHostObserver* observer);
// RenderWidgetHost protected overrides.
virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
@@ -676,7 +676,7 @@ class CONTENT_EXPORT RenderViewHost : public RenderWidgetHost {
PowerSaveBlockerMap power_save_blockers_;
// A list of observers that filter messages. Weak references.
- ObserverList<RenderViewHostObserver> observers_;
+ ObserverList<content::RenderViewHostObserver> observers_;
DISALLOW_COPY_AND_ASSIGN(RenderViewHost);
};
« no previous file with comments | « content/browser/debugger/render_view_devtools_agent_host.cc ('k') | content/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698