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

Side by Side Diff: chrome/browser/ui/panels/panel.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_PANELS_PANEL_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 virtual gfx::Rect GetBounds() const OVERRIDE; 121 virtual gfx::Rect GetBounds() const OVERRIDE;
122 virtual void Show() OVERRIDE; 122 virtual void Show() OVERRIDE;
123 virtual void ShowInactive() OVERRIDE; 123 virtual void ShowInactive() OVERRIDE;
124 virtual void Close() OVERRIDE; 124 virtual void Close() OVERRIDE;
125 virtual void Activate() OVERRIDE; 125 virtual void Activate() OVERRIDE;
126 virtual void Deactivate() OVERRIDE; 126 virtual void Deactivate() OVERRIDE;
127 virtual void Maximize() OVERRIDE; 127 virtual void Maximize() OVERRIDE;
128 virtual void Minimize() OVERRIDE; 128 virtual void Minimize() OVERRIDE;
129 virtual void Restore() OVERRIDE; 129 virtual void Restore() OVERRIDE;
130 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 130 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
131 virtual void SetDraggableRegion(SkRegion* region) OVERRIDE;
132 virtual void FlashFrame(bool flash) OVERRIDE; 131 virtual void FlashFrame(bool flash) OVERRIDE;
133 virtual bool IsAlwaysOnTop() const OVERRIDE; 132 virtual bool IsAlwaysOnTop() const OVERRIDE;
134 133
135 // Overridden from CommandUpdater::CommandUpdaterDelegate: 134 // Overridden from CommandUpdater::CommandUpdaterDelegate:
136 virtual void ExecuteCommandWithDisposition( 135 virtual void ExecuteCommandWithDisposition(
137 int id, 136 int id,
138 WindowOpenDisposition disposition) OVERRIDE; 137 WindowOpenDisposition disposition) OVERRIDE;
139 138
140 // content::NotificationObserver overrides. 139 // content::NotificationObserver overrides.
141 virtual void Observe(int type, 140 virtual void Observe(int type,
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 380
382 content::NotificationRegistrar registrar_; 381 content::NotificationRegistrar registrar_;
383 const SessionID session_id_; 382 const SessionID session_id_;
384 scoped_ptr<extensions::WindowController> extension_window_controller_; 383 scoped_ptr<extensions::WindowController> extension_window_controller_;
385 scoped_ptr<PanelHost> panel_host_; 384 scoped_ptr<PanelHost> panel_host_;
386 385
387 DISALLOW_COPY_AND_ASSIGN(Panel); 386 DISALLOW_COPY_AND_ASSIGN(Panel);
388 }; 387 };
389 388
390 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ 389 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698