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

Side by Side Diff: chrome/browser/tab_contents/tab_contents.cc

Issue 482003: Get web app icon via FavIconHelper and auto repair/update (Closed)
Patch Set: miranda's review 1 Created 11 years 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 (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #include "chrome/browser/tab_contents/tab_contents.h" 5 #include "chrome/browser/tab_contents/tab_contents.h"
6 6
7 #include "app/gfx/text_elider.h" 7 #include "app/gfx/text_elider.h"
8 #include "app/l10n_util.h" 8 #include "app/l10n_util.h"
9 #include "app/resource_bundle.h" 9 #include "app/resource_bundle.h"
10 #include "base/file_version_info.h" 10 #include "base/file_version_info.h"
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 const TabContents* base_tab_contents) 213 const TabContents* base_tab_contents)
214 : delegate_(NULL), 214 : delegate_(NULL),
215 ALLOW_THIS_IN_INITIALIZER_LIST(controller_(this, profile)), 215 ALLOW_THIS_IN_INITIALIZER_LIST(controller_(this, profile)),
216 ALLOW_THIS_IN_INITIALIZER_LIST(view_( 216 ALLOW_THIS_IN_INITIALIZER_LIST(view_(
217 TabContentsView::Create(this))), 217 TabContentsView::Create(this))),
218 ALLOW_THIS_IN_INITIALIZER_LIST(render_manager_(this, this)), 218 ALLOW_THIS_IN_INITIALIZER_LIST(render_manager_(this, this)),
219 property_bag_(), 219 property_bag_(),
220 registrar_(), 220 registrar_(),
221 ALLOW_THIS_IN_INITIALIZER_LIST(printing_(*this)), 221 ALLOW_THIS_IN_INITIALIZER_LIST(printing_(*this)),
222 save_package_(), 222 save_package_(),
223 cancelable_consumer_(),
224 form_field_history_manager_(), 223 form_field_history_manager_(),
225 autofill_manager_(), 224 autofill_manager_(),
226 password_manager_(), 225 password_manager_(),
227 plugin_installer_(), 226 plugin_installer_(),
228 ALLOW_THIS_IN_INITIALIZER_LIST(fav_icon_helper_(this)), 227 ALLOW_THIS_IN_INITIALIZER_LIST(fav_icon_helper_(this)),
229 select_file_dialog_(), 228 select_file_dialog_(),
230 is_loading_(false), 229 is_loading_(false),
231 is_crashed_(false), 230 is_crashed_(false),
232 waiting_for_response_(false), 231 waiting_for_response_(false),
233 max_page_id_(-1), 232 max_page_id_(-1),
(...skipping 2404 matching lines...) Expand 10 before | Expand all | Expand 10 after
2638 render_view_host()->JavaScriptMessageBoxClosed(reply_msg, success, prompt); 2637 render_view_host()->JavaScriptMessageBoxClosed(reply_msg, success, prompt);
2639 } 2638 }
2640 2639
2641 void TabContents::SetSuppressMessageBoxes(bool suppress_message_boxes) { 2640 void TabContents::SetSuppressMessageBoxes(bool suppress_message_boxes) {
2642 set_suppress_javascript_messages(suppress_message_boxes); 2641 set_suppress_javascript_messages(suppress_message_boxes);
2643 } 2642 }
2644 2643
2645 void TabContents::set_encoding(const std::string& encoding) { 2644 void TabContents::set_encoding(const std::string& encoding) {
2646 encoding_ = CharacterEncoding::GetCanonicalEncodingNameByAliasName(encoding); 2645 encoding_ = CharacterEncoding::GetCanonicalEncodingNameByAliasName(encoding);
2647 } 2646 }
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/tab_contents.h ('k') | chrome/browser/views/create_application_shortcut_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698