| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 virtual void DidNavigateMainFramePostCommit( | 42 virtual void DidNavigateMainFramePostCommit( |
| 43 const NavigationController::LoadCommittedDetails& details, | 43 const NavigationController::LoadCommittedDetails& details, |
| 44 const ViewHostMsg_FrameNavigate_Params& params); | 44 const ViewHostMsg_FrameNavigate_Params& params); |
| 45 virtual void DidNavigateAnyFramePostCommit( | 45 virtual void DidNavigateAnyFramePostCommit( |
| 46 const NavigationController::LoadCommittedDetails& details, | 46 const NavigationController::LoadCommittedDetails& details, |
| 47 const ViewHostMsg_FrameNavigate_Params& params); | 47 const ViewHostMsg_FrameNavigate_Params& params); |
| 48 virtual void DidStartProvisionalLoadForFrame(int64 frame_id, | 48 virtual void DidStartProvisionalLoadForFrame(int64 frame_id, |
| 49 bool is_main_frame, | 49 bool is_main_frame, |
| 50 const GURL& validated_url, | 50 const GURL& validated_url, |
| 51 bool is_error_page); | 51 bool is_error_page); |
| 52 virtual void ProvisionalChangeToMainFrameUrl(const GURL& url); | 52 virtual void ProvisionalChangeToMainFrameUrl(const GURL& url, |
| 53 bool has_opener_set); |
| 53 virtual void DidCommitProvisionalLoadForFrame( | 54 virtual void DidCommitProvisionalLoadForFrame( |
| 54 int64 frame_id, | 55 int64 frame_id, |
| 55 bool is_main_frame, | 56 bool is_main_frame, |
| 56 const GURL& url, | 57 const GURL& url, |
| 57 PageTransition::Type transition_type); | 58 PageTransition::Type transition_type); |
| 58 virtual void DidFailProvisionalLoad(int64 frame_id, | 59 virtual void DidFailProvisionalLoad(int64 frame_id, |
| 59 bool is_main_frame, | 60 bool is_main_frame, |
| 60 const GURL& validated_url, | 61 const GURL& validated_url, |
| 61 int error_code); | 62 int error_code); |
| 62 virtual void DocumentLoadedInFrame(int64 frame_id); | 63 virtual void DocumentLoadedInFrame(int64 frame_id); |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 | 128 |
| 128 TabContents* tab_contents_; | 129 TabContents* tab_contents_; |
| 129 | 130 |
| 130 // The routing ID of the associated TabContents. | 131 // The routing ID of the associated TabContents. |
| 131 int routing_id_; | 132 int routing_id_; |
| 132 | 133 |
| 133 DISALLOW_COPY_AND_ASSIGN(TabContentsObserver); | 134 DISALLOW_COPY_AND_ASSIGN(TabContentsObserver); |
| 134 }; | 135 }; |
| 135 | 136 |
| 136 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_ | 137 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_ |
| OLD | NEW |