diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-12 19:22:26 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-12 19:22:26 +0000 |
commit | d6d6d586d2a91d13d06a8bce53a2d03f2458f9c2 (patch) | |
tree | f662039f70110c555ec6fb096b389b73af31af2d /chrome/browser/views/bookmark_manager_view.h | |
parent | 7587ee0fa4399ed0485559559b0ee9228daf0337 (diff) | |
download | chromium_src-d6d6d586d2a91d13d06a8bce53a2d03f2458f9c2.zip chromium_src-d6d6d586d2a91d13d06a8bce53a2d03f2458f9c2.tar.gz chromium_src-d6d6d586d2a91d13d06a8bce53a2d03f2458f9c2.tar.bz2 |
Converts some uses of native_view to native_window. This is necessitated
by wanting to parent bookmarkeditor to browserwindow, which returns a
native_window.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/270067
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28728 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/bookmark_manager_view.h')
-rw-r--r-- | chrome/browser/views/bookmark_manager_view.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/chrome/browser/views/bookmark_manager_view.h b/chrome/browser/views/bookmark_manager_view.h index af3839c..cfbc33a 100644 --- a/chrome/browser/views/bookmark_manager_view.h +++ b/chrome/browser/views/bookmark_manager_view.h @@ -161,7 +161,7 @@ class BookmarkManagerView : public views::View, bool is_mouse_gesture); // ViewMenuDelegate. - virtual void RunMenu(views::View* source, const gfx::Point& pt, HWND hwnd); + virtual void RunMenu(views::View* source, const gfx::Point& pt); // MenuDelegate. virtual void ExecuteCommand(int id); @@ -198,9 +198,7 @@ class BookmarkManagerView : public views::View, // Shows the menu. This is invoked to show the context menu for table/tree // as well as to show the menu from the organize button. - void ShowMenu(HWND host, - int x, - int y, + void ShowMenu(int x, int y, BookmarkContextMenuController::ConfigurationType config); // Invoked to handle cut/copy/paste from the table or tree. If |from_table| @@ -208,7 +206,7 @@ class BookmarkManagerView : public views::View, void OnCutCopyPaste(CutCopyPasteType type, bool from_table); // Shows the tools menu. - void ShowToolsMenu(HWND host, int x, int y); + void ShowToolsMenu(int x, int y); // Shows the import/export file chooser. These invoke // FileSelected/FileSelectionCanceled when done. |