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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 const GURL& target_url, | 124 const GURL& target_url, |
125 content::WebContents* new_contents) OVERRIDE; | 125 content::WebContents* new_contents) OVERRIDE; |
126 virtual bool PreHandleKeyboardEvent( | 126 virtual bool PreHandleKeyboardEvent( |
127 content::WebContents* source, | 127 content::WebContents* source, |
128 const content::NativeWebKeyboardEvent& event, | 128 const content::NativeWebKeyboardEvent& event, |
129 bool* is_keyboard_shortcut) OVERRIDE; | 129 bool* is_keyboard_shortcut) OVERRIDE; |
130 virtual void HandleKeyboardEvent( | 130 virtual void HandleKeyboardEvent( |
131 content::WebContents* source, | 131 content::WebContents* source, |
132 const content::NativeWebKeyboardEvent& event) OVERRIDE; | 132 const content::NativeWebKeyboardEvent& event) OVERRIDE; |
133 virtual bool TakeFocus(content::WebContents* source, bool reverse) OVERRIDE; | 133 virtual bool TakeFocus(content::WebContents* source, bool reverse) OVERRIDE; |
| 134 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE; |
134 virtual void CanDownload(content::RenderViewHost* render_view_host, | 135 virtual void CanDownload(content::RenderViewHost* render_view_host, |
135 int request_id, | 136 int request_id, |
136 const std::string& request_method, | 137 const std::string& request_method, |
137 const base::Callback<void(bool)>& callback) OVERRIDE; | 138 const base::Callback<void(bool)>& callback) OVERRIDE; |
138 virtual bool OnGoToEntryOffset(int offset) OVERRIDE; | 139 virtual bool OnGoToEntryOffset(int offset) OVERRIDE; |
139 virtual bool HandleContextMenu( | 140 virtual bool HandleContextMenu( |
140 const content::ContextMenuParams& params) OVERRIDE; | 141 const content::ContextMenuParams& params) OVERRIDE; |
141 virtual void BeforeUnloadFired(content::WebContents* tab, | 142 virtual void BeforeUnloadFired(content::WebContents* tab, |
142 bool proceed, | 143 bool proceed, |
143 bool* proceed_to_fire_unload) OVERRIDE; | 144 bool* proceed_to_fire_unload) OVERRIDE; |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 return false; | 399 return false; |
399 } | 400 } |
400 | 401 |
401 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, | 402 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, |
402 bool* proceed_to_fire_unload) { | 403 bool* proceed_to_fire_unload) { |
403 NOTREACHED(); | 404 NOTREACHED(); |
404 } | 405 } |
405 }; | 406 }; |
406 | 407 |
407 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ | 408 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ |
OLD | NEW |