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

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

Issue 2568303006: aura-mus: Implement Deactivate(). (Closed)
Patch Set: Add comment. Created 3 years, 11 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
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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 void OnWidgetInitDone() override;
100 void OnNativeWidgetActivationChanged(bool active) override;
100 std::unique_ptr<corewm::Tooltip> CreateTooltip() override; 101 std::unique_ptr<corewm::Tooltip> CreateTooltip() override;
101 std::unique_ptr<aura::client::DragDropClient> CreateDragDropClient( 102 std::unique_ptr<aura::client::DragDropClient> CreateDragDropClient(
102 DesktopNativeCursorManager* cursor_manager) override; 103 DesktopNativeCursorManager* cursor_manager) override;
103 void Close() override; 104 void Close() override;
104 void CloseNow() override; 105 void CloseNow() override;
105 aura::WindowTreeHost* AsWindowTreeHost() override; 106 aura::WindowTreeHost* AsWindowTreeHost() override;
106 void ShowWindowWithState(ui::WindowShowState show_state) override; 107 void ShowWindowWithState(ui::WindowShowState show_state) override;
107 void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override; 108 void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override;
108 bool IsVisible() const override; 109 bool IsVisible() const override;
109 void SetSize(const gfx::Size& requested_size) override; 110 void SetSize(const gfx::Size& requested_size) override;
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 433
433 base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_; 434 base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_;
434 base::WeakPtrFactory<DesktopWindowTreeHostX11> weak_factory_; 435 base::WeakPtrFactory<DesktopWindowTreeHostX11> weak_factory_;
435 436
436 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); 437 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11);
437 }; 438 };
438 439
439 } // namespace views 440 } // namespace views
440 441
441 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ 442 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698