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

Unified Diff: chrome/browser/ui/views/app_list/win/app_list_win.h

Issue 2143893002: Purge the App Launcher code from Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comment Created 4 years, 5 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: chrome/browser/ui/views/app_list/win/app_list_win.h
diff --git a/chrome/browser/ui/views/app_list/win/app_list_win.h b/chrome/browser/ui/views/app_list/win/app_list_win.h
deleted file mode 100644
index 2d843884ad5f53729a11facabca64261ecadc562..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/app_list/win/app_list_win.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_VIEWS_APP_LIST_WIN_APP_LIST_WIN_H_
-#define CHROME_BROWSER_UI_VIEWS_APP_LIST_WIN_APP_LIST_WIN_H_
-
-namespace app_list {
-class AppListView;
-}
-
-namespace display {
-class Display;
-}
-
-namespace gfx {
-class Point;
-class Rect;
-class Size;
-}
-
-// Responsible for positioning an AppListView on Windows.
-// TODO(tapted): Shouldn't be a class - move the static member functions out.
-class AppListWin {
- public:
- // Finds the position for a window to anchor it to the taskbar. This chooses
- // the most appropriate position for the window based on whether the taskbar
- // exists, the position of the taskbar, and the mouse cursor. Returns the
- // intended coordinates for the center of the window. If |taskbar_rect| is
- // empty, assumes there is no taskbar on the given display.
- static gfx::Point FindAnchorPoint(const gfx::Size& view_size,
- const display::Display& display,
- const gfx::Point& cursor,
- const gfx::Rect& taskbar_rect,
- bool center_window);
-
- static void MoveNearCursor(app_list::AppListView* view);
-};
-
-#endif // CHROME_BROWSER_UI_VIEWS_APP_LIST_WIN_APP_LIST_WIN_H_

Powered by Google App Engine
This is Rietveld 408576698