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

Unified Diff: ash/test/shelf_test_api.cc

Issue 115113006: Rename Launcher to Shelf. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes Created 7 years 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/test/shelf_test_api.h ('k') | ash/test/test_session_state_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/shelf_test_api.cc
diff --git a/ash/test/shelf_test_api.cc b/ash/test/shelf_test_api.cc
new file mode 100644
index 0000000000000000000000000000000000000000..0ce27f7f5369b6a6f1c833c87702bd5fd18646de
--- /dev/null
+++ b/ash/test/shelf_test_api.cc
@@ -0,0 +1,28 @@
+// 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.
+
+#include "ash/test/shelf_test_api.h"
+
+#include "ash/shelf/shelf.h"
+
+namespace ash {
+namespace test {
+
+ShelfTestAPI::ShelfTestAPI(Shelf* shelf)
+ : shelf_(shelf) {
+}
+
+ShelfTestAPI::~ShelfTestAPI() {
+}
+
+internal::ShelfView* ShelfTestAPI::shelf_view() {
+ return shelf_->shelf_view_;
+}
+
+void ShelfTestAPI::SetShelfDelegate(ShelfDelegate* delegate) {
+ shelf_->delegate_ = delegate;
+}
+
+} // namespace test
+} // namespace ash
« no previous file with comments | « ash/test/shelf_test_api.h ('k') | ash/test/test_session_state_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698