OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_WIN_H_ | 5 #ifndef CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ |
6 #define CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ | 6 #define CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 #include <map> | 10 #include <map> |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 WindowOpenDisposition disposition, | 110 WindowOpenDisposition disposition, |
111 PageTransition::Type transition); | 111 PageTransition::Type transition); |
112 virtual void NavigationStateChanged(const TabContents* source, | 112 virtual void NavigationStateChanged(const TabContents* source, |
113 unsigned changed_flags); | 113 unsigned changed_flags); |
114 virtual void AddNewContents(TabContents* source, | 114 virtual void AddNewContents(TabContents* source, |
115 TabContents* new_contents, | 115 TabContents* new_contents, |
116 WindowOpenDisposition disposition, | 116 WindowOpenDisposition disposition, |
117 const gfx::Rect& initial_pos, | 117 const gfx::Rect& initial_pos, |
118 bool user_gesture); | 118 bool user_gesture); |
119 virtual void ActivateContents(TabContents* contents); | 119 virtual void ActivateContents(TabContents* contents); |
| 120 virtual void DeactivateContents(TabContents* contents); |
120 virtual void LoadingStateChanged(TabContents* source); | 121 virtual void LoadingStateChanged(TabContents* source); |
121 virtual void CloseContents(TabContents* source); | 122 virtual void CloseContents(TabContents* source); |
122 virtual void MoveContents(TabContents* source, const gfx::Rect& pos); | 123 virtual void MoveContents(TabContents* source, const gfx::Rect& pos); |
123 virtual void URLStarredChanged(TabContents* source, bool starred); | 124 virtual void URLStarredChanged(TabContents* source, bool starred); |
124 virtual void UpdateTargetURL(TabContents* source, const GURL& url); | 125 virtual void UpdateTargetURL(TabContents* source, const GURL& url); |
125 virtual void ContentsZoomChange(bool zoom_in); | 126 virtual void ContentsZoomChange(bool zoom_in); |
126 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); | 127 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); |
127 virtual void ForwardMessageToExternalHost(const std::string& message, | 128 virtual void ForwardMessageToExternalHost(const std::string& message, |
128 const std::string& origin, | 129 const std::string& origin, |
129 const std::string& target); | 130 const std::string& target); |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 | 326 |
326 views::View* external_tab_view_; | 327 views::View* external_tab_view_; |
327 | 328 |
328 gfx::NativeWindow notification_window_; | 329 gfx::NativeWindow notification_window_; |
329 int notification_message_; | 330 int notification_message_; |
330 | 331 |
331 DISALLOW_COPY_AND_ASSIGN(ExternalTabContainer); | 332 DISALLOW_COPY_AND_ASSIGN(ExternalTabContainer); |
332 }; | 333 }; |
333 | 334 |
334 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ | 335 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ |
OLD | NEW |