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

Unified Diff: components/exo/wayland/server.cc

Issue 2335963002: Refactor: remove SetDisplayWorkAreaInsets calls. (Closed)
Patch Set: Created 4 years, 3 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/wm/window_modality_controller_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/wayland/server.cc
diff --git a/components/exo/wayland/server.cc b/components/exo/wayland/server.cc
index b4c2c99239e017c4b57aa15015fe53da67cba955..0e160d183890c1f377fc01c8d4aceb7233805af9 100644
--- a/components/exo/wayland/server.cc
+++ b/components/exo/wayland/server.cc
@@ -1634,11 +1634,6 @@ class WaylandRemoteShell : public ash::ShellObserver,
}
// Overridden from ash::ShellObserver:
- void OnDisplayWorkAreaInsetsChanged() override {
- const display::Display primary =
- display::Screen::GetScreen()->GetPrimaryDisplay();
- SendConfigure_DEPRECATED(primary);
- }
void OnMaximizeModeStarted() override {
layout_mode_ = ZWP_REMOTE_SHELL_V1_LAYOUT_MODE_TABLET;
SendLayoutModeChange_DEPRECATED();
« no previous file with comments | « ash/wm/window_modality_controller_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698