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

Side by Side Diff: chrome/browser/bookmarks/chrome_bookmark_client.h

Issue 291643002: Move favicon callbacks to favicon_base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ 5 #ifndef CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_
6 #define CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ 6 #define CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "components/bookmarks/browser/base_bookmark_model_observer.h" 9 #include "components/bookmarks/browser/base_bookmark_model_observer.h"
10 #include "components/bookmarks/browser/bookmark_client.h" 10 #include "components/bookmarks/browser/bookmark_client.h"
(...skipping 16 matching lines...) Expand all
27 27
28 // Returns the BookmarkModel that corresponds to this ChromeBookmarkClient. 28 // Returns the BookmarkModel that corresponds to this ChromeBookmarkClient.
29 BookmarkModel* model() { return model_.get(); } 29 BookmarkModel* model() { return model_.get(); }
30 30
31 // BookmarkClient: 31 // BookmarkClient:
32 virtual bool PreferTouchIcon() OVERRIDE; 32 virtual bool PreferTouchIcon() OVERRIDE;
33 virtual base::CancelableTaskTracker::TaskId GetFaviconImageForURL( 33 virtual base::CancelableTaskTracker::TaskId GetFaviconImageForURL(
34 const GURL& page_url, 34 const GURL& page_url,
35 int icon_types, 35 int icon_types,
36 int desired_size_in_dip, 36 int desired_size_in_dip,
37 const FaviconImageCallback& callback, 37 const favicon_base::FaviconImageCallback& callback,
38 base::CancelableTaskTracker* tracker) OVERRIDE; 38 base::CancelableTaskTracker* tracker) OVERRIDE;
39 virtual bool SupportsTypedCountForNodes() OVERRIDE; 39 virtual bool SupportsTypedCountForNodes() OVERRIDE;
40 virtual void GetTypedCountForNodes( 40 virtual void GetTypedCountForNodes(
41 const NodeSet& nodes, 41 const NodeSet& nodes,
42 NodeTypedCountPairs* node_typed_count_pairs) OVERRIDE; 42 NodeTypedCountPairs* node_typed_count_pairs) OVERRIDE;
43 virtual bool IsPermanentNodeVisible(int node_type) OVERRIDE; 43 virtual bool IsPermanentNodeVisible(int node_type) OVERRIDE;
44 virtual void RecordAction(const base::UserMetricsAction& action) OVERRIDE; 44 virtual void RecordAction(const base::UserMetricsAction& action) OVERRIDE;
45 45
46 // content::NotificationObserver: 46 // content::NotificationObserver:
47 virtual void Observe(int type, 47 virtual void Observe(int type,
(...skipping 18 matching lines...) Expand all
66 Profile* profile_; 66 Profile* profile_;
67 67
68 content::NotificationRegistrar registrar_; 68 content::NotificationRegistrar registrar_;
69 69
70 scoped_ptr<BookmarkModel> model_; 70 scoped_ptr<BookmarkModel> model_;
71 71
72 DISALLOW_COPY_AND_ASSIGN(ChromeBookmarkClient); 72 DISALLOW_COPY_AND_ASSIGN(ChromeBookmarkClient);
73 }; 73 };
74 74
75 #endif // CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ 75 #endif // CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/favicon_helper.cc ('k') | chrome/browser/bookmarks/chrome_bookmark_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698