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

Side by Side Diff: chrome/browser/ui/ash/launcher/launcher_context_menu.cc

Issue 1772513002: Add frameId to contextMenus.onClicked / onclick. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/ash/launcher/launcher_context_menu.h" 5 #include "chrome/browser/ui/ash/launcher/launcher_context_menu.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "ash/desktop_background/user_wallpaper_delegate.h" 9 #include "ash/desktop_background/user_wallpaper_delegate.h"
10 #include "ash/metrics/user_metrics_recorder.h" 10 #include "ash/metrics/user_metrics_recorder.h"
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 controller_->CreateNewIncognitoWindow(); 305 controller_->CreateNewIncognitoWindow();
306 break; 306 break;
307 case MENU_ALIGNMENT_MENU: 307 case MENU_ALIGNMENT_MENU:
308 break; 308 break;
309 case MENU_CHANGE_WALLPAPER: 309 case MENU_CHANGE_WALLPAPER:
310 ash::Shell::GetInstance()->user_wallpaper_delegate()-> 310 ash::Shell::GetInstance()->user_wallpaper_delegate()->
311 OpenSetWallpaperPage(); 311 OpenSetWallpaperPage();
312 break; 312 break;
313 default: 313 default:
314 if (extension_items_) { 314 if (extension_items_) {
315 extension_items_->ExecuteCommand(command_id, nullptr, 315 extension_items_->ExecuteCommand(command_id, nullptr, nullptr,
316 content::ContextMenuParams()); 316 content::ContextMenuParams());
317 } 317 }
318 } 318 }
319 } 319 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698