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

Side by Side Diff: content/browser/tab_contents/tab_contents.h

Issue 6672065: Support touch icon in FaviconHelper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix some style issues Created 9 years, 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_TAB_CONTENTS_TAB_CONTENTS_H_ 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 782 matching lines...) Expand 10 before | Expand all | Expand 10 after
793 bool page_translatable); 793 bool page_translatable);
794 void OnPageTranslated(int32 page_id, 794 void OnPageTranslated(int32 page_id,
795 const std::string& original_lang, 795 const std::string& original_lang,
796 const std::string& translated_lang, 796 const std::string& translated_lang,
797 TranslateErrors::Type error_type); 797 TranslateErrors::Type error_type);
798 void OnSetSuggestions(int32 page_id, 798 void OnSetSuggestions(int32 page_id,
799 const std::vector<std::string>& suggestions, 799 const std::vector<std::string>& suggestions,
800 InstantCompleteBehavior behavior); 800 InstantCompleteBehavior behavior);
801 void OnInstantSupportDetermined(int32 page_id, bool result); 801 void OnInstantSupportDetermined(int32 page_id, bool result);
802 802
803 void OnUpdateFaviconURL(int32 page_id,
804 std::vector<FaviconURL> candidates);
sky 2011/03/22 19:48:48 const&
michaelbai 2011/03/22 23:59:03 Done.
805
803 // Changes the IsLoading state and notifies delegate as needed 806 // Changes the IsLoading state and notifies delegate as needed
804 // |details| is used to provide details on the load that just finished 807 // |details| is used to provide details on the load that just finished
805 // (but can be null if not applicable). Can be overridden. 808 // (but can be null if not applicable). Can be overridden.
806 void SetIsLoading(bool is_loading, 809 void SetIsLoading(bool is_loading,
807 LoadNotificationDetails* details); 810 LoadNotificationDetails* details);
808 811
809 // Adds the incoming |new_contents| to the |blocked_contents_| container. 812 // Adds the incoming |new_contents| to the |blocked_contents_| container.
810 void AddPopup(TabContents* new_contents, 813 void AddPopup(TabContents* new_contents,
811 const gfx::Rect& initial_pos); 814 const gfx::Rect& initial_pos);
812 815
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
1075 1078
1076 // TabContentsSSLHelper, lazily created. 1079 // TabContentsSSLHelper, lazily created.
1077 scoped_ptr<TabContentsSSLHelper> ssl_helper_; 1080 scoped_ptr<TabContentsSSLHelper> ssl_helper_;
1078 1081
1079 // Handles drag and drop event forwarding to extensions. 1082 // Handles drag and drop event forwarding to extensions.
1080 BookmarkDrag* bookmark_drag_; 1083 BookmarkDrag* bookmark_drag_;
1081 1084
1082 // Handles downloading favicons. 1085 // Handles downloading favicons.
1083 scoped_ptr<FaviconHelper> favicon_helper_; 1086 scoped_ptr<FaviconHelper> favicon_helper_;
1084 1087
1088 // Handles downloading touchicons.
1089 scoped_ptr<FaviconHelper> touch_icon_helper_;
sky 2011/03/22 19:48:48 Document may be NULL.
michaelbai 2011/03/22 23:59:03 Done.
1090
1085 // Cached web app info data. 1091 // Cached web app info data.
1086 WebApplicationInfo web_app_info_; 1092 WebApplicationInfo web_app_info_;
1087 1093
1088 // Cached web app icon. 1094 // Cached web app icon.
1089 SkBitmap app_icon_; 1095 SkBitmap app_icon_;
1090 1096
1091 // RenderViewHost::ContentSettingsDelegate. 1097 // RenderViewHost::ContentSettingsDelegate.
1092 scoped_ptr<TabSpecificContentSettings> content_settings_delegate_; 1098 scoped_ptr<TabSpecificContentSettings> content_settings_delegate_;
1093 1099
1094 // Handles desktop notification IPCs. 1100 // Handles desktop notification IPCs.
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
1246 ObserverList<TabContentsObserver> observers_; 1252 ObserverList<TabContentsObserver> observers_;
1247 1253
1248 // Content restrictions, used to disable print/copy etc based on content's 1254 // Content restrictions, used to disable print/copy etc based on content's
1249 // (full-page plugins for now only) permissions. 1255 // (full-page plugins for now only) permissions.
1250 int content_restrictions_; 1256 int content_restrictions_;
1251 1257
1252 DISALLOW_COPY_AND_ASSIGN(TabContents); 1258 DISALLOW_COPY_AND_ASSIGN(TabContents);
1253 }; 1259 };
1254 1260
1255 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 1261 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698