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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 virtual void AddNewContents(TabContents* source, | 64 virtual void AddNewContents(TabContents* source, |
65 TabContents* new_contents, | 65 TabContents* new_contents, |
66 WindowOpenDisposition disposition, | 66 WindowOpenDisposition disposition, |
67 const gfx::Rect& initial_pos, | 67 const gfx::Rect& initial_pos, |
68 bool user_gesture); | 68 bool user_gesture); |
69 virtual void ActivateContents(TabContents* contents); | 69 virtual void ActivateContents(TabContents* contents); |
70 virtual void LoadingStateChanged(TabContents* source); | 70 virtual void LoadingStateChanged(TabContents* source); |
71 virtual void CloseContents(TabContents* source); | 71 virtual void CloseContents(TabContents* source); |
72 virtual void MoveContents(TabContents* source, const gfx::Rect& pos); | 72 virtual void MoveContents(TabContents* source, const gfx::Rect& pos); |
73 virtual bool IsPopup(TabContents* source); | 73 virtual bool IsPopup(TabContents* source); |
| 74 virtual bool IsEmbedded(TabContents* source); |
74 virtual void URLStarredChanged(TabContents* source, bool starred); | 75 virtual void URLStarredChanged(TabContents* source, bool starred); |
75 virtual void UpdateTargetURL(TabContents* source, const GURL& url); | 76 virtual void UpdateTargetURL(TabContents* source, const GURL& url); |
76 virtual void ContentsZoomChange(bool zoom_in); | 77 virtual void ContentsZoomChange(bool zoom_in); |
77 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); | 78 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); |
78 virtual void ForwardMessageToExternalHost(const std::string& receiver, | 79 virtual void ForwardMessageToExternalHost(const std::string& receiver, |
79 const std::string& message); | 80 const std::string& message); |
80 | 81 |
81 | 82 |
82 // Notification service callback. | 83 // Notification service callback. |
83 virtual void Observe(NotificationType type, | 84 virtual void Observe(NotificationType type, |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 // The accelerator table of the external host. | 137 // The accelerator table of the external host. |
137 HACCEL external_accel_table_; | 138 HACCEL external_accel_table_; |
138 unsigned int external_accel_entry_count_; | 139 unsigned int external_accel_entry_count_; |
139 // A view to handle focus cycling | 140 // A view to handle focus cycling |
140 TabContentsContainerView* tab_contents_container_; | 141 TabContentsContainerView* tab_contents_container_; |
141 private: | 142 private: |
142 DISALLOW_COPY_AND_ASSIGN(ExternalTabContainer); | 143 DISALLOW_COPY_AND_ASSIGN(ExternalTabContainer); |
143 }; | 144 }; |
144 | 145 |
145 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_H__ | 146 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_H__ |
OLD | NEW |