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

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

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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_PANEL_DRAG_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_DRAG_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_DRAG_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_DRAG_CONTROLLER_H_
7 7
8 #include <memory>
9
8 #include "base/macros.h" 10 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/ui/panels/panel_collection.h" 11 #include "chrome/browser/ui/panels/panel_collection.h"
11 #include "ui/gfx/geometry/vector2d.h" 12 #include "ui/gfx/geometry/vector2d.h"
12 13
13 class Panel; 14 class Panel;
14 class PanelCollection; 15 class PanelCollection;
15 class PanelManager; 16 class PanelManager;
16 namespace gfx { 17 namespace gfx {
17 class Point; 18 class Point;
18 class Rect; 19 class Rect;
19 } 20 }
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 PanelCollection* dragging_panel_original_collection_; 96 PanelCollection* dragging_panel_original_collection_;
96 97
97 // The offset from mouse location to the panel position when the drag 98 // The offset from mouse location to the panel position when the drag
98 // starts. 99 // starts.
99 gfx::Vector2d offset_from_mouse_location_on_drag_start_; 100 gfx::Vector2d offset_from_mouse_location_on_drag_start_;
100 101
101 DISALLOW_COPY_AND_ASSIGN(PanelDragController); 102 DISALLOW_COPY_AND_ASSIGN(PanelDragController);
102 }; 103 };
103 104
104 #endif // CHROME_BROWSER_UI_PANELS_PANEL_DRAG_CONTROLLER_H_ 105 #endif // CHROME_BROWSER_UI_PANELS_PANEL_DRAG_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel_drag_browsertest.cc ('k') | chrome/browser/ui/panels/panel_extension_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698