Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Side by Side Diff: chrome/browser/ui/views/external_tab_container_win.h

Issue 13150004: Support color chooser inside extesions, apps, chrome frame, dev tool (Closed) Base URL: http://git.chromium.org/chromium/src.git@ngcolor
Patch Set: Used static class member Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 virtual bool OnGoToEntryOffset(int offset) OVERRIDE; 133 virtual bool OnGoToEntryOffset(int offset) OVERRIDE;
134 virtual bool HandleContextMenu( 134 virtual bool HandleContextMenu(
135 const content::ContextMenuParams& params) OVERRIDE; 135 const content::ContextMenuParams& params) OVERRIDE;
136 virtual void BeforeUnloadFired(content::WebContents* tab, 136 virtual void BeforeUnloadFired(content::WebContents* tab,
137 bool proceed, 137 bool proceed,
138 bool* proceed_to_fire_unload) OVERRIDE; 138 bool* proceed_to_fire_unload) OVERRIDE;
139 virtual content::JavaScriptDialogManager* 139 virtual content::JavaScriptDialogManager*
140 GetJavaScriptDialogManager() OVERRIDE; 140 GetJavaScriptDialogManager() OVERRIDE;
141 virtual void ShowRepostFormWarningDialog( 141 virtual void ShowRepostFormWarningDialog(
142 content::WebContents* source) OVERRIDE; 142 content::WebContents* source) OVERRIDE;
143 virtual content::ColorChooser* OpenColorChooser(
144 content::WebContents* web_contents, SkColor color) OVERRIDE;
143 virtual void RunFileChooser( 145 virtual void RunFileChooser(
144 content::WebContents* tab, 146 content::WebContents* tab,
145 const content::FileChooserParams& params) OVERRIDE; 147 const content::FileChooserParams& params) OVERRIDE;
146 virtual void EnumerateDirectory(content::WebContents* tab, 148 virtual void EnumerateDirectory(content::WebContents* tab,
147 int request_id, 149 int request_id,
148 const base::FilePath& path) OVERRIDE; 150 const base::FilePath& path) OVERRIDE;
149 virtual void JSOutOfMemory(content::WebContents* tab); 151 virtual void JSOutOfMemory(content::WebContents* tab);
150 virtual void RegisterProtocolHandler(content::WebContents* tab, 152 virtual void RegisterProtocolHandler(content::WebContents* tab,
151 const std::string& protocol, 153 const std::string& protocol,
152 const GURL& url, 154 const GURL& url,
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 return false; 389 return false;
388 } 390 }
389 391
390 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, 392 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed,
391 bool* proceed_to_fire_unload) { 393 bool* proceed_to_fire_unload) {
392 NOTREACHED(); 394 NOTREACHED();
393 } 395 }
394 }; 396 };
395 397
396 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ 398 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698