| 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 <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "chrome/browser/tab_contents/tab_contents_delegate.h" | 10 #include "chrome/browser/tab_contents/tab_contents_delegate.h" |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 virtual void UpdateTargetURL(TabContents* source, const GURL& url); | 80 virtual void UpdateTargetURL(TabContents* source, const GURL& url); |
| 81 virtual void ContentsZoomChange(bool zoom_in); | 81 virtual void ContentsZoomChange(bool zoom_in); |
| 82 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); | 82 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); |
| 83 virtual void ForwardMessageToExternalHost(const std::string& message, | 83 virtual void ForwardMessageToExternalHost(const std::string& message, |
| 84 const std::string& origin, | 84 const std::string& origin, |
| 85 const std::string& target); | 85 const std::string& target); |
| 86 virtual bool IsExternalTabContainer() const { | 86 virtual bool IsExternalTabContainer() const { |
| 87 return true; | 87 return true; |
| 88 }; | 88 }; |
| 89 | 89 |
| 90 virtual ExtensionFunctionDispatcher *CreateExtensionFunctionDispatcher( | |
| 91 RenderViewHost* render_view_host, | |
| 92 const std::string& extension_id); | |
| 93 virtual bool TakeFocus(bool reverse); | 90 virtual bool TakeFocus(bool reverse); |
| 94 | 91 |
| 95 // Overridden from NotificationObserver: | 92 // Overridden from NotificationObserver: |
| 96 virtual void Observe(NotificationType type, | 93 virtual void Observe(NotificationType type, |
| 97 const NotificationSource& source, | 94 const NotificationSource& source, |
| 98 const NotificationDetails& details); | 95 const NotificationDetails& details); |
| 99 | 96 |
| 100 // Overridden from views::KeystrokeListener: | 97 // Overridden from views::KeystrokeListener: |
| 101 virtual bool ProcessKeyStroke(HWND window, UINT message, WPARAM wparam, | 98 virtual bool ProcessKeyStroke(HWND window, UINT message, WPARAM wparam, |
| 102 LPARAM lparam); | 99 LPARAM lparam); |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 | 137 |
| 141 // Contains the list of disabled context menu identifiers. | 138 // Contains the list of disabled context menu identifiers. |
| 142 std::vector<int> disabled_context_menu_ids_; | 139 std::vector<int> disabled_context_menu_ids_; |
| 143 | 140 |
| 144 scoped_ptr<RenderViewContextMenuExternalWin> external_context_menu_; | 141 scoped_ptr<RenderViewContextMenuExternalWin> external_context_menu_; |
| 145 | 142 |
| 146 DISALLOW_COPY_AND_ASSIGN(ExternalTabContainer); | 143 DISALLOW_COPY_AND_ASSIGN(ExternalTabContainer); |
| 147 }; | 144 }; |
| 148 | 145 |
| 149 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_H_ | 146 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_H_ |
| OLD | NEW |