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

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

Issue 10908153: [Panel refactor] Deprecate old panels. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix linux_chromeos test failure Created 8 years, 3 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_DETACHED_PANEL_STRIP_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_DETACHED_PANEL_STRIP_H_
6 #define CHROME_BROWSER_UI_PANELS_DETACHED_PANEL_STRIP_H_ 6 #define CHROME_BROWSER_UI_PANELS_DETACHED_PANEL_STRIP_H_
7 7
8 #include <set> 8 #include <set>
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "chrome/browser/ui/panels/panel.h" 10 #include "chrome/browser/ui/panels/panel.h"
11 #include "chrome/browser/ui/panels/panel_strip.h" 11 #include "chrome/browser/ui/panels/panel_strip.h"
12 #include "ui/gfx/point.h" 12 #include "ui/gfx/point.h"
13 #include "ui/gfx/rect.h" 13 #include "ui/gfx/rect.h"
14 14
15 class Browser;
16 class PanelManager; 15 class PanelManager;
17 16
18 // This class manages a group of free-floating panels. 17 // This class manages a group of free-floating panels.
19 class DetachedPanelStrip : public PanelStrip { 18 class DetachedPanelStrip : public PanelStrip {
20 public: 19 public:
21 typedef std::set<Panel*> Panels; 20 typedef std::set<Panel*> Panels;
22 21
23 explicit DetachedPanelStrip(PanelManager* panel_manager); 22 explicit DetachedPanelStrip(PanelManager* panel_manager);
24 virtual ~DetachedPanelStrip(); 23 virtual ~DetachedPanelStrip();
25 24
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 PanelPlacement saved_panel_placement_; 92 PanelPlacement saved_panel_placement_;
94 93
95 // Default top-left position to use for next detached panel if position is 94 // Default top-left position to use for next detached panel if position is
96 // unspecified by panel creator. 95 // unspecified by panel creator.
97 gfx::Point default_panel_origin_; 96 gfx::Point default_panel_origin_;
98 97
99 DISALLOW_COPY_AND_ASSIGN(DetachedPanelStrip); 98 DISALLOW_COPY_AND_ASSIGN(DetachedPanelStrip);
100 }; 99 };
101 100
102 #endif // CHROME_BROWSER_UI_PANELS_DETACHED_PANEL_STRIP_H_ 101 #endif // CHROME_BROWSER_UI_PANELS_DETACHED_PANEL_STRIP_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/base_panel_browser_test.cc ('k') | chrome/browser/ui/panels/docked_panel_strip.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698