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