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

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: rebase Created 4 years, 8 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/app_list_controller.cc ('k') | ash/wm/panels/panel_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..23b0141fa443cc540d8fd41266063510383398f4 100644
--- a/ash/wm/panels/attached_panel_window_targeter.cc
+++ b/ash/wm/panels/attached_panel_window_targeter.cc
@@ -61,12 +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;
}
set_touch_extend(touch);
« no previous file with comments | « ash/wm/app_list_controller.cc ('k') | ash/wm/panels/panel_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698