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

Unified Diff: ash/common/shelf/wm_shelf.h

Issue 2104593002: ash: Remove WmShelf::ForPrimaryDisplay (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/ash.gyp ('k') | ash/common/shelf/wm_shelf.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/wm_shelf.h
diff --git a/ash/common/shelf/wm_shelf.h b/ash/common/shelf/wm_shelf.h
index d1011d06a5d8488a0bf54459a4757d14f61693da..198f9cf27f5b42f0a182b5893db2cb5f97b503f8 100644
--- a/ash/common/shelf/wm_shelf.h
+++ b/ash/common/shelf/wm_shelf.h
@@ -25,11 +25,6 @@ class WmWindow;
// Used for accessing global state.
class ASH_EXPORT WmShelf {
public:
- // Returns the shelf for the primary display. Useful in tests that only use
- // a single display. In production code use WmRootWindowController::GetShelf()
- // with the appropriate display's root window controller.
- static WmShelf* ForPrimaryDisplay();
-
// Returns the window showing the shelf.
virtual WmWindow* GetWindow() = 0;
« no previous file with comments | « ash/ash.gyp ('k') | ash/common/shelf/wm_shelf.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698