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

Side by Side Diff: chrome/browser/ui/views/extensions/shell_window_views.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_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 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/extensions/shell_window.h" 9 #include "chrome/browser/ui/extensions/shell_window.h"
10 #include "ui/gfx/rect.h" 10 #include "ui/gfx/rect.h"
(...skipping 18 matching lines...) Expand all
29 ShellWindowViews(Profile* profile, 29 ShellWindowViews(Profile* profile,
30 const extensions::Extension* extension, 30 const extensions::Extension* extension,
31 const GURL& url, 31 const GURL& url,
32 const CreateParams& params); 32 const CreateParams& params);
33 33
34 // BaseWindow implementation. 34 // BaseWindow implementation.
35 virtual bool IsActive() const OVERRIDE; 35 virtual bool IsActive() const OVERRIDE;
36 virtual bool IsMaximized() const OVERRIDE; 36 virtual bool IsMaximized() const OVERRIDE;
37 virtual bool IsMinimized() const OVERRIDE; 37 virtual bool IsMinimized() const OVERRIDE;
38 virtual bool IsFullscreen() const OVERRIDE; 38 virtual bool IsFullscreen() const OVERRIDE;
39 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE;
39 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; 40 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
40 virtual gfx::Rect GetBounds() const OVERRIDE; 41 virtual gfx::Rect GetBounds() const OVERRIDE;
41 virtual void Show() OVERRIDE; 42 virtual void Show() OVERRIDE;
42 virtual void ShowInactive() OVERRIDE; 43 virtual void ShowInactive() 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;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 92
92 gfx::ScopedSkRegion caption_region_; 93 gfx::ScopedSkRegion caption_region_;
93 94
94 bool use_custom_frame_; 95 bool use_custom_frame_;
95 gfx::Size minimum_size_; 96 gfx::Size minimum_size_;
96 97
97 DISALLOW_COPY_AND_ASSIGN(ShellWindowViews); 98 DISALLOW_COPY_AND_ASSIGN(ShellWindowViews);
98 }; 99 };
99 100
100 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_ 101 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698