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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_win.h

Issue 2576533003: Converts some services to use aura-mus (Closed)
Patch Set: remove log Created 4 years 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 UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/aura/window_tree_host.h" 9 #include "ui/aura/window_tree_host.h"
10 #include "ui/views/views_export.h" 10 #include "ui/views/views_export.h"
(...skipping 30 matching lines...) Expand all
41 ~DesktopWindowTreeHostWin() override; 41 ~DesktopWindowTreeHostWin() override;
42 42
43 // A way of converting an HWND into a content window. 43 // A way of converting an HWND into a content window.
44 static aura::Window* GetContentWindowForHWND(HWND hwnd); 44 static aura::Window* GetContentWindowForHWND(HWND hwnd);
45 45
46 protected: 46 protected:
47 // Overridden from DesktopWindowTreeHost: 47 // Overridden from DesktopWindowTreeHost:
48 void Init(aura::Window* content_window, 48 void Init(aura::Window* content_window,
49 const Widget::InitParams& params) override; 49 const Widget::InitParams& params) override;
50 void OnNativeWidgetCreated(const Widget::InitParams& params) override; 50 void OnNativeWidgetCreated(const Widget::InitParams& params) override;
51 void OnWidgetInitDone() override;
51 std::unique_ptr<corewm::Tooltip> CreateTooltip() override; 52 std::unique_ptr<corewm::Tooltip> CreateTooltip() override;
52 std::unique_ptr<aura::client::DragDropClient> CreateDragDropClient( 53 std::unique_ptr<aura::client::DragDropClient> CreateDragDropClient(
53 DesktopNativeCursorManager* cursor_manager) override; 54 DesktopNativeCursorManager* cursor_manager) override;
54 void Close() override; 55 void Close() override;
55 void CloseNow() override; 56 void CloseNow() override;
56 aura::WindowTreeHost* AsWindowTreeHost() override; 57 aura::WindowTreeHost* AsWindowTreeHost() override;
57 void ShowWindowWithState(ui::WindowShowState show_state) override; 58 void ShowWindowWithState(ui::WindowShowState show_state) override;
58 void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override; 59 void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override;
59 bool IsVisible() const override; 60 bool IsVisible() const override;
60 void SetSize(const gfx::Size& size) override; 61 void SetSize(const gfx::Size& size) override;
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 // Indicates if current window will receive mouse events when should not 269 // Indicates if current window will receive mouse events when should not
269 // become activated. 270 // become activated.
270 bool wants_mouse_events_when_inactive_ = false; 271 bool wants_mouse_events_when_inactive_ = false;
271 272
272 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); 273 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin);
273 }; 274 };
274 275
275 } // namespace views 276 } // namespace views
276 277
277 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 278 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_window_tree_host.h ('k') | ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698