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