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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.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_X11_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 #include <X11/extensions/shape.h> 10 #include <X11/extensions/shape.h>
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 89
90 // Returns XID of dialog currently displayed. When it returns 0, 90 // Returns XID of dialog currently displayed. When it returns 0,
91 // there is no dialog on the host window. 91 // there is no dialog on the host window.
92 XID GetModalDialog(); 92 XID GetModalDialog();
93 93
94 protected: 94 protected:
95 // Overridden from DesktopWindowTreeHost: 95 // Overridden from DesktopWindowTreeHost:
96 void Init(aura::Window* content_window, 96 void Init(aura::Window* content_window,
97 const Widget::InitParams& params) override; 97 const Widget::InitParams& params) override;
98 void OnNativeWidgetCreated(const Widget::InitParams& params) override; 98 void OnNativeWidgetCreated(const Widget::InitParams& params) override;
99 void OnWidgetInitDone() override;
99 std::unique_ptr<corewm::Tooltip> CreateTooltip() override; 100 std::unique_ptr<corewm::Tooltip> CreateTooltip() override;
100 std::unique_ptr<aura::client::DragDropClient> CreateDragDropClient( 101 std::unique_ptr<aura::client::DragDropClient> CreateDragDropClient(
101 DesktopNativeCursorManager* cursor_manager) override; 102 DesktopNativeCursorManager* cursor_manager) override;
102 void Close() override; 103 void Close() override;
103 void CloseNow() override; 104 void CloseNow() override;
104 aura::WindowTreeHost* AsWindowTreeHost() override; 105 aura::WindowTreeHost* AsWindowTreeHost() override;
105 void ShowWindowWithState(ui::WindowShowState show_state) override; 106 void ShowWindowWithState(ui::WindowShowState show_state) override;
106 void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override; 107 void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override;
107 bool IsVisible() const override; 108 bool IsVisible() const override;
108 void SetSize(const gfx::Size& requested_size) override; 109 void SetSize(const gfx::Size& requested_size) override;
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 431
431 base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_; 432 base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_;
432 base::WeakPtrFactory<DesktopWindowTreeHostX11> weak_factory_; 433 base::WeakPtrFactory<DesktopWindowTreeHostX11> weak_factory_;
433 434
434 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); 435 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11);
435 }; 436 };
436 437
437 } // namespace views 438 } // namespace views
438 439
439 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ 440 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698