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

Unified Diff: services/ui/public/interfaces/window_manager.mojom

Issue 2689283003: chromeos: removes underlay surface offset (Closed)
Patch Set: log error Created 3 years, 10 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 | « ash/mus/non_client_frame_controller.cc ('k') | services/ui/ws/window_tree.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/interfaces/window_manager.mojom
diff --git a/services/ui/public/interfaces/window_manager.mojom b/services/ui/public/interfaces/window_manager.mojom
index f73d91bfcbad4be288cd6d76240fa4b04231145b..2e8b5de976d04d295e0d571c226259e7c5b2f749 100644
--- a/services/ui/public/interfaces/window_manager.mojom
+++ b/services/ui/public/interfaces/window_manager.mojom
@@ -228,14 +228,10 @@ interface WindowManagerClient {
ActivateNextWindow();
- // Sets the underlay surface offset for the specified window and additional
- // hit area. The underlay surface is drawn at the bounds of the window minus
- // the offset. The hit area is extended from the bounds of the window by
- // |hit_area|.
- SetUnderlaySurfaceOffsetAndExtendedHitArea(uint32 window_id,
- int32 x_offset,
- int32 y_offset,
- gfx.mojom.Insets hit_area);
+ // Sets the additional hit area. The hit area is extended from the bounds of
+ // the window by |hit_area|. This is used to allow for resizes to start
+ // outside the bounds of the window.
+ SetExtendedHitArea(uint32 window_id, gfx.mojom.Insets hit_area);
// Add and remove accelerators. When accelerators are registered the
// WindowManager receives the event via OnAccelerator() rather than the
« no previous file with comments | « ash/mus/non_client_frame_controller.cc ('k') | services/ui/ws/window_tree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698