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(); |
71 | 72 |
72 virtual void DidStartLoading(); | 73 virtual void DidStartLoading(); |
73 virtual void DidStopLoading(); | 74 virtual void DidStopLoading(); |
74 virtual void RenderViewGone(); | 75 virtual void RenderViewGone(); |
75 virtual void StopNavigation(); | 76 virtual void StopNavigation(); |
76 | 77 |
77 virtual void DidOpenURL(const GURL& url, | 78 virtual void DidOpenURL(const GURL& url, |
78 const GURL& referrer, | 79 const GURL& referrer, |
79 WindowOpenDisposition disposition, | 80 WindowOpenDisposition disposition, |
80 PageTransition::Type transition); | 81 PageTransition::Type transition); |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 | 135 |
135 TabContents* tab_contents_; | 136 TabContents* tab_contents_; |
136 | 137 |
137 // The routing ID of the associated TabContents. | 138 // The routing ID of the associated TabContents. |
138 int routing_id_; | 139 int routing_id_; |
139 | 140 |
140 DISALLOW_COPY_AND_ASSIGN(TabContentsObserver); | 141 DISALLOW_COPY_AND_ASSIGN(TabContentsObserver); |
141 }; | 142 }; |
142 | 143 |
143 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_ | 144 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_ |
OLD | NEW |