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