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

Unified Diff: ash/wm/dock/docked_window_layout_manager.cc

Issue 67923002: Fixes for -Wunused-function on Linux, Android and ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase for realz Created 7 years, 1 month 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/tooltips/tooltip_controller_unittest.cc ('k') | ash/wm/lock_state_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/dock/docked_window_layout_manager.cc
diff --git a/ash/wm/dock/docked_window_layout_manager.cc b/ash/wm/dock/docked_window_layout_manager.cc
index f244f1c902be6a22962f5f75357da01eaa9366fc..d1f0b1d25b557c79ecd9bd5ec880814042174aca 100644
--- a/ash/wm/dock/docked_window_layout_manager.cc
+++ b/ash/wm/dock/docked_window_layout_manager.cc
@@ -82,16 +82,6 @@ class DockedBackgroundWidget : public views::Widget {
DISALLOW_COPY_AND_ASSIGN(DockedBackgroundWidget);
};
-DockedWindowLayoutManager* GetDockLayoutManager(aura::Window* window,
- const gfx::Point& location) {
- gfx::Rect near_location(location, gfx::Size());
- aura::Window* dock = Shell::GetContainer(
- wm::GetRootWindowMatching(near_location),
- kShellWindowId_DockedContainer);
- return static_cast<internal::DockedWindowLayoutManager*>(
- dock->layout_manager());
-}
-
// Returns true if a window is a popup or a transient child.
bool IsPopupOrTransient(const aura::Window* window) {
return (window->type() == aura::client::WINDOW_TYPE_POPUP ||
« no previous file with comments | « ash/tooltips/tooltip_controller_unittest.cc ('k') | ash/wm/lock_state_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698