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

Unified Diff: ash/wm/panels/panel_frame_view.h

Issue 1867223004: Convert //ash from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/wm/overview/window_selector_unittest.cc ('k') | ash/wm/panels/panel_layout_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/panels/panel_frame_view.h
diff --git a/ash/wm/panels/panel_frame_view.h b/ash/wm/panels/panel_frame_view.h
index 0aea4b86b450ec7f53e5d2d468ea62917f344032..3ecc62361344c25d54d3b355188df3956b29ade6 100644
--- a/ash/wm/panels/panel_frame_view.h
+++ b/ash/wm/panels/panel_frame_view.h
@@ -5,6 +5,8 @@
#ifndef ASH_WM_PANELS_PANEL_FRAME_VIEW_H_
#define ASH_WM_PANELS_PANEL_FRAME_VIEW_H_
+#include <memory>
+
#include "ash/ash_export.h"
#include "base/macros.h"
#include "ui/views/window/non_client_view.h"
@@ -68,10 +70,11 @@ class ASH_EXPORT PanelFrameView : public views::NonClientFrameView {
gfx::Rect client_view_bounds_;
// Helper class for painting the header.
- scoped_ptr<DefaultHeaderPainter> header_painter_;
+ std::unique_ptr<DefaultHeaderPainter> header_painter_;
// Updates the hittest bounds overrides based on the window state type.
- scoped_ptr<FrameBorderHitTestController> frame_border_hit_test_controller_;
+ std::unique_ptr<FrameBorderHitTestController>
+ frame_border_hit_test_controller_;
DISALLOW_COPY_AND_ASSIGN(PanelFrameView);
};
« no previous file with comments | « ash/wm/overview/window_selector_unittest.cc ('k') | ash/wm/panels/panel_layout_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698