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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 14322023: Don't request missing favicon on every page request. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync up to r199996 Created 7 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 | 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 const base::FilePath& path, 582 const base::FilePath& path,
583 bool is_hung); 583 bool is_hung);
584 void OnWebUISend(const GURL& source_url, 584 void OnWebUISend(const GURL& source_url,
585 const std::string& name, 585 const std::string& name,
586 const base::ListValue& args); 586 const base::ListValue& args);
587 void OnRequestPpapiBrokerPermission(int request_id, 587 void OnRequestPpapiBrokerPermission(int request_id,
588 const GURL& url, 588 const GURL& url,
589 const base::FilePath& plugin_path); 589 const base::FilePath& plugin_path);
590 void OnBrowserPluginMessage(const IPC::Message& message); 590 void OnBrowserPluginMessage(const IPC::Message& message);
591 void OnDidDownloadImage(int id, 591 void OnDidDownloadImage(int id,
592 int http_status_code,
592 const GURL& image_url, 593 const GURL& image_url,
593 int requested_size, 594 int requested_size,
594 const std::vector<SkBitmap>& bitmaps); 595 const std::vector<SkBitmap>& bitmaps);
595 void OnUpdateFaviconURL(int32 page_id, 596 void OnUpdateFaviconURL(int32 page_id,
596 const std::vector<FaviconURL>& candidates); 597 const std::vector<FaviconURL>& candidates);
597 void OnFrameAttached(int64 parent_frame_id, 598 void OnFrameAttached(int64 parent_frame_id,
598 int64 frame_id, 599 int64 frame_id,
599 const std::string& frame_name); 600 const std::string& frame_name);
600 void OnFrameDetached(int64 parent_frame_id, int64 frame_id); 601 void OnFrameDetached(int64 parent_frame_id, int64 frame_id);
601 602
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 // Maps the ids of pending image downloads to their callbacks 910 // Maps the ids of pending image downloads to their callbacks
910 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; 911 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap;
911 ImageDownloadMap image_download_map_; 912 ImageDownloadMap image_download_map_;
912 913
913 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 914 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
914 }; 915 };
915 916
916 } // namespace content 917 } // namespace content
917 918
918 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 919 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/web_applications/web_app_ui.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698