| OLD | NEW |
| 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_CONTENT_CONTENT_FAVICON_DRIVER_H_ | 5 #ifndef COMPONENTS_FAVICON_CONTENT_CONTENT_FAVICON_DRIVER_H_ |
| 6 #define COMPONENTS_FAVICON_CONTENT_CONTENT_FAVICON_DRIVER_H_ | 6 #define COMPONENTS_FAVICON_CONTENT_CONTENT_FAVICON_DRIVER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "components/favicon/core/favicon_driver_impl.h" | 9 #include "components/favicon/core/favicon_driver_impl.h" |
| 10 #include "content/public/browser/web_contents_observer.h" | 10 #include "content/public/browser/web_contents_observer.h" |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 FaviconDriverObserver::NotificationIconType icon_type, | 65 FaviconDriverObserver::NotificationIconType icon_type, |
| 66 const GURL& icon_url, | 66 const GURL& icon_url, |
| 67 bool icon_url_changed, | 67 bool icon_url_changed, |
| 68 const gfx::Image& image) override; | 68 const gfx::Image& image) override; |
| 69 | 69 |
| 70 // content::WebContentsObserver implementation. | 70 // content::WebContentsObserver implementation. |
| 71 void DidUpdateFaviconURL( | 71 void DidUpdateFaviconURL( |
| 72 const std::vector<content::FaviconURL>& candidates) override; | 72 const std::vector<content::FaviconURL>& candidates) override; |
| 73 void DidStartNavigationToPendingEntry( | 73 void DidStartNavigationToPendingEntry( |
| 74 const GURL& url, | 74 const GURL& url, |
| 75 content::NavigationController::ReloadType reload_type) override; | 75 content::ReloadType reload_type) override; |
| 76 void DidNavigateMainFrame( | 76 void DidNavigateMainFrame( |
| 77 const content::LoadCommittedDetails& details, | 77 const content::LoadCommittedDetails& details, |
| 78 const content::FrameNavigateParams& params) override; | 78 const content::FrameNavigateParams& params) override; |
| 79 | 79 |
| 80 GURL bypass_cache_page_url_; | 80 GURL bypass_cache_page_url_; |
| 81 std::vector<content::FaviconURL> favicon_urls_; | 81 std::vector<content::FaviconURL> favicon_urls_; |
| 82 | 82 |
| 83 DISALLOW_COPY_AND_ASSIGN(ContentFaviconDriver); | 83 DISALLOW_COPY_AND_ASSIGN(ContentFaviconDriver); |
| 84 }; | 84 }; |
| 85 | 85 |
| 86 } // namespace favicon | 86 } // namespace favicon |
| 87 | 87 |
| 88 #endif // COMPONENTS_FAVICON_CONTENT_CONTENT_FAVICON_DRIVER_H_ | 88 #endif // COMPONENTS_FAVICON_CONTENT_CONTENT_FAVICON_DRIVER_H_ |
| OLD | NEW |