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

Unified Diff: components/mus/ws/test_change_tracker.h

Issue 1883263002: mash: Repost mouse pressed event when closing Ash system tray (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup 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 | « components/mus/ws/event_dispatcher_delegate.h ('k') | components/mus/ws/test_change_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/test_change_tracker.h
diff --git a/components/mus/ws/test_change_tracker.h b/components/mus/ws/test_change_tracker.h
index 2051f8c3538879c440c87f3c4bc424a59afbb101..21d59f159b9468c2d6b56a1e1a256b7f43f4732b 100644
--- a/components/mus/ws/test_change_tracker.h
+++ b/components/mus/ws/test_change_tracker.h
@@ -14,6 +14,7 @@
#include "components/mus/common/types.h"
#include "components/mus/public/interfaces/window_tree.mojom.h"
#include "mojo/public/cpp/bindings/array.h"
+#include "ui/gfx/geometry/point.h"
#include "ui/mojo/geometry/geometry.mojom.h"
namespace mus {
@@ -77,7 +78,9 @@ struct Change {
Id window_id3;
mojo::Rect bounds;
mojo::Rect bounds2;
+ uint32_t event_id;
int32_t event_action;
+ gfx::Point event_location;
mojo::String embed_url;
mojom::OrderDirection direction;
bool bool_value;
@@ -156,7 +159,9 @@ class TestChangeTracker {
void OnWindowVisibilityChanged(Id window_id, bool visible);
void OnWindowOpacityChanged(Id window_id, float opacity);
void OnWindowParentDrawnStateChanged(Id window_id, bool drawn);
- void OnWindowInputEvent(Id window_id, mojom::EventPtr event);
+ void OnWindowInputEvent(uint32_t event_id,
+ Id window_id,
+ mojom::EventPtr event);
void OnWindowSharedPropertyChanged(Id window_id,
mojo::String name,
mojo::Array<uint8_t> data);
« no previous file with comments | « components/mus/ws/event_dispatcher_delegate.h ('k') | components/mus/ws/test_change_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698