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

Side by Side Diff: ui/platform_window/platform_window.h

Issue 1868363002: Replace scoped_ptr with std::unique_ptr in //ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptrcc
Patch Set: scopedptrui: rebase-make_scoped_ptr 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
« no previous file with comments | « ui/ozone/public/system_input_injector.h ('k') | ui/platform_window/win/win_window.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 UI_PLATFORM_WINDOW_PLATFORM_WINDOW_H_ 5 #ifndef UI_PLATFORM_WINDOW_PLATFORM_WINDOW_H_
6 #define UI_PLATFORM_WINDOW_PLATFORM_WINDOW_H_ 6 #define UI_PLATFORM_WINDOW_PLATFORM_WINDOW_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include <memory>
9
9 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
10 #include "ui/base/cursor/cursor.h" 11 #include "ui/base/cursor/cursor.h"
11 12
12 namespace gfx { 13 namespace gfx {
13 class Rect; 14 class Rect;
14 } 15 }
15 16
16 namespace ui { 17 namespace ui {
17 18
18 class PlatformImeController; 19 class PlatformImeController;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 virtual void ConfineCursorToBounds(const gfx::Rect& bounds) = 0; 56 virtual void ConfineCursorToBounds(const gfx::Rect& bounds) = 0;
56 57
57 // The PlatformImeController is owned by the PlatformWindow, the ownership is 58 // The PlatformImeController is owned by the PlatformWindow, the ownership is
58 // not transferred. 59 // not transferred.
59 virtual PlatformImeController* GetPlatformImeController() = 0; 60 virtual PlatformImeController* GetPlatformImeController() = 0;
60 }; 61 };
61 62
62 } // namespace ui 63 } // namespace ui
63 64
64 #endif // UI_PLATFORM_WINDOW_PLATFORM_WINDOW_H_ 65 #endif // UI_PLATFORM_WINDOW_PLATFORM_WINDOW_H_
OLDNEW
« no previous file with comments | « ui/ozone/public/system_input_injector.h ('k') | ui/platform_window/win/win_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698