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

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

Issue 8498022: Have ExtensionHost use TabContents instead of RenderViewHost. Try #2. The first (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/content_export.h" 9 #include "content/common/content_export.h"
10 #include "content/public/common/page_transition_types.h" 10 #include "content/public/common/page_transition_types.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 virtual void DidCommitProvisionalLoadForFrame( 43 virtual void DidCommitProvisionalLoadForFrame(
44 int64 frame_id, 44 int64 frame_id,
45 bool is_main_frame, 45 bool is_main_frame,
46 const GURL& url, 46 const GURL& url,
47 content::PageTransition transition_type); 47 content::PageTransition transition_type);
48 virtual void DidFailProvisionalLoad(int64 frame_id, 48 virtual void DidFailProvisionalLoad(int64 frame_id,
49 bool is_main_frame, 49 bool is_main_frame,
50 const GURL& validated_url, 50 const GURL& validated_url,
51 int error_code, 51 int error_code,
52 const string16& error_description); 52 const string16& error_description);
53 virtual void DocumentAvailableInMainFrame();
53 virtual void DocumentLoadedInFrame(int64 frame_id); 54 virtual void DocumentLoadedInFrame(int64 frame_id);
54 virtual void DidFinishLoad(int64 frame_id); 55 virtual void DidFinishLoad(int64 frame_id);
55 virtual void DidGetUserGesture(); 56 virtual void DidGetUserGesture();
56 virtual void DidGetIgnoredUIEvent(); 57 virtual void DidGetIgnoredUIEvent();
57 virtual void DidBecomeSelected(); 58 virtual void DidBecomeSelected();
58 59
59 virtual void DidStartLoading(); 60 virtual void DidStartLoading();
60 virtual void DidStopLoading(); 61 virtual void DidStopLoading();
61 virtual void RenderViewGone(); 62 virtual void RenderViewGone();
62 virtual void StopNavigation(); 63 virtual void StopNavigation();
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 // Invoked from TabContents. Invokes TabContentsDestroyed and NULL out 126 // Invoked from TabContents. Invokes TabContentsDestroyed and NULL out
126 // |tab_contents_|. 127 // |tab_contents_|.
127 void TabContentsDestroyed(); 128 void TabContentsDestroyed();
128 129
129 TabContents* tab_contents_; 130 TabContents* tab_contents_;
130 131
131 DISALLOW_COPY_AND_ASSIGN(TabContentsObserver); 132 DISALLOW_COPY_AND_ASSIGN(TabContentsObserver);
132 }; 133 };
133 134
134 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_ 135 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698