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

Unified Diff: chrome/browser/views/bookmark_context_menu.h

Issue 150171: Convert menu strings to UTF16, fix some views-GTK build errors. (Closed)
Patch Set: Created 11 years, 6 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
« no previous file with comments | « chrome/browser/browser_main.cc ('k') | chrome/browser/views/browser_bubble_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/bookmark_context_menu.h
diff --git a/chrome/browser/views/bookmark_context_menu.h b/chrome/browser/views/bookmark_context_menu.h
index d1d7bad5edfb3428514341f4aa14c5c58967d6fb..96304d4d3c89e25e68347441aa45def362f76f50 100644
--- a/chrome/browser/views/bookmark_context_menu.h
+++ b/chrome/browser/views/bookmark_context_menu.h
@@ -29,7 +29,7 @@ class BookmarkContextMenu : public BookmarkContextMenuControllerDelegate,
virtual void ExecuteCommand(int command_id);
virtual bool IsItemChecked(int command_id) const;
virtual bool IsCommandEnabled(int command_id) const;
-
+
// Overridden from BookmarkContextMenuControllerDelegate:
virtual void CloseMenu();
virtual void AddItem(int command_id);
@@ -38,15 +38,14 @@ class BookmarkContextMenu : public BookmarkContextMenuControllerDelegate,
virtual void AddCheckboxItem(int command_id);
private:
-
scoped_ptr<BookmarkContextMenuController> controller_;
- // The window used to parent dialog boxes opened from the context menu.
- gfx::NativeWindow parent_window_;
+ // The parent of dialog boxes opened from the context menu.
+ gfx::NativeView parent_window_;
// The menu itself.
scoped_ptr<views::MenuItemView> menu_;
-
+
DISALLOW_COPY_AND_ASSIGN(BookmarkContextMenu);
};
« no previous file with comments | « chrome/browser/browser_main.cc ('k') | chrome/browser/views/browser_bubble_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698