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

Side by Side Diff: services/ui/demo/mus_demo.h

Issue 2657873006: Remove WindowTreeClientDelegate::GetCaptureClient() and WindowTreeClient::GetCaptureClient(). (Closed)
Patch Set: 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 service_manager::InterfaceRegistry* registry) override; 57 service_manager::InterfaceRegistry* registry) override;
58 58
59 // aura::WindowTreeClientDelegate: 59 // aura::WindowTreeClientDelegate:
60 void OnEmbed( 60 void OnEmbed(
61 std::unique_ptr<aura::WindowTreeHostMus> window_tree_host) override; 61 std::unique_ptr<aura::WindowTreeHostMus> window_tree_host) override;
62 void OnUnembed(aura::Window* root) override; 62 void OnUnembed(aura::Window* root) override;
63 void OnEmbedRootDestroyed(aura::WindowTreeHostMus* window_tree_host) override; 63 void OnEmbedRootDestroyed(aura::WindowTreeHostMus* window_tree_host) override;
64 void OnLostConnection(aura::WindowTreeClient* client) override; 64 void OnLostConnection(aura::WindowTreeClient* client) override;
65 void OnPointerEventObserved(const ui::PointerEvent& event, 65 void OnPointerEventObserved(const ui::PointerEvent& event,
66 aura::Window* target) override; 66 aura::Window* target) override;
67 aura::client::CaptureClient* GetCaptureClient() override;
68 aura::PropertyConverter* GetPropertyConverter() override; 67 aura::PropertyConverter* GetPropertyConverter() override;
69 68
70 // aura::WindowManagerDelegate: 69 // aura::WindowManagerDelegate:
71 void SetWindowManagerClient(aura::WindowManagerClient* client) override; 70 void SetWindowManagerClient(aura::WindowManagerClient* client) override;
72 bool OnWmSetBounds(aura::Window* window, gfx::Rect* bounds) override; 71 bool OnWmSetBounds(aura::Window* window, gfx::Rect* bounds) override;
73 bool OnWmSetProperty( 72 bool OnWmSetProperty(
74 aura::Window* window, 73 aura::Window* window,
75 const std::string& name, 74 const std::string& name,
76 std::unique_ptr<std::vector<uint8_t>>* new_data) override; 75 std::unique_ptr<std::vector<uint8_t>>* new_data) override;
77 aura::Window* OnWmCreateTopLevelWindow( 76 aura::Window* OnWmCreateTopLevelWindow(
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 // Last time a frame was drawn. 125 // Last time a frame was drawn.
127 base::TimeTicks last_draw_frame_time_; 126 base::TimeTicks last_draw_frame_time_;
128 127
129 DISALLOW_COPY_AND_ASSIGN(MusDemo); 128 DISALLOW_COPY_AND_ASSIGN(MusDemo);
130 }; 129 };
131 130
132 } // namespace demo 131 } // namespace demo
133 } // namespace aura 132 } // namespace aura
134 133
135 #endif // SERVICES_UI_DEMO_MUS_DEMO_H_ 134 #endif // SERVICES_UI_DEMO_MUS_DEMO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698