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/content_export.h" | 9 #include "content/common/content_export.h" |
10 #include "content/common/page_transition_types.h" | 10 #include "content/common/page_transition_types.h" |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 bool is_main_frame, | 44 bool is_main_frame, |
45 const GURL& url, | 45 const GURL& url, |
46 PageTransition::Type transition_type); | 46 PageTransition::Type transition_type); |
47 virtual void DidFailProvisionalLoad(int64 frame_id, | 47 virtual void DidFailProvisionalLoad(int64 frame_id, |
48 bool is_main_frame, | 48 bool is_main_frame, |
49 const GURL& validated_url, | 49 const GURL& validated_url, |
50 int error_code); | 50 int error_code); |
51 virtual void DocumentLoadedInFrame(int64 frame_id); | 51 virtual void DocumentLoadedInFrame(int64 frame_id); |
52 virtual void DidFinishLoad(int64 frame_id); | 52 virtual void DidFinishLoad(int64 frame_id); |
53 virtual void DidGetUserGesture(); | 53 virtual void DidGetUserGesture(); |
| 54 virtual void DidGetIgnoredUIEvent(); |
54 virtual void DidBecomeSelected(); | 55 virtual void DidBecomeSelected(); |
55 | 56 |
56 virtual void DidStartLoading(); | 57 virtual void DidStartLoading(); |
57 virtual void DidStopLoading(); | 58 virtual void DidStopLoading(); |
58 virtual void RenderViewGone(); | 59 virtual void RenderViewGone(); |
59 virtual void StopNavigation(); | 60 virtual void StopNavigation(); |
60 | 61 |
61 virtual void DidOpenURL(const GURL& url, | 62 virtual void DidOpenURL(const GURL& url, |
62 const GURL& referrer, | 63 const GURL& referrer, |
63 WindowOpenDisposition disposition, | 64 WindowOpenDisposition disposition, |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 | 119 |
119 TabContents* tab_contents_; | 120 TabContents* tab_contents_; |
120 | 121 |
121 // The routing ID of the associated TabContents. | 122 // The routing ID of the associated TabContents. |
122 int routing_id_; | 123 int routing_id_; |
123 | 124 |
124 DISALLOW_COPY_AND_ASSIGN(TabContentsObserver); | 125 DISALLOW_COPY_AND_ASSIGN(TabContentsObserver); |
125 }; | 126 }; |
126 | 127 |
127 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_ | 128 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_ |
OLD | NEW |