| 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 virtual void LoadingStateChanged(TabContents* source); | 121 virtual void LoadingStateChanged(TabContents* source); |
| 122 virtual void CloseContents(TabContents* source); | 122 virtual void CloseContents(TabContents* source); |
| 123 virtual void MoveContents(TabContents* source, const gfx::Rect& pos); | 123 virtual void MoveContents(TabContents* source, const gfx::Rect& pos); |
| 124 virtual void URLStarredChanged(TabContents* source, bool starred); | 124 virtual void URLStarredChanged(TabContents* source, bool starred); |
| 125 virtual void UpdateTargetURL(TabContents* source, const GURL& url); | 125 virtual void UpdateTargetURL(TabContents* source, const GURL& url); |
| 126 virtual void ContentsZoomChange(bool zoom_in); | 126 virtual void ContentsZoomChange(bool zoom_in); |
| 127 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); | 127 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); |
| 128 virtual void ForwardMessageToExternalHost(const std::string& message, | 128 virtual void ForwardMessageToExternalHost(const std::string& message, |
| 129 const std::string& origin, | 129 const std::string& origin, |
| 130 const std::string& target); | 130 const std::string& target); |
| 131 virtual bool IsExternalTabContainer() const { | 131 virtual bool IsExternalTabContainer() const; |
| 132 return true; | |
| 133 }; | |
| 134 virtual gfx::NativeWindow GetFrameNativeWindow(); | 132 virtual gfx::NativeWindow GetFrameNativeWindow(); |
| 135 | 133 |
| 136 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 134 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
| 137 bool* is_keyboard_shortcut); | 135 bool* is_keyboard_shortcut); |
| 138 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); | 136 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); |
| 139 | 137 |
| 140 virtual bool TakeFocus(bool reverse); | 138 virtual bool TakeFocus(bool reverse); |
| 141 | 139 |
| 142 virtual bool CanDownload(int request_id); | 140 virtual bool CanDownload(int request_id); |
| 143 | 141 |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 views::FocusManager* focus_manager_; | 323 views::FocusManager* focus_manager_; |
| 326 | 324 |
| 327 views::View* external_tab_view_; | 325 views::View* external_tab_view_; |
| 328 | 326 |
| 329 IPC::Message* unload_reply_message_; | 327 IPC::Message* unload_reply_message_; |
| 330 | 328 |
| 331 DISALLOW_COPY_AND_ASSIGN(ExternalTabContainer); | 329 DISALLOW_COPY_AND_ASSIGN(ExternalTabContainer); |
| 332 }; | 330 }; |
| 333 | 331 |
| 334 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ | 332 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ |
| OLD | NEW |