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

Side by Side Diff: chrome/browser/ui/gtk/extensions/shell_window_gtk.h

Issue 11147037: Add a 'hidden' option to chrome.app.window.create() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ash tests Created 8 years, 1 month 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 | Annotate | Revision Log
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_GTK_EXTENSIONS_SHELL_WINDOW_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_EXTENSIONS_SHELL_WINDOW_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_EXTENSIONS_SHELL_WINDOW_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_EXTENSIONS_SHELL_WINDOW_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include "base/timer.h" 10 #include "base/timer.h"
(...skipping 22 matching lines...) Expand all
33 // BaseWindow implementation. 33 // BaseWindow implementation.
34 virtual bool IsActive() const OVERRIDE; 34 virtual bool IsActive() const OVERRIDE;
35 virtual bool IsMaximized() const OVERRIDE; 35 virtual bool IsMaximized() const OVERRIDE;
36 virtual bool IsMinimized() const OVERRIDE; 36 virtual bool IsMinimized() const OVERRIDE;
37 virtual bool IsFullscreen() const OVERRIDE; 37 virtual bool IsFullscreen() const OVERRIDE;
38 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; 38 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE;
39 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; 39 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
40 virtual gfx::Rect GetBounds() const OVERRIDE; 40 virtual gfx::Rect GetBounds() const OVERRIDE;
41 virtual void Show() OVERRIDE; 41 virtual void Show() OVERRIDE;
42 virtual void ShowInactive() OVERRIDE; 42 virtual void ShowInactive() OVERRIDE;
43 virtual void Hide() OVERRIDE;
43 virtual void Close() OVERRIDE; 44 virtual void Close() OVERRIDE;
44 virtual void Activate() OVERRIDE; 45 virtual void Activate() OVERRIDE;
45 virtual void Deactivate() OVERRIDE; 46 virtual void Deactivate() OVERRIDE;
46 virtual void Maximize() OVERRIDE; 47 virtual void Maximize() OVERRIDE;
47 virtual void Minimize() OVERRIDE; 48 virtual void Minimize() OVERRIDE;
48 virtual void Restore() OVERRIDE; 49 virtual void Restore() OVERRIDE;
49 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 50 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
50 virtual void FlashFrame(bool flash) OVERRIDE; 51 virtual void FlashFrame(bool flash) OVERRIDE;
51 virtual bool IsAlwaysOnTop() const OVERRIDE; 52 virtual bool IsAlwaysOnTop() const OVERRIDE;
52 53
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 122
122 // The Extension Keybinding Registry responsible for registering listeners for 123 // The Extension Keybinding Registry responsible for registering listeners for
123 // accelerators that are sent to the window, that are destined to be turned 124 // accelerators that are sent to the window, that are destined to be turned
124 // into events and sent to the extension. 125 // into events and sent to the extension.
125 scoped_ptr<ExtensionKeybindingRegistryGtk> extension_keybinding_registry_; 126 scoped_ptr<ExtensionKeybindingRegistryGtk> extension_keybinding_registry_;
126 127
127 DISALLOW_COPY_AND_ASSIGN(ShellWindowGtk); 128 DISALLOW_COPY_AND_ASSIGN(ShellWindowGtk);
128 }; 129 };
129 130
130 #endif // CHROME_BROWSER_UI_GTK_EXTENSIONS_SHELL_WINDOW_GTK_H_ 131 #endif // CHROME_BROWSER_UI_GTK_EXTENSIONS_SHELL_WINDOW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.cc ('k') | chrome/browser/ui/gtk/extensions/shell_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698