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

Side by Side Diff: components/toolbar/toolbar_model_impl.cc

Issue 2965043003: ToolbarModel: Supply offline page status. (Closed)
Patch Set: And, ios-simulator. Created 3 years, 5 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 #include "components/toolbar/toolbar_model_impl.h" 5 #include "components/toolbar/toolbar_model_impl.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 ? IDS_DANGEROUS_VERBOSE_STATE 131 ? IDS_DANGEROUS_VERBOSE_STATE
132 : IDS_NOT_SECURE_VERBOSE_STATE); 132 : IDS_NOT_SECURE_VERBOSE_STATE);
133 default: 133 default:
134 return base::string16(); 134 return base::string16();
135 } 135 }
136 } 136 }
137 137
138 bool ToolbarModelImpl::ShouldDisplayURL() const { 138 bool ToolbarModelImpl::ShouldDisplayURL() const {
139 return delegate_->ShouldDisplayURL(); 139 return delegate_->ShouldDisplayURL();
140 } 140 }
141
142 bool ToolbarModelImpl::IsOfflinePage() const {
143 return delegate_->IsOfflinePage();
144 }
OLDNEW
« no previous file with comments | « components/toolbar/toolbar_model_impl.h ('k') | ios/chrome/browser/ui/toolbar/toolbar_model_delegate_ios.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698