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

Unified Diff: ash/wm/panels/attached_panel_window_targeter.cc

Issue 1849623002: Remove unused ash::SHELF_ALIGNMENT_TOP (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix autoformat problem with <x, >y Created 4 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
Index: ash/wm/panels/attached_panel_window_targeter.cc
diff --git a/ash/wm/panels/attached_panel_window_targeter.cc b/ash/wm/panels/attached_panel_window_targeter.cc
index 4e8b8f71383f2116db099741406a41e7bcc87ebf..e6faaad32e7532bac6d345d5159d4f72be106ced 100644
--- a/ash/wm/panels/attached_panel_window_targeter.cc
+++ b/ash/wm/panels/attached_panel_window_targeter.cc
@@ -61,9 +61,6 @@ void AttachedPanelWindowTargeter::UpdateTouchExtend(aura::Window* root_window) {
case SHELF_ALIGNMENT_RIGHT:
touch = gfx::Insets(touch.top(), touch.left(), touch.bottom(), 0);
break;
- case SHELF_ALIGNMENT_TOP:
- touch = gfx::Insets(0, touch.left(), touch.bottom(), touch.right());
- break;
default:
NOTREACHED();
return;
oshima 2016/03/30 23:59:57 ditto
James Cook 2016/04/04 15:56:05 Done.

Powered by Google App Engine
This is Rietveld 408576698