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

Side by Side Diff: services/ui/public/cpp/tests/window_server_test_base.h

Issue 2183163002: mus: Change PointerWatcher to observe all pointer events, with moves optional. (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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_TESTS_WINDOW_SERVER_TEST_BASE_H_ 5 #ifndef SERVICES_UI_PUBLIC_CPP_TESTS_WINDOW_SERVER_TEST_BASE_H_
6 #define SERVICES_UI_PUBLIC_CPP_TESTS_WINDOW_SERVER_TEST_BASE_H_ 6 #define SERVICES_UI_PUBLIC_CPP_TESTS_WINDOW_SERVER_TEST_BASE_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 // testing::Test: 62 // testing::Test:
63 void SetUp() override; 63 void SetUp() override;
64 64
65 // WindowServerServiceTestBase: 65 // WindowServerServiceTestBase:
66 bool OnConnect(const shell::Identity& remote_identity, 66 bool OnConnect(const shell::Identity& remote_identity,
67 shell::InterfaceRegistry* registry) override; 67 shell::InterfaceRegistry* registry) override;
68 68
69 // WindowTreeClientDelegate: 69 // WindowTreeClientDelegate:
70 void OnEmbed(Window* root) override; 70 void OnEmbed(Window* root) override;
71 void OnDidDestroyClient(WindowTreeClient* client) override; 71 void OnDidDestroyClient(WindowTreeClient* client) override;
72 void OnEventObserved(const ui::Event& event, Window* target) override; 72 void OnPointerEventObserved(const ui::PointerEvent& event,
73 Window* target) override;
73 74
74 // WindowManagerDelegate: 75 // WindowManagerDelegate:
75 void SetWindowManagerClient(WindowManagerClient* client) override; 76 void SetWindowManagerClient(WindowManagerClient* client) override;
76 bool OnWmSetBounds(Window* window, gfx::Rect* bounds) override; 77 bool OnWmSetBounds(Window* window, gfx::Rect* bounds) override;
77 bool OnWmSetProperty( 78 bool OnWmSetProperty(
78 Window* window, 79 Window* window,
79 const std::string& name, 80 const std::string& name,
80 std::unique_ptr<std::vector<uint8_t>>* new_data) override; 81 std::unique_ptr<std::vector<uint8_t>>* new_data) override;
81 Window* OnWmCreateTopLevelWindow( 82 Window* OnWmCreateTopLevelWindow(
82 std::map<std::string, std::vector<uint8_t>>* properties) override; 83 std::map<std::string, std::vector<uint8_t>>* properties) override;
(...skipping 30 matching lines...) Expand all
113 WindowManagerClient* window_manager_client_; 114 WindowManagerClient* window_manager_client_;
114 115
115 bool window_tree_client_destroyed_; 116 bool window_tree_client_destroyed_;
116 117
117 DISALLOW_COPY_AND_ASSIGN(WindowServerTestBase); 118 DISALLOW_COPY_AND_ASSIGN(WindowServerTestBase);
118 }; 119 };
119 120
120 } // namespace ui 121 } // namespace ui
121 122
122 #endif // SERVICES_UI_PUBLIC_CPP_TESTS_WINDOW_SERVER_TEST_BASE_H_ 123 #endif // SERVICES_UI_PUBLIC_CPP_TESTS_WINDOW_SERVER_TEST_BASE_H_
OLDNEW
« no previous file with comments | « services/ui/public/cpp/tests/test_window_tree.cc ('k') | services/ui/public/cpp/tests/window_server_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698