OLD | NEW |
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 int64 frame_id, | 61 int64 frame_id, |
62 bool is_main_frame, | 62 bool is_main_frame, |
63 const GURL& url, | 63 const GURL& url, |
64 PageTransition::Type transition_type); | 64 PageTransition::Type transition_type); |
65 virtual void DidFailProvisionalLoad(int64 frame_id, | 65 virtual void DidFailProvisionalLoad(int64 frame_id, |
66 bool is_main_frame, | 66 bool is_main_frame, |
67 const GURL& validated_url, | 67 const GURL& validated_url, |
68 int error_code); | 68 int error_code); |
69 virtual void DocumentLoadedInFrame(int64 frame_id); | 69 virtual void DocumentLoadedInFrame(int64 frame_id); |
70 virtual void DidFinishLoad(int64 frame_id); | 70 virtual void DidFinishLoad(int64 frame_id); |
71 virtual void DidGetUserGesture(); | |
72 | 71 |
73 virtual void DidStartLoading(); | 72 virtual void DidStartLoading(); |
74 virtual void DidStopLoading(); | 73 virtual void DidStopLoading(); |
75 virtual void RenderViewGone(); | 74 virtual void RenderViewGone(); |
76 virtual void StopNavigation(); | 75 virtual void StopNavigation(); |
77 | 76 |
78 virtual void DidOpenURL(const GURL& url, | 77 virtual void DidOpenURL(const GURL& url, |
79 const GURL& referrer, | 78 const GURL& referrer, |
80 WindowOpenDisposition disposition, | 79 WindowOpenDisposition disposition, |
81 PageTransition::Type transition); | 80 PageTransition::Type transition); |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 | 134 |
136 TabContents* tab_contents_; | 135 TabContents* tab_contents_; |
137 | 136 |
138 // The routing ID of the associated TabContents. | 137 // The routing ID of the associated TabContents. |
139 int routing_id_; | 138 int routing_id_; |
140 | 139 |
141 DISALLOW_COPY_AND_ASSIGN(TabContentsObserver); | 140 DISALLOW_COPY_AND_ASSIGN(TabContentsObserver); |
142 }; | 141 }; |
143 | 142 |
144 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_ | 143 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_ |
OLD | NEW |