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

Side by Side Diff: components/mus/demo/mus_demo.h

Issue 1949823002: WIP: Eliminate event.target() usage from TrayEventFilter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: container delegate Created 4 years, 7 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 | « chrome/browser/ui/ash/chrome_shell_delegate.cc ('k') | components/mus/demo/mus_demo.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 COMPONENTS_MUS_DEMO_MUS_DEMO_H_ 5 #ifndef COMPONENTS_MUS_DEMO_MUS_DEMO_H_
6 #define COMPONENTS_MUS_DEMO_MUS_DEMO_H_ 6 #define COMPONENTS_MUS_DEMO_MUS_DEMO_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // shell::ShellClient: 42 // shell::ShellClient:
43 void Initialize(shell::Connector* connector, 43 void Initialize(shell::Connector* connector,
44 const shell::Identity& identity, 44 const shell::Identity& identity,
45 uint32_t id) override; 45 uint32_t id) override;
46 bool AcceptConnection(shell::Connection* connection) override; 46 bool AcceptConnection(shell::Connection* connection) override;
47 47
48 // WindowTreeDelegate: 48 // WindowTreeDelegate:
49 void OnEmbed(mus::Window* root) override; 49 void OnEmbed(mus::Window* root) override;
50 void OnUnembed(mus::Window* root) override; 50 void OnUnembed(mus::Window* root) override;
51 void OnConnectionLost(mus::WindowTreeConnection* connection) override; 51 void OnConnectionLost(mus::WindowTreeConnection* connection) override;
52 void OnEventObserved(const ui::Event& event) override; 52 void OnEventObserved(const ui::Event& event, mus::Window* target) override;
53 53
54 // WindowManagerDelegate: 54 // WindowManagerDelegate:
55 void SetWindowManagerClient(mus::WindowManagerClient* client) override; 55 void SetWindowManagerClient(mus::WindowManagerClient* client) override;
56 bool OnWmSetBounds(mus::Window* window, gfx::Rect* bounds) override; 56 bool OnWmSetBounds(mus::Window* window, gfx::Rect* bounds) override;
57 bool OnWmSetProperty( 57 bool OnWmSetProperty(
58 mus::Window* window, 58 mus::Window* window,
59 const std::string& name, 59 const std::string& name,
60 std::unique_ptr<std::vector<uint8_t>>* new_data) override; 60 std::unique_ptr<std::vector<uint8_t>>* new_data) override;
61 mus::Window* OnWmCreateTopLevelWindow( 61 mus::Window* OnWmCreateTopLevelWindow(
62 std::map<std::string, std::vector<uint8_t>>* properties) override; 62 std::map<std::string, std::vector<uint8_t>>* properties) override;
(...skipping 21 matching lines...) Expand all
84 84
85 // Current rotation angle for drawing. 85 // Current rotation angle for drawing.
86 double angle_ = 0.0; 86 double angle_ = 0.0;
87 87
88 DISALLOW_COPY_AND_ASSIGN(MusDemo); 88 DISALLOW_COPY_AND_ASSIGN(MusDemo);
89 }; 89 };
90 90
91 } // namespace mus_demo 91 } // namespace mus_demo
92 92
93 #endif // COMPONENTS_MUS_DEMO_MUS_DEMO_H_ 93 #endif // COMPONENTS_MUS_DEMO_MUS_DEMO_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/chrome_shell_delegate.cc ('k') | components/mus/demo/mus_demo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698