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

Side by Side Diff: components/favicon/ios/web_favicon_driver.h

Issue 1079693002: Complete WebStateObserverBridge and follow Cocoa naming style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | components/favicon/ios/web_favicon_driver.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_FAVICON_IOS_WEB_FAVICON_DRIVER_H_ 5 #ifndef COMPONENTS_FAVICON_IOS_WEB_FAVICON_DRIVER_H_
6 #define COMPONENTS_FAVICON_IOS_WEB_FAVICON_DRIVER_H_ 6 #define COMPONENTS_FAVICON_IOS_WEB_FAVICON_DRIVER_H_
7 7
8 #include "components/favicon/core/favicon_driver_impl.h" 8 #include "components/favicon/core/favicon_driver_impl.h"
9 #include "ios/web/public/web_state/web_state_observer.h" 9 #include "ios/web/public/web_state/web_state_observer.h"
10 #include "ios/web/public/web_state/web_state_user_data.h" 10 #include "ios/web/public/web_state/web_state_user_data.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 private: 45 private:
46 friend class web::WebStateUserData<WebFaviconDriver>; 46 friend class web::WebStateUserData<WebFaviconDriver>;
47 47
48 WebFaviconDriver(web::WebState* web_state, 48 WebFaviconDriver(web::WebState* web_state,
49 FaviconService* favicon_service, 49 FaviconService* favicon_service,
50 history::HistoryService* history_service, 50 history::HistoryService* history_service,
51 bookmarks::BookmarkModel* bookmark_model); 51 bookmarks::BookmarkModel* bookmark_model);
52 ~WebFaviconDriver() override; 52 ~WebFaviconDriver() override;
53 53
54 // web::WebStateObserver implementation. 54 // web::WebStateObserver implementation.
55 void FaviconURLUpdated( 55 void FaviconUrlUpdated(
56 const std::vector<web::FaviconURL>& candidates) override; 56 const std::vector<web::FaviconURL>& candidates) override;
57 57
58 // Returns the active navigation entry's favicon. 58 // Returns the active navigation entry's favicon.
59 web::FaviconStatus& GetFaviconStatus(); 59 web::FaviconStatus& GetFaviconStatus();
60 60
61 DISALLOW_COPY_AND_ASSIGN(WebFaviconDriver); 61 DISALLOW_COPY_AND_ASSIGN(WebFaviconDriver);
62 }; 62 };
63 63
64 } // namespace favicon 64 } // namespace favicon
65 65
66 #endif // COMPONENTS_FAVICON_IOS_WEB_FAVICON_DRIVER_H_ 66 #endif // COMPONENTS_FAVICON_IOS_WEB_FAVICON_DRIVER_H_
OLDNEW
« no previous file with comments | « no previous file | components/favicon/ios/web_favicon_driver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698