| 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 OnGoToEntryOffset(int offset) OVERRIDE; | 138 virtual bool OnGoToEntryOffset(int offset) OVERRIDE; |
| 139 virtual bool HandleContextMenu( | 139 virtual bool HandleContextMenu( |
| 140 const content::ContextMenuParams& params) OVERRIDE; | 140 const content::ContextMenuParams& params) OVERRIDE; |
| 141 virtual void BeforeUnloadFired(content::WebContents* tab, | 141 virtual void BeforeUnloadFired(content::WebContents* tab, |
| 142 bool proceed, | 142 bool proceed, |
| 143 bool* proceed_to_fire_unload) OVERRIDE; | 143 bool* proceed_to_fire_unload) OVERRIDE; |
| 144 virtual content::JavaScriptDialogManager* | 144 virtual content::JavaScriptDialogManager* |
| 145 GetJavaScriptDialogManager() OVERRIDE; | 145 GetJavaScriptDialogManager() OVERRIDE; |
| 146 virtual void ShowRepostFormWarningDialog( | 146 virtual void ShowRepostFormWarningDialog( |
| 147 content::WebContents* source) OVERRIDE; | 147 content::WebContents* source) OVERRIDE; |
| 148 virtual content::ColorChooser* OpenColorChooser( |
| 149 content::WebContents* web_contents, SkColor color) OVERRIDE; |
| 148 virtual void RunFileChooser( | 150 virtual void RunFileChooser( |
| 149 content::WebContents* tab, | 151 content::WebContents* tab, |
| 150 const content::FileChooserParams& params) OVERRIDE; | 152 const content::FileChooserParams& params) OVERRIDE; |
| 151 virtual void EnumerateDirectory(content::WebContents* tab, | 153 virtual void EnumerateDirectory(content::WebContents* tab, |
| 152 int request_id, | 154 int request_id, |
| 153 const base::FilePath& path) OVERRIDE; | 155 const base::FilePath& path) OVERRIDE; |
| 154 virtual void JSOutOfMemory(content::WebContents* tab); | 156 virtual void JSOutOfMemory(content::WebContents* tab); |
| 155 virtual void RegisterProtocolHandler(content::WebContents* tab, | 157 virtual void RegisterProtocolHandler(content::WebContents* tab, |
| 156 const std::string& protocol, | 158 const std::string& protocol, |
| 157 const GURL& url, | 159 const GURL& url, |
| (...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 return false; | 400 return false; |
| 399 } | 401 } |
| 400 | 402 |
| 401 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, | 403 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, |
| 402 bool* proceed_to_fire_unload) { | 404 bool* proceed_to_fire_unload) { |
| 403 NOTREACHED(); | 405 NOTREACHED(); |
| 404 } | 406 } |
| 405 }; | 407 }; |
| 406 | 408 |
| 407 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ | 409 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ |
| OLD | NEW |