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

Side by Side Diff: chrome/browser/ui/views/ash/panel_view_aura.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_ASH_PANEL_VIEW_AURA_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_ASH_PANEL_VIEW_AURA_H_
6 #define CHROME_BROWSER_UI_VIEWS_ASH_PANEL_VIEW_AURA_H_ 6 #define CHROME_BROWSER_UI_VIEWS_ASH_PANEL_VIEW_AURA_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 virtual views::Widget* GetWidget() OVERRIDE; 71 virtual views::Widget* GetWidget() OVERRIDE;
72 virtual const views::Widget* GetWidget() const OVERRIDE; 72 virtual const views::Widget* GetWidget() const OVERRIDE;
73 virtual views::NonClientFrameView* CreateNonClientFrameView( 73 virtual views::NonClientFrameView* CreateNonClientFrameView(
74 views::Widget* widget) OVERRIDE; 74 views::Widget* widget) OVERRIDE;
75 75
76 // Overridden from BaseWindow: 76 // Overridden from BaseWindow:
77 virtual bool IsActive() const OVERRIDE; 77 virtual bool IsActive() const OVERRIDE;
78 virtual bool IsMaximized() const OVERRIDE; 78 virtual bool IsMaximized() const OVERRIDE;
79 virtual bool IsMinimized() const OVERRIDE; 79 virtual bool IsMinimized() const OVERRIDE;
80 virtual bool IsFullscreen() const OVERRIDE; 80 virtual bool IsFullscreen() const OVERRIDE;
81 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE;
81 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; 82 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
82 virtual gfx::Rect GetBounds() const OVERRIDE; 83 virtual gfx::Rect GetBounds() const OVERRIDE;
83 virtual void Show() OVERRIDE; 84 virtual void Show() OVERRIDE;
84 virtual void ShowInactive() OVERRIDE; 85 virtual void ShowInactive() OVERRIDE;
85 virtual void Close() OVERRIDE; 86 virtual void Close() OVERRIDE;
86 virtual void Activate() OVERRIDE; 87 virtual void Activate() OVERRIDE;
87 virtual void Deactivate() OVERRIDE; 88 virtual void Deactivate() OVERRIDE;
88 virtual void Maximize() OVERRIDE; 89 virtual void Maximize() OVERRIDE;
89 virtual void Minimize() OVERRIDE; 90 virtual void Minimize() OVERRIDE;
90 virtual void Restore() OVERRIDE; 91 virtual void Restore() OVERRIDE;
91 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 92 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
92 virtual void SetDraggableRegion(SkRegion* region) OVERRIDE; 93 virtual void SetDraggableRegion(SkRegion* region) OVERRIDE;
93 virtual void FlashFrame(bool flash) OVERRIDE; 94 virtual void FlashFrame(bool flash) OVERRIDE;
94 virtual bool IsAlwaysOnTop() const OVERRIDE; 95 virtual bool IsAlwaysOnTop() const OVERRIDE;
95 96
96 private: 97 private:
97 const SessionID session_id_; 98 const SessionID session_id_;
98 std::string title_; 99 std::string title_;
99 gfx::Size preferred_size_; 100 gfx::Size preferred_size_;
100 // Owned internal host class implementing WebContents and Extension Delegates. 101 // Owned internal host class implementing WebContents and Extension Delegates.
101 scoped_ptr<internal::PanelHost> host_; 102 scoped_ptr<internal::PanelHost> host_;
102 // Unowned pointer to the widget. 103 // Unowned pointer to the widget.
103 views::Widget* widget_; 104 views::Widget* widget_;
104 scoped_ptr<ExtensionWindowController> extension_window_controller_; 105 scoped_ptr<ExtensionWindowController> extension_window_controller_;
105 106
106 DISALLOW_COPY_AND_ASSIGN(PanelViewAura); 107 DISALLOW_COPY_AND_ASSIGN(PanelViewAura);
107 }; 108 };
108 109
109 #endif // CHROME_BROWSER_UI_VIEWS_ASH_PANEL_VIEW_AURA_H_ 110 #endif // CHROME_BROWSER_UI_VIEWS_ASH_PANEL_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698