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

Side by Side Diff: content/browser/tab_contents/tab_contents_observer.h

Issue 7066039: Remove dependency on PrefChangeRegistrar and renderer_preferences_util from content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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 | Annotate | Revision Log
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/page_transition_types.h" 9 #include "content/common/page_transition_types.h"
10 #include "ipc/ipc_channel.h" 10 #include "ipc/ipc_channel.h"
(...skipping 22 matching lines...) Expand all
33 // afterwards. 33 // afterwards.
34 void Observe(TabContents* tab); 34 void Observe(TabContents* tab);
35 35
36 private: 36 private:
37 TabContentsObserver* observer_; 37 TabContentsObserver* observer_;
38 TabContents* tab_; 38 TabContents* tab_;
39 39
40 DISALLOW_COPY_AND_ASSIGN(Registrar); 40 DISALLOW_COPY_AND_ASSIGN(Registrar);
41 }; 41 };
42 42
43 virtual void RenderViewCreated(RenderViewHost* render_view_host);
43 virtual void NavigateToPendingEntry( 44 virtual void NavigateToPendingEntry(
44 const GURL& url, 45 const GURL& url,
45 NavigationController::ReloadType reload_type); 46 NavigationController::ReloadType reload_type);
46
47 virtual void DidNavigateMainFramePostCommit( 47 virtual void DidNavigateMainFramePostCommit(
48 const NavigationController::LoadCommittedDetails& details, 48 const NavigationController::LoadCommittedDetails& details,
49 const ViewHostMsg_FrameNavigate_Params& params); 49 const ViewHostMsg_FrameNavigate_Params& params);
50 virtual void DidNavigateAnyFramePostCommit( 50 virtual void DidNavigateAnyFramePostCommit(
51 const NavigationController::LoadCommittedDetails& details, 51 const NavigationController::LoadCommittedDetails& details,
52 const ViewHostMsg_FrameNavigate_Params& params); 52 const ViewHostMsg_FrameNavigate_Params& params);
53 // |render_view_host| is the RenderViewHost for which the provisional load is 53 // |render_view_host| is the RenderViewHost for which the provisional load is
54 // happening. 54 // happening.
55 virtual void DidStartProvisionalLoadForFrame( 55 virtual void DidStartProvisionalLoadForFrame(
56 int64 frame_id, 56 int64 frame_id,
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 139
140 TabContents* tab_contents_; 140 TabContents* tab_contents_;
141 141
142 // The routing ID of the associated TabContents. 142 // The routing ID of the associated TabContents.
143 int routing_id_; 143 int routing_id_;
144 144
145 DISALLOW_COPY_AND_ASSIGN(TabContentsObserver); 145 DISALLOW_COPY_AND_ASSIGN(TabContentsObserver);
146 }; 146 };
147 147
148 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_ 148 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/browser/tab_contents/tab_contents.cc ('k') | content/browser/tab_contents/tab_contents_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698