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

Side by Side Diff: content/browser/renderer_host/render_view_host_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
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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_OBSERVER_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_OBSERVER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_OBSERVER_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_OBSERVER_H_
7 7
8 #include "ipc/ipc_channel.h" 8 #include "ipc/ipc_channel.h"
9 #include "content/common/content_export.h"
9 10
10 class RenderViewHost; 11 class RenderViewHost;
11 struct ViewMsg_Navigate_Params; 12 struct ViewMsg_Navigate_Params;
12 13
13 // An observer API implemented by classes which want to filter IPC messages from 14 // An observer API implemented by classes which want to filter IPC messages from
14 // RenderViewHost. 15 // RenderViewHost.
15 class RenderViewHostObserver : public IPC::Channel::Listener, 16 class CONTENT_EXPORT RenderViewHostObserver : public IPC::Channel::Listener,
16 public IPC::Message::Sender { 17 public IPC::Message::Sender {
17 public: 18 public:
18 19
19 protected: 20 protected:
20 explicit RenderViewHostObserver(RenderViewHost* render_view_host); 21 explicit RenderViewHostObserver(RenderViewHost* render_view_host);
21 22
22 virtual ~RenderViewHostObserver(); 23 virtual ~RenderViewHostObserver();
23 24
24 // Invoked after the RenderViewHost is created in the renderer process. After 25 // Invoked after the RenderViewHost is created in the renderer process. After
25 // this point, messages can be sent to it (or to observers in the renderer). 26 // this point, messages can be sent to it (or to observers in the renderer).
26 virtual void RenderViewHostInitialized(); 27 virtual void RenderViewHostInitialized();
(...skipping 23 matching lines...) Expand all
50 51
51 RenderViewHost* render_view_host_; 52 RenderViewHost* render_view_host_;
52 53
53 // The routing ID of the associated RenderViewHost. 54 // The routing ID of the associated RenderViewHost.
54 int routing_id_; 55 int routing_id_;
55 56
56 DISALLOW_COPY_AND_ASSIGN(RenderViewHostObserver); 57 DISALLOW_COPY_AND_ASSIGN(RenderViewHostObserver);
57 }; 58 };
58 59
59 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_OBSERVER_H_ 60 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698