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

Side by Side Diff: services/ui/ws/window_tree_client_unittest.cc

Issue 2125883003: Adds ability for pre-target accelerators to not consume events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 years, 5 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/ws/window_tree.cc ('k') | ui/events/mojo/OWNERS » ('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 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 #include <stddef.h> 5 #include <stddef.h>
6 #include <stdint.h> 6 #include <stdint.h>
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 bool janky) override { 414 bool janky) override {
415 NOTIMPLEMENTED(); 415 NOTIMPLEMENTED();
416 } 416 }
417 void WmPerformMoveLoop(uint32_t change_id, 417 void WmPerformMoveLoop(uint32_t change_id,
418 uint32_t window_id, 418 uint32_t window_id,
419 mojom::MoveLoopSource source, 419 mojom::MoveLoopSource source,
420 const gfx::Point& cursor_location) override { 420 const gfx::Point& cursor_location) override {
421 NOTIMPLEMENTED(); 421 NOTIMPLEMENTED();
422 } 422 }
423 void WmCancelMoveLoop(uint32_t window_id) override { NOTIMPLEMENTED(); } 423 void WmCancelMoveLoop(uint32_t window_id) override { NOTIMPLEMENTED(); }
424 void OnAccelerator(uint32_t id, std::unique_ptr<ui::Event> event) override { 424 void OnAccelerator(uint32_t ack_id,
425 uint32_t accelerator_id,
426 std::unique_ptr<ui::Event> event) override {
425 NOTIMPLEMENTED(); 427 NOTIMPLEMENTED();
426 } 428 }
427 429
428 TestChangeTracker tracker_; 430 TestChangeTracker tracker_;
429 431
430 mojom::WindowTreePtr tree_; 432 mojom::WindowTreePtr tree_;
431 433
432 // If non-null we're waiting for OnEmbed() using this RunLoop. 434 // If non-null we're waiting for OnEmbed() using this RunLoop.
433 std::unique_ptr<base::RunLoop> embed_run_loop_; 435 std::unique_ptr<base::RunLoop> embed_run_loop_;
434 436
(...skipping 1605 matching lines...) Expand 10 before | Expand all | Expand 10 after
2040 2042
2041 // TODO(sky): make sure coverage of what was 2043 // TODO(sky): make sure coverage of what was
2042 // WindowManagerTest.SecondEmbedRoot_InitService and 2044 // WindowManagerTest.SecondEmbedRoot_InitService and
2043 // WindowManagerTest.MultipleEmbedRootsBeforeWTHReady gets added to window 2045 // WindowManagerTest.MultipleEmbedRootsBeforeWTHReady gets added to window
2044 // manager 2046 // manager
2045 // tests. 2047 // tests.
2046 2048
2047 } // namespace test 2049 } // namespace test
2048 } // namespace ws 2050 } // namespace ws
2049 } // namespace ui 2051 } // namespace ui
OLDNEW
« no previous file with comments | « services/ui/ws/window_tree.cc ('k') | ui/events/mojo/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698