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

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: cleanup 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 virtual void DidCommitProvisionalLoadForFrame( 45 virtual void DidCommitProvisionalLoadForFrame(
46 int64 frame_id, 46 int64 frame_id,
47 bool is_main_frame, 47 bool is_main_frame,
48 const GURL& url, 48 const GURL& url,
49 content::PageTransition transition_type); 49 content::PageTransition transition_type);
50 virtual void DidFailProvisionalLoad(int64 frame_id, 50 virtual void DidFailProvisionalLoad(int64 frame_id,
51 bool is_main_frame, 51 bool is_main_frame,
52 const GURL& validated_url, 52 const GURL& validated_url,
53 int error_code, 53 int error_code,
54 const string16& error_description); 54 const string16& error_description);
55 virtual void DocumentAvailableInMainFrame();
55 virtual void DocumentLoadedInFrame(int64 frame_id); 56 virtual void DocumentLoadedInFrame(int64 frame_id);
56 virtual void DidFinishLoad(int64 frame_id); 57 virtual void DidFinishLoad(int64 frame_id);
57 virtual void DidGetUserGesture(); 58 virtual void DidGetUserGesture();
58 virtual void DidGetIgnoredUIEvent(); 59 virtual void DidGetIgnoredUIEvent();
59 virtual void DidBecomeSelected(); 60 virtual void DidBecomeSelected();
60 61
61 virtual void DidStartLoading(); 62 virtual void DidStartLoading();
62 virtual void DidStopLoading(); 63 virtual void DidStopLoading();
63 virtual void StopNavigation(); 64 virtual void StopNavigation();
64 65
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 // Invoked from TabContents. Invokes TabContentsDestroyed and NULL out 127 // Invoked from TabContents. Invokes TabContentsDestroyed and NULL out
127 // |tab_contents_|. 128 // |tab_contents_|.
128 void TabContentsDestroyed(); 129 void TabContentsDestroyed();
129 130
130 TabContents* tab_contents_; 131 TabContents* tab_contents_;
131 132
132 DISALLOW_COPY_AND_ASSIGN(TabContentsObserver); 133 DISALLOW_COPY_AND_ASSIGN(TabContentsObserver);
133 }; 134 };
134 135
135 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_ 136 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698