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

Unified Diff: components/exo/shell_surface.h

Issue 2706543002: exo: Synchronize multi-display window positioning (Closed)
Patch Set: Address nit 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 | « components/exo/display_unittest.cc ('k') | components/exo/shell_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/shell_surface.h
diff --git a/components/exo/shell_surface.h b/components/exo/shell_surface.h
index 20b6d5b2dd0fc2a0c22a7a5ac6d7ed4b2e216900..74ff30d1f6ff44122b53828e07ff33c83e6d8ddc 100644
--- a/components/exo/shell_surface.h
+++ b/components/exo/shell_surface.h
@@ -56,7 +56,8 @@ class ShellSurface : public SurfaceDelegate,
//
// When bounds are controlled by the client, it represents the origin of a
// coordinate system to which the position of the shell surface, specified
- // as part of the geometry, is relative.
+ // as part of the geometry, is relative. The client must acknowledge changes
+ // to the origin, and offset the geometry accordingly.
ShellSurface(Surface* surface,
ShellSurface* parent,
BoundsMode bounds_mode,
@@ -96,7 +97,8 @@ class ShellSurface : public SurfaceDelegate,
base::Callback<uint32_t(const gfx::Size& size,
ash::wm::WindowStateType state_type,
bool resizing,
- bool activated)>;
+ bool activated,
+ const gfx::Point& origin)>;
void set_configure_callback(const ConfigureCallback& configure_callback) {
configure_callback_ = configure_callback;
}
« no previous file with comments | « components/exo/display_unittest.cc ('k') | components/exo/shell_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698