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