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

Side by Side Diff: chrome/browser/chromeos/login/web_page_view.cc

Issue 3325012: Fix SessionStorage (Closed)
Patch Set: kill the last (new) dcheck Created 10 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 (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/chromeos/login/web_page_view.h" 5 #include "chrome/browser/chromeos/login/web_page_view.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "app/resource_bundle.h" 8 #include "app/resource_bundle.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 } // namespace 47 } // namespace
48 48
49 /////////////////////////////////////////////////////////////////////////////// 49 ///////////////////////////////////////////////////////////////////////////////
50 // WizardWebPageViewTabContents, public: 50 // WizardWebPageViewTabContents, public:
51 51
52 WizardWebPageViewTabContents::WizardWebPageViewTabContents( 52 WizardWebPageViewTabContents::WizardWebPageViewTabContents(
53 Profile* profile, 53 Profile* profile,
54 SiteInstance* site_instance, 54 SiteInstance* site_instance,
55 WebPageDelegate* page_delegate) 55 WebPageDelegate* page_delegate)
56 : TabContents(profile, site_instance, MSG_ROUTING_NONE, NULL), 56 : TabContents(profile, site_instance, MSG_ROUTING_NONE, NULL, NULL),
57 page_delegate_(page_delegate) { 57 page_delegate_(page_delegate) {
58 } 58 }
59 59
60 void WizardWebPageViewTabContents::DidFailProvisionalLoadWithError( 60 void WizardWebPageViewTabContents::DidFailProvisionalLoadWithError(
61 RenderViewHost* render_view_host, 61 RenderViewHost* render_view_host,
62 bool is_main_frame, 62 bool is_main_frame,
63 int error_code, 63 int error_code,
64 const GURL& url, 64 const GURL& url,
65 bool showing_repost_interstitial) { 65 bool showing_repost_interstitial) {
66 LOG(ERROR) << "Page load failed. URL = " << url << ", error: " << error_code; 66 LOG(ERROR) << "Page load failed. URL = " << url << ", error: " << error_code;
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 throbber_->GetPreferredSize().width(), 176 throbber_->GetPreferredSize().width(),
177 throbber_->GetPreferredSize().height()); 177 throbber_->GetPreferredSize().height());
178 connecting_label_->SetBounds( 178 connecting_label_->SetBounds(
179 width() / 2 - connecting_label_->GetPreferredSize().width() / 2, 179 width() / 2 - connecting_label_->GetPreferredSize().width() / 2,
180 y + throbber_->GetPreferredSize().height() + kSpacing, 180 y + throbber_->GetPreferredSize().height() + kSpacing,
181 connecting_label_->GetPreferredSize().width(), 181 connecting_label_->GetPreferredSize().width(),
182 connecting_label_->GetPreferredSize().height()); 182 connecting_label_->GetPreferredSize().height());
183 } 183 }
184 184
185 } // namespace chromeos 185 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/browser_browsertest.cc ('k') | chrome/browser/cocoa/html_dialog_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698