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

Unified Diff: components/exo/display.cc

Issue 2645663004: exo: Initial support for multiple displays in ARC (Closed)
Patch Set: Address nits Created 3 years, 9 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.h ('k') | components/exo/display_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/display.cc
diff --git a/components/exo/display.cc b/components/exo/display.cc
index ae02686711bbac57ce57b96f47bfaa8ae105a684..1fbab0ffcb9b7bfeebb41f8e350028b88582ca71 100644
--- a/components/exo/display.cc
+++ b/components/exo/display.cc
@@ -179,7 +179,6 @@ std::unique_ptr<ShellSurface> Display::CreatePopupShellSurface(
std::unique_ptr<ShellSurface> Display::CreateRemoteShellSurface(
Surface* surface,
- const gfx::Point& origin,
int container) {
TRACE_EVENT2("exo", "Display::CreateRemoteShellSurface", "surface",
surface->AsTracedValue(), "container", container);
@@ -193,7 +192,7 @@ std::unique_ptr<ShellSurface> Display::CreateRemoteShellSurface(
bool can_minimize = container != ash::kShellWindowId_SystemModalContainer;
return base::MakeUnique<ShellSurface>(
- surface, nullptr, ShellSurface::BoundsMode::CLIENT, origin,
+ surface, nullptr, ShellSurface::BoundsMode::CLIENT, gfx::Point(),
true /* activatable */, can_minimize, container);
}
« no previous file with comments | « components/exo/display.h ('k') | components/exo/display_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698