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