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

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

Issue 10534079: Add support for managing active state of platform apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed redundant GetNativeWindow() decl in BrowserWindow Created 8 years, 6 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_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 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
(...skipping 16 matching lines...) Expand all
27 ShellWindowGtk(Profile* profile, 27 ShellWindowGtk(Profile* profile,
28 const extensions::Extension* extension, 28 const extensions::Extension* extension,
29 const GURL& url, 29 const GURL& url,
30 const CreateParams params); 30 const CreateParams params);
31 31
32 // BaseWindow implementation. 32 // BaseWindow implementation.
33 virtual bool IsActive() const OVERRIDE; 33 virtual bool IsActive() const OVERRIDE;
34 virtual bool IsMaximized() const OVERRIDE; 34 virtual bool IsMaximized() const OVERRIDE;
35 virtual bool IsMinimized() const OVERRIDE; 35 virtual bool IsMinimized() const OVERRIDE;
36 virtual bool IsFullscreen() const OVERRIDE; 36 virtual bool IsFullscreen() const OVERRIDE;
37 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE;
37 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; 38 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
38 virtual gfx::Rect GetBounds() const OVERRIDE; 39 virtual gfx::Rect GetBounds() const OVERRIDE;
39 virtual void Show() OVERRIDE; 40 virtual void Show() OVERRIDE;
40 virtual void ShowInactive() OVERRIDE; 41 virtual void ShowInactive() OVERRIDE;
41 virtual void Close() OVERRIDE; 42 virtual void Close() OVERRIDE;
42 virtual void Activate() OVERRIDE; 43 virtual void Activate() OVERRIDE;
43 virtual void Deactivate() OVERRIDE; 44 virtual void Deactivate() OVERRIDE;
44 virtual void Maximize() OVERRIDE; 45 virtual void Maximize() OVERRIDE;
45 virtual void Minimize() OVERRIDE; 46 virtual void Minimize() OVERRIDE;
46 virtual void Restore() OVERRIDE; 47 virtual void Restore() OVERRIDE;
(...skipping 26 matching lines...) Expand all
73 // The position and size of the current window. 74 // The position and size of the current window.
74 gfx::Rect bounds_; 75 gfx::Rect bounds_;
75 76
76 // The position and size of the non-maximized, non-fullscreen window. 77 // The position and size of the non-maximized, non-fullscreen window.
77 gfx::Rect restored_bounds_; 78 gfx::Rect restored_bounds_;
78 79
79 DISALLOW_COPY_AND_ASSIGN(ShellWindowGtk); 80 DISALLOW_COPY_AND_ASSIGN(ShellWindowGtk);
80 }; 81 };
81 82
82 #endif // CHROME_BROWSER_UI_GTK_EXTENSIONS_SHELL_WINDOW_GTK_H_ 83 #endif // CHROME_BROWSER_UI_GTK_EXTENSIONS_SHELL_WINDOW_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698