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

Unified Diff: chrome/common/temp_scaffolding_stubs.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
« chrome/chrome.gyp ('K') | « chrome/chrome.xcodeproj/project.pbxproj ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/temp_scaffolding_stubs.h
===================================================================
--- chrome/common/temp_scaffolding_stubs.h (revision 10443)
+++ chrome/common/temp_scaffolding_stubs.h (working copy)
@@ -322,8 +322,34 @@
class Menu {
public:
+ enum AnchorPoint {
+ TOPLEFT,
+ TOPRIGHT
+ };
+ enum MenuItemType {
+ NORMAL,
+ CHECKBOX,
+ RADIO,
+ SEPARATOR
+ };
class Delegate {
};
+ Menu(Delegate* delegate, AnchorPoint anchor, gfx::NativeWindow owner) {
+ NOTIMPLEMENTED();
+ }
+ void AppendMenuItem(int item_id, const std::wstring& label,
+ MenuItemType type) {
+ NOTIMPLEMENTED();
+ }
+ void AppendMenuItemWithLabel(int item_id, const std::wstring& label) {
+ NOTIMPLEMENTED();
+ }
+ Menu* AppendSubMenu(int item_id, const std::wstring& label) {
+ NOTIMPLEMENTED();
+ return NULL;
+ }
+ void AppendSeparator() { NOTIMPLEMENTED(); }
+ void AppendDelegateMenuItem(int item_id) { NOTIMPLEMENTED(); }
};
views::Window* CreateInputWindow(gfx::NativeWindow parent_hwnd,
« chrome/chrome.gyp ('K') | « chrome/chrome.xcodeproj/project.pbxproj ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698