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

Side by Side Diff: chrome/browser/ui/views/ash/panel_view_aura.h

Issue 10822004: Draggable region support for frameless app window on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix per feedback Created 8 years, 4 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 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 virtual gfx::Rect GetBounds() const OVERRIDE; 85 virtual gfx::Rect GetBounds() const OVERRIDE;
86 virtual void Show() OVERRIDE; 86 virtual void Show() OVERRIDE;
87 virtual void ShowInactive() OVERRIDE; 87 virtual void ShowInactive() OVERRIDE;
88 virtual void Close() OVERRIDE; 88 virtual void Close() OVERRIDE;
89 virtual void Activate() OVERRIDE; 89 virtual void Activate() OVERRIDE;
90 virtual void Deactivate() OVERRIDE; 90 virtual void Deactivate() OVERRIDE;
91 virtual void Maximize() OVERRIDE; 91 virtual void Maximize() OVERRIDE;
92 virtual void Minimize() OVERRIDE; 92 virtual void Minimize() OVERRIDE;
93 virtual void Restore() OVERRIDE; 93 virtual void Restore() OVERRIDE;
94 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 94 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
95 virtual void SetDraggableRegion(SkRegion* region) OVERRIDE;
96 virtual void FlashFrame(bool flash) OVERRIDE; 95 virtual void FlashFrame(bool flash) OVERRIDE;
97 virtual bool IsAlwaysOnTop() const OVERRIDE; 96 virtual bool IsAlwaysOnTop() const OVERRIDE;
98 97
99 private: 98 private:
100 const SessionID session_id_; 99 const SessionID session_id_;
101 std::string title_; 100 std::string title_;
102 gfx::Size preferred_size_; 101 gfx::Size preferred_size_;
103 // Owned internal host class implementing WebContents and Extension Delegates. 102 // Owned internal host class implementing WebContents and Extension Delegates.
104 scoped_ptr<internal::PanelHost> host_; 103 scoped_ptr<internal::PanelHost> host_;
105 // Unowned pointer to the widget. 104 // Unowned pointer to the widget.
106 views::Widget* widget_; 105 views::Widget* widget_;
107 scoped_ptr<extensions::WindowController> extension_window_controller_; 106 scoped_ptr<extensions::WindowController> extension_window_controller_;
108 107
109 DISALLOW_COPY_AND_ASSIGN(PanelViewAura); 108 DISALLOW_COPY_AND_ASSIGN(PanelViewAura);
110 }; 109 };
111 110
112 #endif // CHROME_BROWSER_UI_VIEWS_ASH_PANEL_VIEW_AURA_H_ 111 #endif // CHROME_BROWSER_UI_VIEWS_ASH_PANEL_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698