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

Unified Diff: chrome/browser/tab_contents/render_view_context_menu.cc

Issue 27193: Make render_view_context_menu.cc compile on Posix. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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/tab_contents/render_view_context_menu.cc
===================================================================
--- chrome/browser/tab_contents/render_view_context_menu.cc (revision 10442)
+++ chrome/browser/tab_contents/render_view_context_menu.cc (working copy)
@@ -15,7 +15,7 @@
RenderViewContextMenu::RenderViewContextMenu(
Menu::Delegate* delegate,
- HWND owner,
+ gfx::NativeWindow owner,
ContextNode node,
const std::wstring& misspelled_word,
const std::vector<std::wstring>& misspelled_word_suggestions,
@@ -120,11 +120,11 @@
}
if (misspelled_word_suggestions_.size() > 0)
AppendSeparator();
-
+
// If word is misspelled, give option for "Add to dictionary"
if (!misspelled_word_.empty()) {
if (misspelled_word_suggestions_.size() == 0) {
- AppendMenuItemWithLabel(0,
+ AppendMenuItemWithLabel(0,
l10n_util::GetString(IDS_CONTENT_CONTEXT_NO_SPELLING_SUGGESTIONS));
}
AppendDelegateMenuItem(IDS_CONTENT_CONTEXT_ADD_TO_DICTIONARY);

Powered by Google App Engine
This is Rietveld 408576698