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