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

Side by Side Diff: chrome/browser/ui/panels/native_panel_stack.h

Issue 11669018: Support dragging panels to stack and snap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change per feedback Created 7 years, 11 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_PANELS_NATIVE_PANEL_STACK_H_
6 #define CHROME_BROWSER_UI_PANELS_NATIVE_PANEL_STACK_H_
7
8 #include "ui/gfx/native_widget_types.h"
9
10 class StackedPanelCollection;
11 namespace gfx {
12 class Rect;
13 }
14
15 class NativePanelStack {
Dmitry Titov 2013/01/09 02:29:50 This needs a class comment. What this class is for
jianli 2013/01/09 21:00:59 Done.
16 friend class StackedPanelCollection;
17
18 public:
19 static NativePanelStack* Create(StackedPanelCollection* stack);
20 virtual ~NativePanelStack() {}
21
22 protected:
23 virtual void Close() = 0;
24 virtual void OnPanelAddedOrRemoved() = 0;
25 virtual gfx::NativeWindow GetNativeWindow() const = 0;
26 virtual void SetBounds(const gfx::Rect& bounds) = 0;
27 };
28
29 #endif // CHROME_BROWSER_UI_PANELS_NATIVE_PANEL_STACK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698