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

Side by Side Diff: content/browser/tab_contents/tab_contents_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_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_ 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_
6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_ 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_
7 7
8 #include "content/browser/tab_contents/navigation_controller.h" 8 #include "content/browser/tab_contents/navigation_controller.h"
9 #include "content/common/content_export.h"
9 #include "content/common/page_transition_types.h" 10 #include "content/common/page_transition_types.h"
10 #include "ipc/ipc_channel.h" 11 #include "ipc/ipc_channel.h"
11 #include "webkit/glue/window_open_disposition.h" 12 #include "webkit/glue/window_open_disposition.h"
12 13
13 class RenderViewHost; 14 class RenderViewHost;
14 struct ViewHostMsg_FrameNavigate_Params; 15 struct ViewHostMsg_FrameNavigate_Params;
15 16
16 // An observer API implemented by classes which are interested in various page 17 // An observer API implemented by classes which are interested in various page
17 // load events from TabContents. They also get a chance to filter IPC messages. 18 // load events from TabContents. They also get a chance to filter IPC messages.
18 class TabContentsObserver : public IPC::Channel::Listener, 19 class CONTENT_EXPORT TabContentsObserver : public IPC::Channel::Listener,
19 public IPC::Message::Sender { 20 public IPC::Message::Sender {
20 public: 21 public:
21 virtual void RenderViewCreated(RenderViewHost* render_view_host); 22 virtual void RenderViewCreated(RenderViewHost* render_view_host);
22 virtual void NavigateToPendingEntry( 23 virtual void NavigateToPendingEntry(
23 const GURL& url, 24 const GURL& url,
24 NavigationController::ReloadType reload_type); 25 NavigationController::ReloadType reload_type);
25 virtual void DidNavigateMainFramePostCommit( 26 virtual void DidNavigateMainFramePostCommit(
26 const content::LoadCommittedDetails& details, 27 const content::LoadCommittedDetails& details,
27 const ViewHostMsg_FrameNavigate_Params& params); 28 const ViewHostMsg_FrameNavigate_Params& params);
28 virtual void DidNavigateAnyFramePostCommit( 29 virtual void DidNavigateAnyFramePostCommit(
29 const content::LoadCommittedDetails& details, 30 const content::LoadCommittedDetails& details,
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 118
118 TabContents* tab_contents_; 119 TabContents* tab_contents_;
119 120
120 // The routing ID of the associated TabContents. 121 // The routing ID of the associated TabContents.
121 int routing_id_; 122 int routing_id_;
122 123
123 DISALLOW_COPY_AND_ASSIGN(TabContentsObserver); 124 DISALLOW_COPY_AND_ASSIGN(TabContentsObserver);
124 }; 125 };
125 126
126 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_ 127 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698