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<content::ColorSuggestion>& suggestions) 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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
393 return false; | 395 return false; |
394 } | 396 } |
395 | 397 |
396 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, | 398 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, |
397 bool* proceed_to_fire_unload) { | 399 bool* proceed_to_fire_unload) { |
398 NOTREACHED(); | 400 NOTREACHED(); |
399 } | 401 } |
400 }; | 402 }; |
401 | 403 |
402 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ | 404 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ |
OLD | NEW |