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

Unified Diff: ash/mus/non_client_frame_controller.cc

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 | « no previous file | services/ui/public/interfaces/window_manager.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/non_client_frame_controller.cc
diff --git a/ash/mus/non_client_frame_controller.cc b/ash/mus/non_client_frame_controller.cc
index e57377be2b00ad78c9f0c4a9a88470ad7e9c77b8..64bc0c442da8124a82ec7933194ac6e5e9244148 100644
--- a/ash/mus/non_client_frame_controller.cc
+++ b/ash/mus/non_client_frame_controller.cc
@@ -319,14 +319,11 @@ NonClientFrameController::NonClientFrameController(
widget_->ShowInactive();
- const int shadow_inset =
- Shadow::GetInteriorInsetForStyle(Shadow::STYLE_ACTIVE);
WmWindow* wm_window = WmWindow::Get(window_);
const gfx::Insets extended_hit_region =
wm_window->ShouldUseExtendedHitRegion() ? GetExtendedHitRegion()
: gfx::Insets();
- window_manager_client_->SetUnderlaySurfaceOffsetAndExtendedHitArea(
- window_, gfx::Vector2d(shadow_inset, shadow_inset), extended_hit_region);
+ window_manager_client_->SetExtendedHitArea(window_, extended_hit_region);
aura::client::GetTransientWindowClient()->AddObserver(this);
}
« no previous file with comments | « no previous file | services/ui/public/interfaces/window_manager.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698