| Index: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
|
| diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
|
| index 7e842fed08646843dafbc444437beedc392d5980..1d3cbd7f8773b6c052e5c2115c3bec5ea79338c5 100644
|
| --- a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
|
| +++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
|
| @@ -80,7 +80,7 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11
|
| void RemoveObserver(views::DesktopWindowTreeHostObserverX11* observer);
|
|
|
| // Swaps the current handler for events in the non client view with |handler|.
|
| - void SwapNonClientEventHandler(scoped_ptr<ui::EventHandler> handler);
|
| + void SwapNonClientEventHandler(std::unique_ptr<ui::EventHandler> handler);
|
|
|
| // Runs the |func| callback for each content-window, and deallocates the
|
| // internal list of open windows.
|
| @@ -91,8 +91,8 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11
|
| void Init(aura::Window* content_window,
|
| const Widget::InitParams& params) override;
|
| void OnNativeWidgetCreated(const Widget::InitParams& params) override;
|
| - scoped_ptr<corewm::Tooltip> CreateTooltip() override;
|
| - scoped_ptr<aura::client::DragDropClient> CreateDragDropClient(
|
| + std::unique_ptr<corewm::Tooltip> CreateTooltip() override;
|
| + std::unique_ptr<aura::client::DragDropClient> CreateDragDropClient(
|
| DesktopNativeCursorManager* cursor_manager) override;
|
| void Close() override;
|
| void CloseNow() override;
|
| @@ -300,8 +300,8 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11
|
|
|
| DesktopDragDropClientAuraX11* drag_drop_client_;
|
|
|
| - scoped_ptr<ui::EventHandler> x11_non_client_event_filter_;
|
| - scoped_ptr<X11DesktopWindowMoveClient> x11_window_move_client_;
|
| + std::unique_ptr<ui::EventHandler> x11_non_client_event_filter_;
|
| + std::unique_ptr<X11DesktopWindowMoveClient> x11_window_move_client_;
|
|
|
| // TODO(beng): Consider providing an interface to DesktopNativeWidgetAura
|
| // instead of providing this route back to Widget.
|
|
|