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

Side by Side Diff: content/renderer/render_process_observer.h

Issue 7800015: prune down content_dll change to just the CONTENT_EXPORTS (Closed)
Patch Set: update copyright headers, merge Created 9 years, 3 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 unified diff | Download patch
« no previous file with comments | « content/renderer/pepper_plugin_delegate_impl.h ('k') | content/renderer/render_thread.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_RENDER_PROCESS_OBSERVER_H_ 5 #ifndef CONTENT_RENDERER_RENDER_PROCESS_OBSERVER_H_
6 #define CONTENT_RENDERER_RENDER_PROCESS_OBSERVER_H_ 6 #define CONTENT_RENDERER_RENDER_PROCESS_OBSERVER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "ipc/ipc_message.h" 10 #include "ipc/ipc_message.h"
11 #include "content/common/content_export.h"
jam 2011/09/13 19:05:34 nit: order
11 12
12 class GURL; 13 class GURL;
13 14
14 // Base class for objects that want to filter control IPC messages and get 15 // Base class for objects that want to filter control IPC messages and get
15 // notified of events. 16 // notified of events.
16 class RenderProcessObserver : public IPC::Message::Sender { 17 class CONTENT_EXPORT RenderProcessObserver : public IPC::Message::Sender {
17 public: 18 public:
18 RenderProcessObserver(); 19 RenderProcessObserver();
19 virtual ~RenderProcessObserver(); 20 virtual ~RenderProcessObserver();
20 21
21 // IPC::Message::Sender 22 // IPC::Message::Sender
22 virtual bool Send(IPC::Message* message); 23 virtual bool Send(IPC::Message* message);
23 24
24 // Allows filtering of control messages. 25 // Allows filtering of control messages.
25 virtual bool OnControlMessageReceived(const IPC::Message& message); 26 virtual bool OnControlMessageReceived(const IPC::Message& message);
26 27
27 // Notification that the render process is shutting down. 28 // Notification that the render process is shutting down.
28 virtual void OnRenderProcessShutdown(); 29 virtual void OnRenderProcessShutdown();
29 30
30 // Called right after the WebKit API is initialized. 31 // Called right after the WebKit API is initialized.
31 virtual void WebKitInitialized(); 32 virtual void WebKitInitialized();
32 33
33 virtual void IdleNotification(); 34 virtual void IdleNotification();
34 35
35 private: 36 private:
36 DISALLOW_COPY_AND_ASSIGN(RenderProcessObserver); 37 DISALLOW_COPY_AND_ASSIGN(RenderProcessObserver);
37 }; 38 };
38 39
39 #endif // CONTENT_RENDERER_RENDER_PROCESS_OBSERVER_H_ 40 #endif // CONTENT_RENDERER_RENDER_PROCESS_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper_plugin_delegate_impl.h ('k') | content/renderer/render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698