OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |