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

Side by Side Diff: chrome/browser/render_view_context_menu.cc

Issue 18263: Move search engines files into subdir (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 11 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
« no previous file with comments | « chrome/browser/profile.cc ('k') | chrome/browser/render_view_context_menu_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/render_view_context_menu.h" 5 #include "chrome/browser/render_view_context_menu.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/app/chrome_dll_resource.h" 8 #include "chrome/app/chrome_dll_resource.h"
9 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
10 #include "chrome/browser/profile.h" 10 #include "chrome/browser/profile.h"
11 #include "chrome/browser/search_engines/template_url_model.h"
11 #include "chrome/browser/spellchecker.h" 12 #include "chrome/browser/spellchecker.h"
12 #include "chrome/browser/template_url_model.h"
13 #include "chrome/common/l10n_util.h" 13 #include "chrome/common/l10n_util.h"
14 #include "webkit/glue/context_node_types.h" 14 #include "webkit/glue/context_node_types.h"
15 15
16 #include "generated_resources.h" 16 #include "generated_resources.h"
17 17
18 RenderViewContextMenu::RenderViewContextMenu( 18 RenderViewContextMenu::RenderViewContextMenu(
19 Menu::Delegate* delegate, 19 Menu::Delegate* delegate,
20 HWND owner, 20 HWND owner,
21 ContextNode::Type type, 21 ContextNode::Type type,
22 const std::wstring& misspelled_word, 22 const std::wstring& misspelled_word,
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 171
172 // Add 'Check the spelling of this field' item in the sub menu. 172 // Add 'Check the spelling of this field' item in the sub menu.
173 spellchecker_sub_menu_->AppendMenuItem( 173 spellchecker_sub_menu_->AppendMenuItem(
174 IDC_CHECK_SPELLING_OF_THIS_FIELD, 174 IDC_CHECK_SPELLING_OF_THIS_FIELD,
175 l10n_util::GetString(IDS_CONTENT_CONTEXT_CHECK_SPELLING_OF_THIS_FIELD), 175 l10n_util::GetString(IDS_CONTENT_CONTEXT_CHECK_SPELLING_OF_THIS_FIELD),
176 CHECKBOX); 176 CHECKBOX);
177 177
178 AppendSeparator(); 178 AppendSeparator();
179 AppendDelegateMenuItem(IDS_CONTENT_CONTEXT_SELECTALL); 179 AppendDelegateMenuItem(IDS_CONTENT_CONTEXT_SELECTALL);
180 } 180 }
OLDNEW
« no previous file with comments | « chrome/browser/profile.cc ('k') | chrome/browser/render_view_context_menu_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698