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

Unified Diff: content/renderer/render_thread.h

Issue 8116009: Move RenderProcessObserver and RenderViewVisitor to content\public\renderer and put them in the c... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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
« no previous file with comments | « content/renderer/render_process_observer.cc ('k') | content/renderer/render_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread.h
===================================================================
--- content/renderer/render_thread.h (revision 103758)
+++ content/renderer/render_thread.h (working copy)
@@ -32,7 +32,6 @@
class IndexedDBDispatcher;
class RendererHistogram;
class RendererHistogramSnapshots;
-class RenderProcessObserver;
class RendererNetPredictor;
class RendererWebKitPlatformSupportImpl;
class SkBitmap;
@@ -45,11 +44,6 @@
struct ViewMsg_New_Params;
struct WebPreferences;
-namespace base {
-class MessageLoopProxy;
-class Thread;
-}
-
namespace IPC {
struct ChannelHandle;
}
@@ -58,6 +52,15 @@
class WebStorageEventDispatcher;
}
+namespace base {
+class MessageLoopProxy;
+class Thread;
+}
+
+namespace content {
+class RenderProcessObserver;
+}
+
namespace v8 {
class Extension;
}
@@ -133,8 +136,8 @@
virtual void WidgetHidden();
virtual void WidgetRestored();
- void AddObserver(RenderProcessObserver* observer);
- void RemoveObserver(RenderProcessObserver* observer);
+ void AddObserver(content::RenderProcessObserver* observer);
+ void RemoveObserver(content::RenderProcessObserver* observer);
// These methods modify how the next message is sent. Normally, when sending
// a synchronous message that runs a nested message loop, we need to suspend
@@ -276,7 +279,7 @@
// Map of registered v8 extensions. The key is the extension name.
std::set<std::string> v8_extensions_;
- ObserverList<RenderProcessObserver> observers_;
+ ObserverList<content::RenderProcessObserver> observers_;
DISALLOW_COPY_AND_ASSIGN(RenderThread);
};
« no previous file with comments | « content/renderer/render_process_observer.cc ('k') | content/renderer/render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698