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

Side by Side Diff: chrome/browser/dom_ui/new_tab_ui.h

Issue 27262: Wires up sorting of bookmarks to the 'organize menu' in the bookmark... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 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
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_DOM_UI_NEW_TAB_UI_H__ 5 #ifndef CHROME_BROWSER_DOM_UI_NEW_TAB_UI_H__
6 #define CHROME_BROWSER_DOM_UI_NEW_TAB_UI_H__ 6 #define CHROME_BROWSER_DOM_UI_NEW_TAB_UI_H__
7 7
8 #include "chrome/browser/bookmarks/bookmark_model.h" 8 #include "chrome/browser/bookmarks/bookmark_model.h"
9 #include "chrome/browser/dom_ui/dom_ui.h" 9 #include "chrome/browser/dom_ui/dom_ui.h"
10 #include "chrome/browser/dom_ui/chrome_url_data_manager.h" 10 #include "chrome/browser/dom_ui/chrome_url_data_manager.h"
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 virtual void Loaded(BookmarkModel* model); 144 virtual void Loaded(BookmarkModel* model);
145 virtual void BookmarkNodeAdded(BookmarkModel* model, 145 virtual void BookmarkNodeAdded(BookmarkModel* model,
146 BookmarkNode* parent, 146 BookmarkNode* parent,
147 int index); 147 int index);
148 virtual void BookmarkNodeRemoved(BookmarkModel* model, 148 virtual void BookmarkNodeRemoved(BookmarkModel* model,
149 BookmarkNode* parent, 149 BookmarkNode* parent,
150 int index); 150 int index);
151 virtual void BookmarkNodeChanged(BookmarkModel* model, 151 virtual void BookmarkNodeChanged(BookmarkModel* model,
152 BookmarkNode* node); 152 BookmarkNode* node);
153 153
154 // These two won't effect what is shown, so they do nothing. 154 // These won't effect what is shown, so they do nothing.
155 virtual void BookmarkNodeMoved(BookmarkModel* model, 155 virtual void BookmarkNodeMoved(BookmarkModel* model,
156 BookmarkNode* old_parent, 156 BookmarkNode* old_parent,
157 int old_index, 157 int old_index,
158 BookmarkNode* new_parent, 158 BookmarkNode* new_parent,
159 int new_index) {} 159 int new_index) {}
160 virtual void BookmarkNodeChildrenReordered(BookmarkModel* model,
161 BookmarkNode* node) {}
160 virtual void BookmarkNodeFavIconLoaded(BookmarkModel* model, 162 virtual void BookmarkNodeFavIconLoaded(BookmarkModel* model,
161 BookmarkNode* node) {} 163 BookmarkNode* node) {}
162 164
163 DOMUI* dom_ui_; 165 DOMUI* dom_ui_;
164 // The model we're getting bookmarks from. The model is owned by the Profile. 166 // The model we're getting bookmarks from. The model is owned by the Profile.
165 BookmarkModel* model_; 167 BookmarkModel* model_;
166 168
167 DISALLOW_EVIL_CONSTRUCTORS(RecentlyBookmarkedHandler); 169 DISALLOW_EVIL_CONSTRUCTORS(RecentlyBookmarkedHandler);
168 }; 170 };
169 171
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 292
291 // A pointer to the handler for most visited. 293 // A pointer to the handler for most visited.
292 // Owned by the DOMUIHost. 294 // Owned by the DOMUIHost.
293 MostVisitedHandler* most_visited_handler_; 295 MostVisitedHandler* most_visited_handler_;
294 296
295 DISALLOW_EVIL_CONSTRUCTORS(NewTabUI); 297 DISALLOW_EVIL_CONSTRUCTORS(NewTabUI);
296 }; 298 };
297 299
298 #endif // CHROME_BROWSER_DOM_UI_NEW_TAB_UI_H__ 300 #endif // CHROME_BROWSER_DOM_UI_NEW_TAB_UI_H__
299 301
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698