| 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_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 virtual bool PreHandleKeyboardEvent( | 121 virtual bool PreHandleKeyboardEvent( |
| 122 content::WebContents* source, | 122 content::WebContents* source, |
| 123 const content::NativeWebKeyboardEvent& event, | 123 const content::NativeWebKeyboardEvent& event, |
| 124 bool* is_keyboard_shortcut) OVERRIDE; | 124 bool* is_keyboard_shortcut) OVERRIDE; |
| 125 virtual void HandleKeyboardEvent( | 125 virtual void HandleKeyboardEvent( |
| 126 content::WebContents* source, | 126 content::WebContents* source, |
| 127 const content::NativeWebKeyboardEvent& event) OVERRIDE; | 127 const content::NativeWebKeyboardEvent& event) OVERRIDE; |
| 128 virtual bool TakeFocus(content::WebContents* source, bool reverse) OVERRIDE; | 128 virtual bool TakeFocus(content::WebContents* source, bool reverse) OVERRIDE; |
| 129 virtual bool CanDownload(content::RenderViewHost* render_view_host, | 129 virtual bool CanDownload(content::RenderViewHost* render_view_host, |
| 130 int request_id, | 130 int request_id, |
| 131 bool has_auth, |
| 131 const std::string& request_method) OVERRIDE; | 132 const std::string& request_method) OVERRIDE; |
| 132 virtual bool OnGoToEntryOffset(int offset) OVERRIDE; | 133 virtual bool OnGoToEntryOffset(int offset) OVERRIDE; |
| 133 virtual bool HandleContextMenu( | 134 virtual bool HandleContextMenu( |
| 134 const content::ContextMenuParams& params) OVERRIDE; | 135 const content::ContextMenuParams& params) OVERRIDE; |
| 135 virtual void BeforeUnloadFired(content::WebContents* tab, | 136 virtual void BeforeUnloadFired(content::WebContents* tab, |
| 136 bool proceed, | 137 bool proceed, |
| 137 bool* proceed_to_fire_unload) OVERRIDE; | 138 bool* proceed_to_fire_unload) OVERRIDE; |
| 138 virtual content::JavaScriptDialogManager* | 139 virtual content::JavaScriptDialogManager* |
| 139 GetJavaScriptDialogManager() OVERRIDE; | 140 GetJavaScriptDialogManager() OVERRIDE; |
| 140 virtual void ShowRepostFormWarningDialog( | 141 virtual void ShowRepostFormWarningDialog( |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 return false; | 387 return false; |
| 387 } | 388 } |
| 388 | 389 |
| 389 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, | 390 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, |
| 390 bool* proceed_to_fire_unload) { | 391 bool* proceed_to_fire_unload) { |
| 391 NOTREACHED(); | 392 NOTREACHED(); |
| 392 } | 393 } |
| 393 }; | 394 }; |
| 394 | 395 |
| 395 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ | 396 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ |
| OLD | NEW |