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

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

Issue 6693021: fav icon -> favicon. Pass 5: fav_icon -> favicon (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 RenderWidgetHostView* GetRenderWidgetHostView() const { 175 RenderWidgetHostView* GetRenderWidgetHostView() const {
176 return render_manager_.GetRenderWidgetHostView(); 176 return render_manager_.GetRenderWidgetHostView();
177 } 177 }
178 178
179 // The TabContentsView will never change and is guaranteed non-NULL. 179 // The TabContentsView will never change and is guaranteed non-NULL.
180 TabContentsView* view() const { 180 TabContentsView* view() const {
181 return view_.get(); 181 return view_.get();
182 } 182 }
183 183
184 // Returns the FaviconHelper of this TabContents. 184 // Returns the FaviconHelper of this TabContents.
185 FaviconHelper& fav_icon_helper() { 185 FaviconHelper& favicon_helper() {
186 return *fav_icon_helper_.get(); 186 return *favicon_helper_.get();
187 } 187 }
188 188
189 // App extensions ------------------------------------------------------------ 189 // App extensions ------------------------------------------------------------
190 190
191 // Sets the extension denoting this as an app. If |extension| is non-null this 191 // Sets the extension denoting this as an app. If |extension| is non-null this
192 // tab becomes an app-tab. TabContents does not listen for unload events for 192 // tab becomes an app-tab. TabContents does not listen for unload events for
193 // the extension. It's up to consumers of TabContents to do that. 193 // the extension. It's up to consumers of TabContents to do that.
194 // 194 //
195 // NOTE: this should only be manipulated before the tab is added to a browser. 195 // NOTE: this should only be manipulated before the tab is added to a browser.
196 // TODO(sky): resolve if this is the right way to identify an app tab. If it 196 // TODO(sky): resolve if this is the right way to identify an app tab. If it
(...skipping 876 matching lines...) Expand 10 before | Expand all | Expand 10 after
1073 // Handles plugin messages. 1073 // Handles plugin messages.
1074 scoped_ptr<PluginObserver> plugin_observer_; 1074 scoped_ptr<PluginObserver> plugin_observer_;
1075 1075
1076 // TabContentsSSLHelper, lazily created. 1076 // TabContentsSSLHelper, lazily created.
1077 scoped_ptr<TabContentsSSLHelper> ssl_helper_; 1077 scoped_ptr<TabContentsSSLHelper> ssl_helper_;
1078 1078
1079 // Handles drag and drop event forwarding to extensions. 1079 // Handles drag and drop event forwarding to extensions.
1080 BookmarkDrag* bookmark_drag_; 1080 BookmarkDrag* bookmark_drag_;
1081 1081
1082 // Handles downloading favicons. 1082 // Handles downloading favicons.
1083 scoped_ptr<FaviconHelper> fav_icon_helper_; 1083 scoped_ptr<FaviconHelper> favicon_helper_;
1084 1084
1085 // Cached web app info data. 1085 // Cached web app info data.
1086 WebApplicationInfo web_app_info_; 1086 WebApplicationInfo web_app_info_;
1087 1087
1088 // Cached web app icon. 1088 // Cached web app icon.
1089 SkBitmap app_icon_; 1089 SkBitmap app_icon_;
1090 1090
1091 // RenderViewHost::ContentSettingsDelegate. 1091 // RenderViewHost::ContentSettingsDelegate.
1092 scoped_ptr<TabSpecificContentSettings> content_settings_delegate_; 1092 scoped_ptr<TabSpecificContentSettings> content_settings_delegate_;
1093 1093
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
1246 ObserverList<TabContentsObserver> observers_; 1246 ObserverList<TabContentsObserver> observers_;
1247 1247
1248 // Content restrictions, used to disable print/copy etc based on content's 1248 // Content restrictions, used to disable print/copy etc based on content's
1249 // (full-page plugins for now only) permissions. 1249 // (full-page plugins for now only) permissions.
1250 int content_restrictions_; 1250 int content_restrictions_;
1251 1251
1252 DISALLOW_COPY_AND_ASSIGN(TabContents); 1252 DISALLOW_COPY_AND_ASSIGN(TabContents);
1253 }; 1253 };
1254 1254
1255 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 1255 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW
« no previous file with comments | « chrome/profile_import/profile_import_thread.cc ('k') | content/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698