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

Unified Diff: mash/wm/window_manager.h

Issue 1857623003: convert //mash to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « mash/wm/user_window_controller_impl.h ('k') | mash/wm/window_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/window_manager.h
diff --git a/mash/wm/window_manager.h b/mash/wm/window_manager.h
index ffa89195d0a636776f0b0795e5d7ba75f73e5c07..3c6ade742549d269fef5a7e8dd64e97d01e20b19 100644
--- a/mash/wm/window_manager.h
+++ b/mash/wm/window_manager.h
@@ -7,6 +7,8 @@
#include <stdint.h>
+#include <memory>
+
#include "base/macros.h"
#include "components/mus/common/types.h"
#include "components/mus/public/cpp/window_manager_delegate.h"
@@ -48,9 +50,10 @@ class WindowManager : public mus::WindowObserver,
// WindowManagerDelegate:
void SetWindowManagerClient(mus::WindowManagerClient* client) override;
bool OnWmSetBounds(mus::Window* window, gfx::Rect* bounds) override;
- bool OnWmSetProperty(mus::Window* window,
- const std::string& name,
- scoped_ptr<std::vector<uint8_t>>* new_data) override;
+ bool OnWmSetProperty(
+ mus::Window* window,
+ const std::string& name,
+ std::unique_ptr<std::vector<uint8_t>>* new_data) override;
mus::Window* OnWmCreateTopLevelWindow(
std::map<std::string, std::vector<uint8_t>>* properties) override;
void OnAccelerator(uint32_t id, const ui::Event& event) override;
« no previous file with comments | « mash/wm/user_window_controller_impl.h ('k') | mash/wm/window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698