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

Side by Side Diff: chrome/browser/ui/app_list/app_context_menu.cc

Issue 498773003: Use a qualified path for chromium_strings, google_chrome_strings, and generated_resources. (part 2 … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/app_list/app_context_menu.h" 5 #include "chrome/browser/ui/app_list/app_context_menu.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "chrome/browser/extensions/context_menu_matcher.h" 9 #include "chrome/browser/extensions/context_menu_matcher.h"
10 #include "chrome/browser/extensions/menu_manager.h" 10 #include "chrome/browser/extensions/menu_manager.h"
11 #include "chrome/browser/prefs/incognito_mode_prefs.h" 11 #include "chrome/browser/prefs/incognito_mode_prefs.h"
12 #include "chrome/browser/profiles/profile.h" 12 #include "chrome/browser/profiles/profile.h"
13 #include "chrome/browser/ui/app_list/app_context_menu_delegate.h" 13 #include "chrome/browser/ui/app_list/app_context_menu_delegate.h"
14 #include "chrome/browser/ui/app_list/app_list_controller_delegate.h" 14 #include "chrome/browser/ui/app_list/app_list_controller_delegate.h"
15 #include "chrome/common/chrome_switches.h" 15 #include "chrome/common/chrome_switches.h"
16 #include "chrome/common/extensions/manifest_url_handler.h" 16 #include "chrome/common/extensions/manifest_url_handler.h"
17 #include "chrome/grit/chromium_strings.h"
18 #include "chrome/grit/generated_resources.h"
17 #include "content/public/common/context_menu_params.h" 19 #include "content/public/common/context_menu_params.h"
18 #include "grit/chromium_strings.h"
19 #include "grit/generated_resources.h"
20 #include "ui/base/l10n/l10n_util.h" 20 #include "ui/base/l10n/l10n_util.h"
21 21
22 #if defined(USE_ASH) 22 #if defined(USE_ASH)
23 #include "ash/shell.h" 23 #include "ash/shell.h"
24 #endif 24 #endif
25 25
26 namespace app_list { 26 namespace app_list {
27 27
28 namespace { 28 namespace {
29 29
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 extension_menu_items_->ExecuteCommand(command_id, NULL, 281 extension_menu_items_->ExecuteCommand(command_id, NULL,
282 content::ContextMenuParams()); 282 content::ContextMenuParams());
283 } else if (command_id == MENU_NEW_WINDOW) { 283 } else if (command_id == MENU_NEW_WINDOW) {
284 controller_->CreateNewWindow(profile_, false); 284 controller_->CreateNewWindow(profile_, false);
285 } else if (command_id == MENU_NEW_INCOGNITO_WINDOW) { 285 } else if (command_id == MENU_NEW_INCOGNITO_WINDOW) {
286 controller_->CreateNewWindow(profile_, true); 286 controller_->CreateNewWindow(profile_, true);
287 } 287 }
288 } 288 }
289 289
290 } // namespace app_list 290 } // namespace app_list
OLDNEW
« no previous file with comments | « chrome/browser/ui/android/website_settings_popup_android.cc ('k') | chrome/browser/ui/app_list/app_list_service_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698