| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 const GURL& target_url, | 143 const GURL& target_url, |
| 144 content::WebContents* new_contents) OVERRIDE; | 144 content::WebContents* new_contents) OVERRIDE; |
| 145 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 145 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
| 146 bool* is_keyboard_shortcut) OVERRIDE; | 146 bool* is_keyboard_shortcut) OVERRIDE; |
| 147 virtual void HandleKeyboardEvent( | 147 virtual void HandleKeyboardEvent( |
| 148 const NativeWebKeyboardEvent& event) OVERRIDE; | 148 const NativeWebKeyboardEvent& event) OVERRIDE; |
| 149 virtual bool TakeFocus(bool reverse) OVERRIDE; | 149 virtual bool TakeFocus(bool reverse) OVERRIDE; |
| 150 virtual bool CanDownload(content::WebContents* source, | 150 virtual bool CanDownload(content::WebContents* source, |
| 151 int request_id) OVERRIDE; | 151 int request_id) OVERRIDE; |
| 152 virtual bool OnGoToEntryOffset(int offset) OVERRIDE; | 152 virtual bool OnGoToEntryOffset(int offset) OVERRIDE; |
| 153 virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE; | 153 virtual bool HandleContextMenu( |
| 154 const content::ContextMenuParams& params) OVERRIDE; |
| 154 virtual bool ExecuteContextMenuCommand(int command) OVERRIDE; | 155 virtual bool ExecuteContextMenuCommand(int command) OVERRIDE; |
| 155 virtual void BeforeUnloadFired(content::WebContents* tab, | 156 virtual void BeforeUnloadFired(content::WebContents* tab, |
| 156 bool proceed, | 157 bool proceed, |
| 157 bool* proceed_to_fire_unload) OVERRIDE; | 158 bool* proceed_to_fire_unload) OVERRIDE; |
| 158 virtual content::JavaScriptDialogCreator* | 159 virtual content::JavaScriptDialogCreator* |
| 159 GetJavaScriptDialogCreator() OVERRIDE; | 160 GetJavaScriptDialogCreator() OVERRIDE; |
| 160 virtual void ShowRepostFormWarningDialog( | 161 virtual void ShowRepostFormWarningDialog( |
| 161 content::WebContents* source) OVERRIDE; | 162 content::WebContents* source) OVERRIDE; |
| 162 virtual void RunFileChooser( | 163 virtual void RunFileChooser( |
| 163 content::WebContents* tab, | 164 content::WebContents* tab, |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 395 const std::string& origin, | 396 const std::string& origin, |
| 396 const std::string& target) { | 397 const std::string& target) { |
| 397 NOTREACHED(); | 398 NOTREACHED(); |
| 398 } | 399 } |
| 399 | 400 |
| 400 virtual bool TakeFocus(bool reverse) { | 401 virtual bool TakeFocus(bool reverse) { |
| 401 NOTREACHED(); | 402 NOTREACHED(); |
| 402 return false; | 403 return false; |
| 403 } | 404 } |
| 404 | 405 |
| 405 virtual bool HandleContextMenu(const ContextMenuParams& params) { | 406 virtual bool HandleContextMenu(const content::ContextMenuParams& params) { |
| 406 NOTREACHED(); | 407 NOTREACHED(); |
| 407 return false; | 408 return false; |
| 408 } | 409 } |
| 409 | 410 |
| 410 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, | 411 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, |
| 411 bool* proceed_to_fire_unload) { | 412 bool* proceed_to_fire_unload) { |
| 412 NOTREACHED(); | 413 NOTREACHED(); |
| 413 } | 414 } |
| 414 }; | 415 }; |
| 415 | 416 |
| 416 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ | 417 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ |
| OLD | NEW |