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

Unified Diff: mash/shelf/shelf_model_observer.h

Issue 1585363002: Fork a subset of ash/shelf for use in mash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add ui/resources dep; comment out unused constants. Created 4 years, 11 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 | « mash/shelf/shelf_model.cc ('k') | mash/shelf/shelf_tooltip_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/shelf/shelf_model_observer.h
diff --git a/ash/shelf/shelf_model_observer.h b/mash/shelf/shelf_model_observer.h
similarity index 76%
copy from ash/shelf/shelf_model_observer.h
copy to mash/shelf/shelf_model_observer.h
index a65e5cfea738e5ccd5de6fae493d66646bfd5ef2..cb3ebe3808a70fe5f0e65bb637ade845a85508ca 100644
--- a/ash/shelf/shelf_model_observer.h
+++ b/mash/shelf/shelf_model_observer.h
@@ -2,17 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef ASH_SHELF_SHELF_MODEL_OBSERVER_H_
-#define ASH_SHELF_SHELF_MODEL_OBSERVER_H_
+#ifndef MASH_SHELF_SHELF_MODEL_OBSERVER_H_
+#define MASH_SHELF_SHELF_MODEL_OBSERVER_H_
-#include "ash/ash_export.h"
-#include "ash/shelf/shelf_item_types.h"
+#include "mash/shelf/shelf_item_types.h"
-namespace ash {
+namespace mash {
+namespace shelf {
struct ShelfItem;
-class ASH_EXPORT ShelfModelObserver {
+class ShelfModelObserver {
public:
// Invoked after an item has been added to the model.
virtual void ShelfItemAdded(int index) = 0;
@@ -36,6 +36,7 @@ class ASH_EXPORT ShelfModelObserver {
virtual ~ShelfModelObserver() {}
};
-} // namespace ash
+} // namespace shelf
+} // namespace mash
-#endif // ASH_SHELF_SHELF_MODEL_OBSERVER_H_
+#endif // MASH_SHELF_SHELF_MODEL_OBSERVER_H_
« no previous file with comments | « mash/shelf/shelf_model.cc ('k') | mash/shelf/shelf_tooltip_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698