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

Side by Side Diff: mash/simple_wm/simple_wm.h

Issue 2824103004: mus: Adds WindowManagerDelegate::OnWmConnected() (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « ash/mus/window_manager.cc ('k') | mash/simple_wm/simple_wm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 MASH_SIMPLE_WM_SIMPLE_WM_H_ 5 #ifndef MASH_SIMPLE_WM_SIMPLE_WM_H_
6 #define MASH_SIMPLE_WM_SIMPLE_WM_H_ 6 #define MASH_SIMPLE_WM_SIMPLE_WM_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 void OnEmbed( 64 void OnEmbed(
65 std::unique_ptr<aura::WindowTreeHostMus> window_tree_host) override; 65 std::unique_ptr<aura::WindowTreeHostMus> window_tree_host) override;
66 void OnLostConnection(aura::WindowTreeClient* client) override; 66 void OnLostConnection(aura::WindowTreeClient* client) override;
67 void OnEmbedRootDestroyed(aura::WindowTreeHostMus* window_tree_host) override; 67 void OnEmbedRootDestroyed(aura::WindowTreeHostMus* window_tree_host) override;
68 void OnPointerEventObserved(const ui::PointerEvent& event, 68 void OnPointerEventObserved(const ui::PointerEvent& event,
69 aura::Window* target) override; 69 aura::Window* target) override;
70 aura::PropertyConverter* GetPropertyConverter() override; 70 aura::PropertyConverter* GetPropertyConverter() override;
71 71
72 // aura::WindowManagerDelegate: 72 // aura::WindowManagerDelegate:
73 void SetWindowManagerClient(aura::WindowManagerClient* client) override; 73 void SetWindowManagerClient(aura::WindowManagerClient* client) override;
74 void OnWmConnected() override;
74 void OnWmSetBounds(aura::Window* window, const gfx::Rect& bounds) override; 75 void OnWmSetBounds(aura::Window* window, const gfx::Rect& bounds) override;
75 bool OnWmSetProperty( 76 bool OnWmSetProperty(
76 aura::Window* window, 77 aura::Window* window,
77 const std::string& name, 78 const std::string& name,
78 std::unique_ptr<std::vector<uint8_t>>* new_data) override; 79 std::unique_ptr<std::vector<uint8_t>>* new_data) override;
79 void OnWmSetModalType(aura::Window* window, ui::ModalType type) override; 80 void OnWmSetModalType(aura::Window* window, ui::ModalType type) override;
80 void OnWmSetCanFocus(aura::Window* window, bool can_focus) override; 81 void OnWmSetCanFocus(aura::Window* window, bool can_focus) override;
81 aura::Window* OnWmCreateTopLevelWindow( 82 aura::Window* OnWmCreateTopLevelWindow(
82 ui::mojom::WindowType window_type, 83 ui::mojom::WindowType window_type,
83 std::map<std::string, std::vector<uint8_t>>* properties) override; 84 std::map<std::string, std::vector<uint8_t>>* properties) override;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 std::unique_ptr<WorkspaceLayoutManager> workspace_layout_manager_; 131 std::unique_ptr<WorkspaceLayoutManager> workspace_layout_manager_;
131 132
132 bool started_ = false; 133 bool started_ = false;
133 134
134 DISALLOW_COPY_AND_ASSIGN(SimpleWM); 135 DISALLOW_COPY_AND_ASSIGN(SimpleWM);
135 }; 136 };
136 137
137 } // namespace simple_wm 138 } // namespace simple_wm
138 139
139 #endif // MASH_SIMPLE_WM_SIMPLE_WM_H_ 140 #endif // MASH_SIMPLE_WM_SIMPLE_WM_H_
OLDNEW
« no previous file with comments | « ash/mus/window_manager.cc ('k') | mash/simple_wm/simple_wm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698