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

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

Issue 115665: Middle clicking on a bookmark from the bookmark manager now... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/views/bookmark_manager_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 //virtual bool ShouldShowWindowIcon() const { return true; } 91 //virtual bool ShouldShowWindowIcon() const { return true; }
92 virtual void WindowClosing(); 92 virtual void WindowClosing();
93 93
94 Profile* profile() const { return profile_; } 94 Profile* profile() const { return profile_; }
95 95
96 private: 96 private:
97 // TableViewObserver methods. 97 // TableViewObserver methods.
98 virtual void OnSelectionChanged() {} 98 virtual void OnSelectionChanged() {}
99 // Overriden to open the selected table nodes in the current browser. 99 // Overriden to open the selected table nodes in the current browser.
100 virtual void OnDoubleClick(); 100 virtual void OnDoubleClick();
101 virtual void OnMiddleClick();
101 virtual void OnTableViewDelete(views::TableView* table); 102 virtual void OnTableViewDelete(views::TableView* table);
102 virtual void OnKeyDown(unsigned short virtual_keycode); 103 virtual void OnKeyDown(unsigned short virtual_keycode);
103 104
104 // TreeViewController methods. 105 // TreeViewController methods.
105 virtual void OnTreeViewSelectionChanged(views::TreeView* tree_view); 106 virtual void OnTreeViewSelectionChanged(views::TreeView* tree_view);
106 virtual void OnTreeViewKeyDown(unsigned short virtual_keycode); 107 virtual void OnTreeViewKeyDown(unsigned short virtual_keycode);
107 108
108 // BookmarkModelObserver. We're only installed as an observer until the 109 // BookmarkModelObserver. We're only installed as an observer until the
109 // bookmarks are loaded. 110 // bookmarks are loaded.
110 virtual void Loaded(BookmarkModel* model); 111 virtual void Loaded(BookmarkModel* model);
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 // Import/export file dialog. 213 // Import/export file dialog.
213 scoped_refptr<SelectFileDialog> select_file_dialog_; 214 scoped_refptr<SelectFileDialog> select_file_dialog_;
214 215
215 // Factory used for delaying search. 216 // Factory used for delaying search.
216 ScopedRunnableMethodFactory<BookmarkManagerView> search_factory_; 217 ScopedRunnableMethodFactory<BookmarkManagerView> search_factory_;
217 218
218 DISALLOW_COPY_AND_ASSIGN(BookmarkManagerView); 219 DISALLOW_COPY_AND_ASSIGN(BookmarkManagerView);
219 }; 220 };
220 221
221 #endif // CHROME_BROWSER_VIEWS_BOOKMARK_MANAGER_VIEW_H_ 222 #endif // CHROME_BROWSER_VIEWS_BOOKMARK_MANAGER_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/views/bookmark_manager_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698