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

Side by Side Diff: chrome/browser/ui/views/extensions/shell_window_views.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, 2 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 | 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_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_
7 7
8 #include "chrome/browser/ui/base_window.h" 8 #include "chrome/browser/ui/base_window.h"
9 #include "chrome/browser/ui/extensions/native_shell_window.h" 9 #include "chrome/browser/ui/extensions/native_shell_window.h"
10 #include "chrome/browser/ui/extensions/shell_window.h" 10 #include "chrome/browser/ui/extensions/shell_window.h"
(...skipping 30 matching lines...) Expand all
41 // BaseWindow implementation. 41 // BaseWindow implementation.
42 virtual bool IsActive() const OVERRIDE; 42 virtual bool IsActive() const OVERRIDE;
43 virtual bool IsMaximized() const OVERRIDE; 43 virtual bool IsMaximized() const OVERRIDE;
44 virtual bool IsMinimized() const OVERRIDE; 44 virtual bool IsMinimized() const OVERRIDE;
45 virtual bool IsFullscreen() const OVERRIDE; 45 virtual bool IsFullscreen() const OVERRIDE;
46 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; 46 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE;
47 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; 47 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
48 virtual gfx::Rect GetBounds() const OVERRIDE; 48 virtual gfx::Rect GetBounds() const OVERRIDE;
49 virtual void Show() OVERRIDE; 49 virtual void Show() OVERRIDE;
50 virtual void ShowInactive() OVERRIDE; 50 virtual void ShowInactive() OVERRIDE;
51 virtual void Hide() OVERRIDE;
51 virtual void Close() OVERRIDE; 52 virtual void Close() OVERRIDE;
52 virtual void Activate() OVERRIDE; 53 virtual void Activate() OVERRIDE;
53 virtual void Deactivate() OVERRIDE; 54 virtual void Deactivate() OVERRIDE;
54 virtual void Maximize() OVERRIDE; 55 virtual void Maximize() OVERRIDE;
55 virtual void Minimize() OVERRIDE; 56 virtual void Minimize() OVERRIDE;
56 virtual void Restore() OVERRIDE; 57 virtual void Restore() OVERRIDE;
57 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 58 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
58 virtual void FlashFrame(bool flash) OVERRIDE; 59 virtual void FlashFrame(bool flash) OVERRIDE;
59 virtual bool IsAlwaysOnTop() const OVERRIDE; 60 virtual bool IsAlwaysOnTop() const OVERRIDE;
60 61
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 130
130 // The class that registers for keyboard shortcuts for extension commands. 131 // The class that registers for keyboard shortcuts for extension commands.
131 scoped_ptr<ExtensionKeybindingRegistryViews> extension_keybinding_registry_; 132 scoped_ptr<ExtensionKeybindingRegistryViews> extension_keybinding_registry_;
132 133
133 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; 134 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_;
134 135
135 DISALLOW_COPY_AND_ASSIGN(ShellWindowViews); 136 DISALLOW_COPY_AND_ASSIGN(ShellWindowViews);
136 }; 137 };
137 138
138 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_ 139 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel.cc ('k') | chrome/browser/ui/views/extensions/shell_window_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698