OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 UINT message, TCHAR key, UINT repeat_count, | 140 UINT message, TCHAR key, UINT repeat_count, |
141 UINT flags); | 141 UINT flags); |
142 | 142 |
143 // ContextMenuController. | 143 // ContextMenuController. |
144 virtual void ShowContextMenu(views::View* source, | 144 virtual void ShowContextMenu(views::View* source, |
145 int x, | 145 int x, |
146 int y, | 146 int y, |
147 bool is_mouse_gesture); | 147 bool is_mouse_gesture); |
148 | 148 |
149 // ViewMenuDelegate. | 149 // ViewMenuDelegate. |
150 virtual void RunMenu(views::View* source, const CPoint& pt, HWND hwnd); | 150 virtual void RunMenu(views::View* source, const gfx::Point& pt, HWND hwnd); |
151 | 151 |
152 // MenuDelegate. | 152 // MenuDelegate. |
153 virtual void ExecuteCommand(int id); | 153 virtual void ExecuteCommand(int id); |
154 | 154 |
155 // SelectFileDialog::Listener. | 155 // SelectFileDialog::Listener. |
156 virtual void FileSelected(const FilePath& path, | 156 virtual void FileSelected(const FilePath& path, |
157 int index, void* params); | 157 int index, void* params); |
158 virtual void FileSelectionCanceled(void* params); | 158 virtual void FileSelectionCanceled(void* params); |
159 | 159 |
160 // Creates the table model to use when searching. This returns NULL if there | 160 // Creates the table model to use when searching. This returns NULL if there |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 // Import/export file dialog. | 212 // Import/export file dialog. |
213 scoped_refptr<SelectFileDialog> select_file_dialog_; | 213 scoped_refptr<SelectFileDialog> select_file_dialog_; |
214 | 214 |
215 // Factory used for delaying search. | 215 // Factory used for delaying search. |
216 ScopedRunnableMethodFactory<BookmarkManagerView> search_factory_; | 216 ScopedRunnableMethodFactory<BookmarkManagerView> search_factory_; |
217 | 217 |
218 DISALLOW_COPY_AND_ASSIGN(BookmarkManagerView); | 218 DISALLOW_COPY_AND_ASSIGN(BookmarkManagerView); |
219 }; | 219 }; |
220 | 220 |
221 #endif // CHROME_BROWSER_VIEWS_BOOKMARK_MANAGER_VIEW_H_ | 221 #endif // CHROME_BROWSER_VIEWS_BOOKMARK_MANAGER_VIEW_H_ |
OLD | NEW |