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

Unified Diff: chrome/browser/ui/ash/launcher/chrome_mash_shelf_controller.h

Issue 2259153002: mash: Port ash_sysui ShelfDelegateMus impl to mojo:ash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync and rebase. Created 4 years, 4 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 | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/ash/launcher/chrome_mash_shelf_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/launcher/chrome_mash_shelf_controller.h
diff --git a/chrome/browser/ui/ash/launcher/chrome_mash_shelf_controller.h b/chrome/browser/ui/ash/launcher/chrome_mash_shelf_controller.h
index 4a40d2d2a603e7089a7f1140750d21efbbb409e6..748f9b425b90a7772ae3d86f9fb7957bb6db5b69 100644
--- a/chrome/browser/ui/ash/launcher/chrome_mash_shelf_controller.h
+++ b/chrome/browser/ui/ash/launcher/chrome_mash_shelf_controller.h
@@ -10,15 +10,15 @@
#include <string>
#include <vector>
+#include "ash/public/interfaces/shelf.mojom.h"
#include "chrome/browser/ui/app_icon_loader.h"
#include "chrome/browser/ui/ash/launcher/launcher_controller_helper.h"
-#include "mash/shelf/public/interfaces/shelf.mojom.h"
#include "mojo/public/cpp/bindings/associated_binding.h"
class ChromeShelfItemDelegate;
// ChromeMashShelfController manages chrome's interaction with the mash shelf.
-class ChromeMashShelfController : public mash::shelf::mojom::ShelfObserver,
+class ChromeMashShelfController : public ash::mojom::ShelfObserver,
public AppIconLoaderDelegate {
public:
ChromeMashShelfController();
@@ -33,18 +33,20 @@ class ChromeMashShelfController : public mash::shelf::mojom::ShelfObserver,
AppIconLoader* GetAppIconLoaderForApp(const std::string& app_id);
- // mash::shelf::mojom::ShelfObserver:
- void OnAlignmentChanged(mash::shelf::mojom::Alignment alignment) override;
- void OnAutoHideBehaviorChanged(
- mash::shelf::mojom::AutoHideBehavior auto_hide) override;
+ // ash::mojom::ShelfObserver:
+ void OnShelfCreated(int64_t display_id) override;
+ void OnAlignmentChanged(ash::ShelfAlignment alignment,
+ int64_t display_id) override;
+ void OnAutoHideBehaviorChanged(ash::ShelfAutoHideBehavior auto_hide,
+ int64_t display_id) override;
// AppIconLoaderDelegate:
void OnAppImageUpdated(const std::string& app_id,
const gfx::ImageSkia& image) override;
LauncherControllerHelper helper_;
- mash::shelf::mojom::ShelfControllerPtr shelf_controller_;
- mojo::AssociatedBinding<mash::shelf::mojom::ShelfObserver> observer_binding_;
+ ash::mojom::ShelfControllerPtr shelf_controller_;
+ mojo::AssociatedBinding<ash::mojom::ShelfObserver> observer_binding_;
std::map<std::string, std::unique_ptr<ChromeShelfItemDelegate>>
app_id_to_item_delegate_;
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/ash/launcher/chrome_mash_shelf_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698