| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_H_ | 5 #ifndef CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_H_ |
| 6 #define CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_H_ | 6 #define CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_H_ |
| 7 | 7 |
| 8 #include <atlbase.h> | 8 #include <atlbase.h> |
| 9 #include <atlapp.h> | 9 #include <atlapp.h> |
| 10 #include <atlcrack.h> | 10 #include <atlcrack.h> |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 ~ExternalTabContainer(); | 48 ~ExternalTabContainer(); |
| 49 | 49 |
| 50 TabContents* tab_contents() const { | 50 TabContents* tab_contents() const { |
| 51 return tab_contents_; | 51 return tab_contents_; |
| 52 } | 52 } |
| 53 | 53 |
| 54 bool Init(Profile* profile); | 54 bool Init(Profile* profile); |
| 55 // Overridden from TabContentsDelegate: | 55 // Overridden from TabContentsDelegate: |
| 56 virtual void OpenURLFromTab(TabContents* source, | 56 virtual void OpenURLFromTab(TabContents* source, |
| 57 const GURL& url, | 57 const GURL& url, |
| 58 const GURL& referrer, |
| 58 WindowOpenDisposition disposition, | 59 WindowOpenDisposition disposition, |
| 59 PageTransition::Type transition); | 60 PageTransition::Type transition); |
| 60 virtual void NavigationStateChanged(const TabContents* source, | 61 virtual void NavigationStateChanged(const TabContents* source, |
| 61 unsigned changed_flags); | 62 unsigned changed_flags); |
| 62 virtual void ReplaceContents(TabContents* source, TabContents* new_contents); | 63 virtual void ReplaceContents(TabContents* source, TabContents* new_contents); |
| 63 virtual void AddNewContents(TabContents* source, | 64 virtual void AddNewContents(TabContents* source, |
| 64 TabContents* new_contents, | 65 TabContents* new_contents, |
| 65 WindowOpenDisposition disposition, | 66 WindowOpenDisposition disposition, |
| 66 const gfx::Rect& initial_pos, | 67 const gfx::Rect& initial_pos, |
| 67 bool user_gesture); | 68 bool user_gesture); |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 HACCEL external_accel_table_; | 141 HACCEL external_accel_table_; |
| 141 unsigned int external_accel_entry_count_; | 142 unsigned int external_accel_entry_count_; |
| 142 // A view to handle focus cycling | 143 // A view to handle focus cycling |
| 143 TabContentsContainerView* tab_contents_container_; | 144 TabContentsContainerView* tab_contents_container_; |
| 144 private: | 145 private: |
| 145 DISALLOW_COPY_AND_ASSIGN(ExternalTabContainer); | 146 DISALLOW_COPY_AND_ASSIGN(ExternalTabContainer); |
| 146 }; | 147 }; |
| 147 | 148 |
| 148 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_H__ | 149 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_H__ |
| 149 | 150 |
| OLD | NEW |