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

Side by Side Diff: services/ui/public/cpp/window_tree_client.h

Issue 2179083002: mash: Fix system tray bubble not closing for clicks outside its bounds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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 | « services/ui/public/cpp/tests/window_tree_client_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ 5 #ifndef SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_
6 #define SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ 6 #define SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 // Called by WmNewDisplayAdded(). 257 // Called by WmNewDisplayAdded().
258 void WmNewDisplayAddedImpl(const display::Display& display, 258 void WmNewDisplayAddedImpl(const display::Display& display,
259 mojom::WindowDataPtr root_data, 259 mojom::WindowDataPtr root_data,
260 bool parent_drawn); 260 bool parent_drawn);
261 261
262 void OnReceivedCursorLocationMemory(mojo::ScopedSharedBufferHandle handle); 262 void OnReceivedCursorLocationMemory(mojo::ScopedSharedBufferHandle handle);
263 263
264 // Callback passed from WmPerformMoveLoop(). 264 // Callback passed from WmPerformMoveLoop().
265 void OnWmMoveLoopCompleted(uint32_t change_id, bool completed); 265 void OnWmMoveLoopCompleted(uint32_t change_id, bool completed);
266 266
267 // Notifies the delegate of an |event| matching an event observer. |target|
268 // may be null if the event did not hit a window owned by this client.
269 void SendToEventObserver(const ui::Event& event, Window* target);
270
267 // Overridden from WindowTreeClient: 271 // Overridden from WindowTreeClient:
268 void OnEmbed(ClientSpecificId client_id, 272 void OnEmbed(ClientSpecificId client_id,
269 mojom::WindowDataPtr root, 273 mojom::WindowDataPtr root,
270 mojom::WindowTreePtr tree, 274 mojom::WindowTreePtr tree,
271 int64_t display_id, 275 int64_t display_id,
272 Id focused_window_id, 276 Id focused_window_id,
273 bool drawn) override; 277 bool drawn) override;
274 void OnEmbeddedAppDisconnected(Id window_id) override; 278 void OnEmbeddedAppDisconnected(Id window_id) override;
275 void OnUnembed(Id window_id) override; 279 void OnUnembed(Id window_id) override;
276 void OnLostCapture(Id window_id) override; 280 void OnLostCapture(Id window_id) override;
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 base::Callback<void(bool)> on_current_move_finished_; 435 base::Callback<void(bool)> on_current_move_finished_;
432 436
433 base::WeakPtrFactory<WindowTreeClient> weak_factory_; 437 base::WeakPtrFactory<WindowTreeClient> weak_factory_;
434 438
435 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); 439 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient);
436 }; 440 };
437 441
438 } // namespace ui 442 } // namespace ui
439 443
440 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ 444 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_
OLDNEW
« no previous file with comments | « services/ui/public/cpp/tests/window_tree_client_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698