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

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

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.h
===================================================================
--- chrome/browser/tab_contents/render_view_context_menu.h (revision 10442)
+++ chrome/browser/tab_contents/render_view_context_menu.h (working copy)
@@ -2,19 +2,28 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_CONTEXT_MENU_H_
-#define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_CONTEXT_MENU_H_
+#ifndef CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_
+#define CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_
-#include "chrome/views/menu.h"
+#include <vector>
+
+#include "base/gfx/native_widget_types.h"
#include "webkit/glue/context_menu.h"
+// TODO(port): Port this file.
+#if defined(OS_WIN)
+#include "chrome/views/menu.h"
+#else
+#include "chrome/common/temp_scaffolding_stubs.h"
+#endif
+
class Profile;
class RenderViewContextMenu : public Menu {
public:
RenderViewContextMenu(
Menu::Delegate* delegate,
- HWND owner,
+ gfx::NativeWindow owner,
ContextNode node,
const std::wstring& misspelled_word,
const std::vector<std::wstring>& misspelled_word_suggestions,
@@ -41,5 +50,5 @@
DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu);
};
-#endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_CONTEXT_MENU_H_
+#endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_

Powered by Google App Engine
This is Rietveld 408576698