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

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: Open no longer returns NULL, protected ctor/dtor 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_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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 protected: 205 protected:
206 virtual ~ShellWindow(); 206 virtual ~ShellWindow();
207 207
208 private: 208 private:
209 // PlatformAppBrowserTest needs access to web_contents() 209 // PlatformAppBrowserTest needs access to web_contents()
210 friend class extensions::PlatformAppBrowserTest; 210 friend class extensions::PlatformAppBrowserTest;
211 211
212 // content::WebContentsDelegate implementation. 212 // content::WebContentsDelegate implementation.
213 virtual void CloseContents(content::WebContents* contents) OVERRIDE; 213 virtual void CloseContents(content::WebContents* contents) OVERRIDE;
214 virtual bool ShouldSuppressDialogs() OVERRIDE; 214 virtual bool ShouldSuppressDialogs() OVERRIDE;
215 virtual content::ColorChooser* OpenColorChooser(
216 content::WebContents* web_contents, SkColor color) OVERRIDE;
215 virtual void RunFileChooser( 217 virtual void RunFileChooser(
216 content::WebContents* tab, 218 content::WebContents* tab,
217 const content::FileChooserParams& params) OVERRIDE; 219 const content::FileChooserParams& params) OVERRIDE;
218 virtual bool IsPopupOrPanel( 220 virtual bool IsPopupOrPanel(
219 const content::WebContents* source) const OVERRIDE; 221 const content::WebContents* source) const OVERRIDE;
220 virtual void MoveContents( 222 virtual void MoveContents(
221 content::WebContents* source, const gfx::Rect& pos) OVERRIDE; 223 content::WebContents* source, const gfx::Rect& pos) OVERRIDE;
222 virtual void NavigationStateChanged(const content::WebContents* source, 224 virtual void NavigationStateChanged(const content::WebContents* source,
223 unsigned changed_flags) OVERRIDE; 225 unsigned changed_flags) OVERRIDE;
224 virtual void ToggleFullscreenModeForTab(content::WebContents* source, 226 virtual void ToggleFullscreenModeForTab(content::WebContents* source,
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 306
305 // Fullscreen entered by app.window api. 307 // Fullscreen entered by app.window api.
306 bool fullscreen_for_window_api_; 308 bool fullscreen_for_window_api_;
307 // Fullscreen entered by HTML requestFullscreen. 309 // Fullscreen entered by HTML requestFullscreen.
308 bool fullscreen_for_tab_; 310 bool fullscreen_for_tab_;
309 311
310 DISALLOW_COPY_AND_ASSIGN(ShellWindow); 312 DISALLOW_COPY_AND_ASSIGN(ShellWindow);
311 }; 313 };
312 314
313 #endif // CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_ 315 #endif // CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698