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

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

Issue 10958031: Move cancelable_request.cc/h to chrome/browser/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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) 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/values.h" 8 #include "base/values.h"
9 #include "chrome/browser/bookmarks/base_bookmark_model_observer.h" 9 #include "chrome/browser/bookmarks/base_bookmark_model_observer.h"
10 #include "chrome/browser/cancelable_request.h" 10 #include "chrome/browser/common/cancelable_request.h"
11 #include "chrome/browser/favicon/favicon_service.h" 11 #include "chrome/browser/favicon/favicon_service.h"
12 #include "chrome/browser/ui/webui/ntp/android/partner_bookmarks_shim.h" 12 #include "chrome/browser/ui/webui/ntp/android/partner_bookmarks_shim.h"
13 #include "content/public/browser/web_ui_message_handler.h" 13 #include "content/public/browser/web_ui_message_handler.h"
14 14
15 // The handler for Javascript messages related to the bookmarks. 15 // The handler for Javascript messages related to the bookmarks.
16 // 16 //
17 // In Javascript if getBookmarks() is called without any parameter, the 'Other 17 // In Javascript if getBookmarks() is called without any parameter, the 'Other
18 // Bookmark' folder and bookmark bar's bookmarks and folders are returned. 18 // Bookmark' folder and bookmark bar's bookmarks and folders are returned.
19 // If getBookmarks() is called with a valid bookmark folder id, the given 19 // If getBookmarks() is called with a valid bookmark folder id, the given
20 // folder's bookmarks and sub folders of are returned. 20 // folder's bookmarks and sub folders of are returned.
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 // Called once the favicon is loaded during creation of the bookmark shortcuts 131 // Called once the favicon is loaded during creation of the bookmark shortcuts
132 // and is available for use. 132 // and is available for use.
133 void OnShortcutFaviconDataAvailable( 133 void OnShortcutFaviconDataAvailable(
134 FaviconService::Handle handle, 134 FaviconService::Handle handle,
135 const history::FaviconBitmapResult& bitmap_result); 135 const history::FaviconBitmapResult& bitmap_result);
136 136
137 DISALLOW_COPY_AND_ASSIGN(BookmarksHandler); 137 DISALLOW_COPY_AND_ASSIGN(BookmarksHandler);
138 }; 138 };
139 139
140 #endif // CHROME_BROWSER_UI_WEBUI_NTP_ANDROID_BOOKMARKS_HANDLER_H_ 140 #endif // CHROME_BROWSER_UI_WEBUI_NTP_ANDROID_BOOKMARKS_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/history_ui.h ('k') | chrome/browser/ui/webui/ntp/app_launcher_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698