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

Side by Side Diff: chrome/browser/ui/extensions/shell_window.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: Rebased Created 7 years, 7 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_EXTENSIONS_SHELL_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_
6 #define CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_ 6 #define CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "chrome/browser/extensions/extension_keybinding_registry.h" 10 #include "chrome/browser/extensions/extension_keybinding_registry.h"
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 protected: 199 protected:
200 virtual ~ShellWindow(); 200 virtual ~ShellWindow();
201 201
202 private: 202 private:
203 // PlatformAppBrowserTest needs access to web_contents() 203 // PlatformAppBrowserTest needs access to web_contents()
204 friend class extensions::PlatformAppBrowserTest; 204 friend class extensions::PlatformAppBrowserTest;
205 205
206 // content::WebContentsDelegate implementation. 206 // content::WebContentsDelegate implementation.
207 virtual void CloseContents(content::WebContents* contents) OVERRIDE; 207 virtual void CloseContents(content::WebContents* contents) OVERRIDE;
208 virtual bool ShouldSuppressDialogs() OVERRIDE; 208 virtual bool ShouldSuppressDialogs() OVERRIDE;
209 virtual content::ColorChooser* OpenColorChooser(
210 content::WebContents* web_contents, SkColor color) OVERRIDE;
209 virtual void RunFileChooser( 211 virtual void RunFileChooser(
210 content::WebContents* tab, 212 content::WebContents* tab,
211 const content::FileChooserParams& params) OVERRIDE; 213 const content::FileChooserParams& params) OVERRIDE;
212 virtual bool IsPopupOrPanel( 214 virtual bool IsPopupOrPanel(
213 const content::WebContents* source) const OVERRIDE; 215 const content::WebContents* source) const OVERRIDE;
214 virtual void MoveContents( 216 virtual void MoveContents(
215 content::WebContents* source, const gfx::Rect& pos) OVERRIDE; 217 content::WebContents* source, const gfx::Rect& pos) OVERRIDE;
216 virtual void NavigationStateChanged(const content::WebContents* source, 218 virtual void NavigationStateChanged(const content::WebContents* source,
217 unsigned changed_flags) OVERRIDE; 219 unsigned changed_flags) OVERRIDE;
218 virtual void ToggleFullscreenModeForTab(content::WebContents* source, 220 virtual void ToggleFullscreenModeForTab(content::WebContents* source,
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 301
300 // Fullscreen entered by app.window api. 302 // Fullscreen entered by app.window api.
301 bool fullscreen_for_window_api_; 303 bool fullscreen_for_window_api_;
302 // Fullscreen entered by HTML requestFullscreen. 304 // Fullscreen entered by HTML requestFullscreen.
303 bool fullscreen_for_tab_; 305 bool fullscreen_for_tab_;
304 306
305 DISALLOW_COPY_AND_ASSIGN(ShellWindow); 307 DISALLOW_COPY_AND_ASSIGN(ShellWindow);
306 }; 308 };
307 309
308 #endif // CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_ 310 #endif // CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698