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

Unified Diff: ui/views/mus/window_manager_connection_unittest.cc

Issue 1934123004: mash: Fix shelf overflow bubble not closing on click outside its bounds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2openoverflow
Patch Set: rebase Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/mus/window_manager_connection.cc ('k') | ui/views/pointer_watcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/window_manager_connection_unittest.cc
diff --git a/ui/views/mus/window_manager_connection_unittest.cc b/ui/views/mus/window_manager_connection_unittest.cc
index 2bab040bd0fd39a4ac2677a5c956433db62325ef..aba26448aa9698320c9a6c4597b9623114fd77d9 100644
--- a/ui/views/mus/window_manager_connection_unittest.cc
+++ b/ui/views/mus/window_manager_connection_unittest.cc
@@ -25,10 +25,12 @@ class TestPointerWatcher : public PointerWatcher {
void Reset() { last_event_.reset(); }
// PointerWatcher:
- void OnMousePressed(const ui::MouseEvent& event) override {
+ void OnMousePressed(const ui::MouseEvent& event,
+ const gfx::Point& location_in_screen) override {
last_event_ = ui::Event::Clone(event);
}
- void OnTouchPressed(const ui::TouchEvent& event) override {
+ void OnTouchPressed(const ui::TouchEvent& event,
+ const gfx::Point& location_in_screen) override {
last_event_ = ui::Event::Clone(event);
}
« no previous file with comments | « ui/views/mus/window_manager_connection.cc ('k') | ui/views/pointer_watcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698