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

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

Issue 1919593003: arc: Prevent showing Opt-in UI when it is not expected. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: TODO added Created 4 years, 8 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: chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
index 3dcfad209381d3bf107ba0a4f9d117c120ac5267..88225b805afc4d07b0567b42e765154605bb1688 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
@@ -23,6 +23,7 @@
#include "base/memory/scoped_vector.h"
#include "build/build_config.h"
#include "chrome/browser/ui/app_icon_loader.h"
+#include "chrome/browser/ui/app_list/app_list_controller_delegate.h"
#include "chrome/browser/ui/ash/app_sync_ui_state_observer.h"
#include "chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item.h"
#include "chrome/browser/ui/ash/launcher/chrome_launcher_types.h"
@@ -381,7 +382,8 @@ class ChromeLauncherController
return app_window_controllers_[0].get();
}
- bool CanPin(const std::string& app_id);
+ // TODO(khmel): Find better home for Pinnable enum.
+ AppListControllerDelegate::Pinnable GetPinnable(const std::string& app_id);
protected:
// Creates a new app shortcut item and controller on the shelf at |index|.

Powered by Google App Engine
This is Rietveld 408576698