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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 | 141 |
142 virtual bool CanDownload(int request_id); | 142 virtual bool CanDownload(int request_id); |
143 | 143 |
144 virtual bool OnGoToEntryOffset(int offset); | 144 virtual bool OnGoToEntryOffset(int offset); |
145 | 145 |
146 virtual void ShowPageInfo(Profile* profile, | 146 virtual void ShowPageInfo(Profile* profile, |
147 const GURL& url, | 147 const GURL& url, |
148 const NavigationEntry::SSLStatus& ssl, | 148 const NavigationEntry::SSLStatus& ssl, |
149 bool show_history); | 149 bool show_history); |
150 | 150 |
| 151 virtual Browser* GetBrowser() { return browser_.get(); } |
| 152 |
151 // Overriden from TabContentsDelegate::AutomationResourceRoutingDelegate | 153 // Overriden from TabContentsDelegate::AutomationResourceRoutingDelegate |
152 virtual void RegisterRenderViewHost(RenderViewHost* render_view_host); | 154 virtual void RegisterRenderViewHost(RenderViewHost* render_view_host); |
153 virtual void UnregisterRenderViewHost(RenderViewHost* render_view_host); | 155 virtual void UnregisterRenderViewHost(RenderViewHost* render_view_host); |
154 | 156 |
155 // Overridden from NotificationObserver: | 157 // Overridden from NotificationObserver: |
156 virtual void Observe(NotificationType type, | 158 virtual void Observe(NotificationType type, |
157 const NotificationSource& source, | 159 const NotificationSource& source, |
158 const NotificationDetails& details); | 160 const NotificationDetails& details); |
159 | 161 |
160 // Handles the context menu display operation. This allows external | 162 // Handles the context menu display operation. This allows external |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 | 331 |
330 views::View* external_tab_view_; | 332 views::View* external_tab_view_; |
331 | 333 |
332 gfx::NativeWindow notification_window_; | 334 gfx::NativeWindow notification_window_; |
333 int notification_message_; | 335 int notification_message_; |
334 | 336 |
335 DISALLOW_COPY_AND_ASSIGN(ExternalTabContainer); | 337 DISALLOW_COPY_AND_ASSIGN(ExternalTabContainer); |
336 }; | 338 }; |
337 | 339 |
338 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ | 340 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ |
OLD | NEW |