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

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

Issue 823133004: Cleanup: Update the path to gfx rect headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rect_f.h Created 5 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
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_COLLECTION_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_DETACHED_PANEL_COLLECTION_H_
6 #define CHROME_BROWSER_UI_PANELS_DETACHED_PANEL_COLLECTION_H_ 6 #define CHROME_BROWSER_UI_PANELS_DETACHED_PANEL_COLLECTION_H_
7 7
8 #include <list> 8 #include <list>
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_collection.h" 11 #include "chrome/browser/ui/panels/panel_collection.h"
12 #include "ui/gfx/geometry/point.h" 12 #include "ui/gfx/geometry/point.h"
13 #include "ui/gfx/rect.h" 13 #include "ui/gfx/geometry/rect.h"
14 14
15 class PanelManager; 15 class PanelManager;
16 16
17 // This class manages a group of free-floating panels. 17 // This class manages a group of free-floating panels.
18 class DetachedPanelCollection : public PanelCollection { 18 class DetachedPanelCollection : public PanelCollection {
19 public: 19 public:
20 typedef std::list<Panel*> Panels; 20 typedef std::list<Panel*> Panels;
21 typedef bool (*PanelsComparer)(Panel* panel1, Panel* panel2); 21 typedef bool (*PanelsComparer)(Panel* panel1, Panel* panel2);
22 22
23 explicit DetachedPanelCollection(PanelManager* panel_manager); 23 explicit DetachedPanelCollection(PanelManager* panel_manager);
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 PanelPlacement saved_panel_placement_; 89 PanelPlacement saved_panel_placement_;
90 90
91 // Default top-left position to use for next detached panel if position is 91 // Default top-left position to use for next detached panel if position is
92 // unspecified by panel creator. 92 // unspecified by panel creator.
93 gfx::Point default_panel_origin_; 93 gfx::Point default_panel_origin_;
94 94
95 DISALLOW_COPY_AND_ASSIGN(DetachedPanelCollection); 95 DISALLOW_COPY_AND_ASSIGN(DetachedPanelCollection);
96 }; 96 };
97 97
98 #endif // CHROME_BROWSER_UI_PANELS_DETACHED_PANEL_COLLECTION_H_ 98 #endif // CHROME_BROWSER_UI_PANELS_DETACHED_PANEL_COLLECTION_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/base_panel_browser_test.h ('k') | chrome/browser/ui/panels/detached_panel_drag_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698