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: services/ui/demo/mus_demo.h

Issue 2650833002: Set focusibility correctly when initializing a window in mus+ash. (Closed)
Patch Set: update mus_demo. Created 3 years, 10 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 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 SERVICES_UI_DEMO_MUS_DEMO_H_ 5 #ifndef SERVICES_UI_DEMO_MUS_DEMO_H_
6 #define SERVICES_UI_DEMO_MUS_DEMO_H_ 6 #define SERVICES_UI_DEMO_MUS_DEMO_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <set> 10 #include <set>
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 aura::client::CaptureClient* GetCaptureClient() override; 67 aura::client::CaptureClient* GetCaptureClient() override;
68 aura::PropertyConverter* GetPropertyConverter() override; 68 aura::PropertyConverter* GetPropertyConverter() override;
69 69
70 // aura::WindowManagerDelegate: 70 // aura::WindowManagerDelegate:
71 void SetWindowManagerClient(aura::WindowManagerClient* client) override; 71 void SetWindowManagerClient(aura::WindowManagerClient* client) override;
72 bool OnWmSetBounds(aura::Window* window, gfx::Rect* bounds) override; 72 bool OnWmSetBounds(aura::Window* window, gfx::Rect* bounds) override;
73 bool OnWmSetProperty( 73 bool OnWmSetProperty(
74 aura::Window* window, 74 aura::Window* window,
75 const std::string& name, 75 const std::string& name,
76 std::unique_ptr<std::vector<uint8_t>>* new_data) override; 76 std::unique_ptr<std::vector<uint8_t>>* new_data) override;
77 void OnWmSetCanFocus(aura::Window* window, bool can_focus) override;
77 aura::Window* OnWmCreateTopLevelWindow( 78 aura::Window* OnWmCreateTopLevelWindow(
78 ui::mojom::WindowType window_type, 79 ui::mojom::WindowType window_type,
79 std::map<std::string, std::vector<uint8_t>>* properties) override; 80 std::map<std::string, std::vector<uint8_t>>* properties) override;
80 void OnWmClientJankinessChanged(const std::set<aura::Window*>& client_windows, 81 void OnWmClientJankinessChanged(const std::set<aura::Window*>& client_windows,
81 bool janky) override; 82 bool janky) override;
82 void OnWmWillCreateDisplay(const display::Display& display) override; 83 void OnWmWillCreateDisplay(const display::Display& display) override;
83 void OnWmNewDisplay(std::unique_ptr<aura::WindowTreeHostMus> window_tree_host, 84 void OnWmNewDisplay(std::unique_ptr<aura::WindowTreeHostMus> window_tree_host,
84 const display::Display& display) override; 85 const display::Display& display) override;
85 void OnWmDisplayRemoved(aura::WindowTreeHostMus* window_tree_host) override; 86 void OnWmDisplayRemoved(aura::WindowTreeHostMus* window_tree_host) override;
86 void OnWmDisplayModified(const display::Display& display) override; 87 void OnWmDisplayModified(const display::Display& display) override;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 // Last time a frame was drawn. 127 // Last time a frame was drawn.
127 base::TimeTicks last_draw_frame_time_; 128 base::TimeTicks last_draw_frame_time_;
128 129
129 DISALLOW_COPY_AND_ASSIGN(MusDemo); 130 DISALLOW_COPY_AND_ASSIGN(MusDemo);
130 }; 131 };
131 132
132 } // namespace demo 133 } // namespace demo
133 } // namespace aura 134 } // namespace aura
134 135
135 #endif // SERVICES_UI_DEMO_MUS_DEMO_H_ 136 #endif // SERVICES_UI_DEMO_MUS_DEMO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698