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

Side by Side Diff: chrome/browser/tab_contents/render_view_context_menu_win.cc

Issue 109043: Move l10n_util to app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/tab_contents/render_view_context_menu_win.h" 5 #include "chrome/browser/tab_contents/render_view_context_menu_win.h"
6 6
7 #include "app/l10n_util.h"
7 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
8 #include "chrome/browser/profile.h" 9 #include "chrome/browser/profile.h"
9 #include "chrome/common/l10n_util.h"
10 #include "grit/generated_resources.h" 10 #include "grit/generated_resources.h"
11 11
12 RenderViewContextMenuWin::RenderViewContextMenuWin( 12 RenderViewContextMenuWin::RenderViewContextMenuWin(
13 TabContents* tab_contents, 13 TabContents* tab_contents,
14 const ContextMenuParams& params, 14 const ContextMenuParams& params,
15 HWND owner) 15 HWND owner)
16 : RenderViewContextMenu(tab_contents, params), 16 : RenderViewContextMenu(tab_contents, params),
17 ALLOW_THIS_IN_INITIALIZER_LIST(menu_(this, Menu::TOPLEFT, owner)), 17 ALLOW_THIS_IN_INITIALIZER_LIST(menu_(this, Menu::TOPLEFT, owner)),
18 sub_menu_(NULL) { 18 sub_menu_(NULL) {
19 InitMenu(params.node); 19 InitMenu(params.node);
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 return true; 110 return true;
111 111
112 case IDS_CONTENT_CONTEXT_SELECTALL: 112 case IDS_CONTENT_CONTEXT_SELECTALL:
113 *accel = views::Accelerator(L'A', false, true, false); 113 *accel = views::Accelerator(L'A', false, true, false);
114 return true; 114 return true;
115 115
116 default: 116 default:
117 return false; 117 return false;
118 } 118 }
119 } 119 }
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/render_view_context_menu_mac.mm ('k') | chrome/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698