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

Unified Diff: ash/shelf/shelf.h

Issue 2039543002: Getting rid of ChromeLauncherController::model(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing git cl dependencies 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
Index: ash/shelf/shelf.h
diff --git a/ash/shelf/shelf.h b/ash/shelf/shelf.h
index a780fb3a7bb7c271f44c2341335ad666c7bff72f..97e082a731c38cc61e287413d9b69fdd2ab70035 100644
--- a/ash/shelf/shelf.h
+++ b/ash/shelf/shelf.h
@@ -11,6 +11,7 @@
#include "ash/shelf/shelf_constants.h"
#include "ash/shelf/shelf_locking_manager.h"
#include "ash/shelf/shelf_types.h"
+#include "ash/shelf/shelf_view.h"
#include "ash/shelf/shelf_widget.h"
#include "base/macros.h"
#include "ui/gfx/geometry/size.h"
@@ -37,7 +38,6 @@ class FocusCycler;
class ShelfDelegate;
class ShelfIconObserver;
class ShelfModel;
-class ShelfView;
namespace wm {
class WmShelfAura;
@@ -138,6 +138,8 @@ class ASH_EXPORT Shelf {
ShelfWidget* shelf_widget() { return shelf_widget_; }
+ ShelfModel* shelf_model() { return shelf_view_->model(); }
James Cook 2016/06/04 04:47:58 I don't understand why you're exposing this here,
+
// TODO(msw): ShelfLayoutManager should not be accessed externally.
ShelfLayoutManager* shelf_layout_manager() {
return shelf_widget_->shelf_layout_manager();
« no previous file with comments | « no previous file | ash/shelf/shelf.cc » ('j') | chrome/browser/ui/ash/launcher/extension_launcher_context_menu.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698