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

Side by Side Diff: chrome/browser/ui/webui/ntp/android/bookmarks_handler.h

Issue 256083003: Move bookmark_model_observer.h to the bookmarks component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_UI_WEBUI_NTP_ANDROID_BOOKMARKS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_NTP_ANDROID_BOOKMARKS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_NTP_ANDROID_BOOKMARKS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_NTP_ANDROID_BOOKMARKS_HANDLER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/task/cancelable_task_tracker.h" 9 #include "base/task/cancelable_task_tracker.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "chrome/browser/android/bookmarks/managed_bookmarks_shim.h" 11 #include "chrome/browser/android/bookmarks/managed_bookmarks_shim.h"
12 #include "chrome/browser/android/bookmarks/partner_bookmarks_shim.h" 12 #include "chrome/browser/android/bookmarks/partner_bookmarks_shim.h"
13 #include "chrome/browser/bookmarks/base_bookmark_model_observer.h"
14 #include "chrome/browser/favicon/favicon_service.h" 13 #include "chrome/browser/favicon/favicon_service.h"
14 #include "components/bookmarks/core/browser/base_bookmark_model_observer.h"
15 #include "content/public/browser/web_ui_message_handler.h" 15 #include "content/public/browser/web_ui_message_handler.h"
16 16
17 // The handler for Javascript messages related to the bookmarks. 17 // The handler for Javascript messages related to the bookmarks.
18 // 18 //
19 // In Javascript if getBookmarks() is called without any parameter, the 'Other 19 // In Javascript if getBookmarks() is called without any parameter, the 'Other
20 // Bookmark' folder and bookmark bar's bookmarks and folders are returned. 20 // Bookmark' folder and bookmark bar's bookmarks and folders are returned.
21 // If getBookmarks() is called with a valid bookmark folder id, the given 21 // If getBookmarks() is called with a valid bookmark folder id, the given
22 // folder's bookmarks and sub folders of it are returned. 22 // folder's bookmarks and sub folders of it are returned.
23 // 23 //
24 // All bookmarks and subfolder is returned by bookmarks() javascript callback 24 // All bookmarks and subfolder is returned by bookmarks() javascript callback
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 bool IsEditable(const BookmarkNode* node) const; 167 bool IsEditable(const BookmarkNode* node) const;
168 168
169 // Returns true if |node| is the real root node (not the root node of the 169 // Returns true if |node| is the real root node (not the root node of the
170 // partner bookmarks shim nor the managed bookmark shim root). 170 // partner bookmarks shim nor the managed bookmark shim root).
171 bool IsRoot(const BookmarkNode* node) const; 171 bool IsRoot(const BookmarkNode* node) const;
172 172
173 DISALLOW_COPY_AND_ASSIGN(BookmarksHandler); 173 DISALLOW_COPY_AND_ASSIGN(BookmarksHandler);
174 }; 174 };
175 175
176 #endif // CHROME_BROWSER_UI_WEBUI_NTP_ANDROID_BOOKMARKS_HANDLER_H_ 176 #endif // CHROME_BROWSER_UI_WEBUI_NTP_ANDROID_BOOKMARKS_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/toolbar/wrench_menu.h ('k') | chrome/browser/undo/bookmark_undo_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698