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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 virtual bool TakeFocus(content::WebContents* source, bool reverse) OVERRIDE; | 138 virtual bool TakeFocus(content::WebContents* source, bool reverse) OVERRIDE; |
139 virtual bool CanDownload(content::RenderViewHost* render_view_host, | 139 virtual bool CanDownload(content::RenderViewHost* render_view_host, |
140 int request_id, | 140 int request_id, |
141 const std::string& request_method) OVERRIDE; | 141 const std::string& request_method) OVERRIDE; |
142 virtual bool OnGoToEntryOffset(int offset) OVERRIDE; | 142 virtual bool OnGoToEntryOffset(int offset) OVERRIDE; |
143 virtual bool HandleContextMenu( | 143 virtual bool HandleContextMenu( |
144 const content::ContextMenuParams& params) OVERRIDE; | 144 const content::ContextMenuParams& params) OVERRIDE; |
145 virtual void BeforeUnloadFired(content::WebContents* tab, | 145 virtual void BeforeUnloadFired(content::WebContents* tab, |
146 bool proceed, | 146 bool proceed, |
147 bool* proceed_to_fire_unload) OVERRIDE; | 147 bool* proceed_to_fire_unload) OVERRIDE; |
148 virtual content::JavaScriptDialogCreator* | 148 virtual content::JavaScriptDialogManager* |
149 GetJavaScriptDialogCreator() OVERRIDE; | 149 GetJavaScriptDialogManager() OVERRIDE; |
150 virtual void ShowRepostFormWarningDialog( | 150 virtual void ShowRepostFormWarningDialog( |
151 content::WebContents* source) OVERRIDE; | 151 content::WebContents* source) OVERRIDE; |
152 virtual void RunFileChooser( | 152 virtual void RunFileChooser( |
153 content::WebContents* tab, | 153 content::WebContents* tab, |
154 const content::FileChooserParams& params) OVERRIDE; | 154 const content::FileChooserParams& params) OVERRIDE; |
155 virtual void EnumerateDirectory(content::WebContents* tab, | 155 virtual void EnumerateDirectory(content::WebContents* tab, |
156 int request_id, | 156 int request_id, |
157 const FilePath& path) OVERRIDE; | 157 const FilePath& path) OVERRIDE; |
158 virtual void JSOutOfMemory(content::WebContents* tab); | 158 virtual void JSOutOfMemory(content::WebContents* tab); |
159 virtual void RegisterProtocolHandler(content::WebContents* tab, | 159 virtual void RegisterProtocolHandler(content::WebContents* tab, |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 return false; | 405 return false; |
406 } | 406 } |
407 | 407 |
408 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, | 408 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, |
409 bool* proceed_to_fire_unload) { | 409 bool* proceed_to_fire_unload) { |
410 NOTREACHED(); | 410 NOTREACHED(); |
411 } | 411 } |
412 }; | 412 }; |
413 | 413 |
414 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ | 414 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ |
OLD | NEW |