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

Side by Side Diff: chrome/browser/views/bookmark_manager_view.h

Issue 14601: Some cleanup in view menu delegate (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 12 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_VIEWS_BOOKMARK_MANAGER_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_BOOKMARK_MANAGER_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_BOOKMARK_MANAGER_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_BOOKMARK_MANAGER_VIEW_H_
7 7
8 #include "base/ref_counted.h" 8 #include "base/ref_counted.h"
9 #include "base/task.h" 9 #include "base/task.h"
10 #include "chrome/browser/bookmarks/bookmark_context_menu.h" 10 #include "chrome/browser/bookmarks/bookmark_context_menu.h"
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 UINT message, TCHAR key, UINT repeat_count, 138 UINT message, TCHAR key, UINT repeat_count,
139 UINT flags); 139 UINT flags);
140 140
141 // ContextMenuController. 141 // ContextMenuController.
142 virtual void ShowContextMenu(views::View* source, 142 virtual void ShowContextMenu(views::View* source,
143 int x, 143 int x,
144 int y, 144 int y,
145 bool is_mouse_gesture); 145 bool is_mouse_gesture);
146 146
147 // ViewMenuDelegate. 147 // ViewMenuDelegate.
148 virtual void RunMenu(views::View* source, const CPoint& pt, HWND hwnd); 148 virtual void RunMenu(views::View* source, const gfx::Point& pt, HWND hwnd);
149 149
150 // MenuDelegate. 150 // MenuDelegate.
151 virtual void ExecuteCommand(int id); 151 virtual void ExecuteCommand(int id);
152 152
153 // SelectFileDialog::Listener. 153 // SelectFileDialog::Listener.
154 virtual void FileSelected(const std::wstring& path, void* params); 154 virtual void FileSelected(const std::wstring& path, void* params);
155 virtual void FileSelectionCanceled(void* params); 155 virtual void FileSelectionCanceled(void* params);
156 156
157 // Creates the table model to use when searching. This returns NULL if there 157 // Creates the table model to use when searching. This returns NULL if there
158 // is no search text. 158 // is no search text.
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 // Import/export file dialog. 209 // Import/export file dialog.
210 scoped_refptr<SelectFileDialog> select_file_dialog_; 210 scoped_refptr<SelectFileDialog> select_file_dialog_;
211 211
212 // Factory used for delaying search. 212 // Factory used for delaying search.
213 ScopedRunnableMethodFactory<BookmarkManagerView> search_factory_; 213 ScopedRunnableMethodFactory<BookmarkManagerView> search_factory_;
214 214
215 DISALLOW_COPY_AND_ASSIGN(BookmarkManagerView); 215 DISALLOW_COPY_AND_ASSIGN(BookmarkManagerView);
216 }; 216 };
217 217
218 #endif // CHROME_BROWSER_VIEWS_BOOKMARK_MANAGER_VIEW_H_ 218 #endif // CHROME_BROWSER_VIEWS_BOOKMARK_MANAGER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/bookmark_bar_view.cc ('k') | chrome/browser/views/bookmark_manager_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698