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

Side by Side Diff: components/favicon/content/content_favicon_driver.h

Issue 2225343002: Navigation: move RestoreType and ReloadType into a separate file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [rebase] Created 4 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
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_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/reload_type.h"
10 #include "content/public/browser/web_contents_observer.h" 11 #include "content/public/browser/web_contents_observer.h"
11 #include "content/public/browser/web_contents_user_data.h" 12 #include "content/public/browser/web_contents_user_data.h"
12 #include "url/gurl.h" 13 #include "url/gurl.h"
13 14
14 namespace content { 15 namespace content {
15 struct FaviconStatus; 16 struct FaviconStatus;
16 struct FaviconURL; 17 struct FaviconURL;
17 class WebContents; 18 class WebContents;
18 } 19 }
19 20
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 FaviconDriverObserver::NotificationIconType icon_type, 66 FaviconDriverObserver::NotificationIconType icon_type,
66 const GURL& icon_url, 67 const GURL& icon_url,
67 bool icon_url_changed, 68 bool icon_url_changed,
68 const gfx::Image& image) override; 69 const gfx::Image& image) override;
69 70
70 // content::WebContentsObserver implementation. 71 // content::WebContentsObserver implementation.
71 void DidUpdateFaviconURL( 72 void DidUpdateFaviconURL(
72 const std::vector<content::FaviconURL>& candidates) override; 73 const std::vector<content::FaviconURL>& candidates) override;
73 void DidStartNavigationToPendingEntry( 74 void DidStartNavigationToPendingEntry(
74 const GURL& url, 75 const GURL& url,
75 content::NavigationController::ReloadType reload_type) override; 76 content::ReloadType reload_type) override;
76 void DidNavigateMainFrame( 77 void DidNavigateMainFrame(
77 const content::LoadCommittedDetails& details, 78 const content::LoadCommittedDetails& details,
78 const content::FrameNavigateParams& params) override; 79 const content::FrameNavigateParams& params) override;
79 80
80 GURL bypass_cache_page_url_; 81 GURL bypass_cache_page_url_;
81 std::vector<content::FaviconURL> favicon_urls_; 82 std::vector<content::FaviconURL> favicon_urls_;
82 83
83 DISALLOW_COPY_AND_ASSIGN(ContentFaviconDriver); 84 DISALLOW_COPY_AND_ASSIGN(ContentFaviconDriver);
84 }; 85 };
85 86
86 } // namespace favicon 87 } // namespace favicon
87 88
88 #endif // COMPONENTS_FAVICON_CONTENT_CONTENT_FAVICON_DRIVER_H_ 89 #endif // COMPONENTS_FAVICON_CONTENT_CONTENT_FAVICON_DRIVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/extensions/extension_settings_handler.cc ('k') | components/favicon/content/content_favicon_driver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698