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

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

Issue 2696073002: Merge ShelfItemDelegate::ItemSelected & LauncherItemDelegate::Activate. (Closed)
Patch Set: Cleanup Created 3 years, 10 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/browser_shortcut_launcher_item_controller.h
diff --git a/chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.h b/chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.h
index e84a40d18036cbe9f43191ad6cae7b834e7b5c46..90d2b64a94f8c50a53928197e1c39ddce47818d2 100644
--- a/chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.h
+++ b/chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.h
@@ -43,10 +43,10 @@ class BrowserShortcutLauncherItemController : public LauncherItemController {
bool IsListOfActiveBrowserEmpty();
// LauncherItemController overrides:
- ShelfItemDelegate::PerformedAction Activate(
- ash::LaunchSource source) override;
- ash::ShelfItemDelegate::PerformedAction ItemSelected(
- const ui::Event& event) override;
+ ash::ShelfAction ItemSelected(ui::EventType event_type,
+ int event_flags,
+ int64_t display_id,
+ ash::ShelfLaunchSource source) override;
ash::ShelfAppMenuItemList GetAppMenuItems(int event_flags) override;
void Close() override;
@@ -65,7 +65,7 @@ class BrowserShortcutLauncherItemController : public LauncherItemController {
// Activate a browser - or advance to the next one on the list.
// Returns the action performed. Should be one of kNoAction,
// kExistingWindowActivated, or kNewWindowCreated.
- PerformedAction ActivateOrAdvanceToNextBrowser();
+ ash::ShelfAction ActivateOrAdvanceToNextBrowser();
// Returns true when the given |browser| is listed in the browser application
// list.

Powered by Google App Engine
This is Rietveld 408576698