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 #import "ios/chrome/browser/ui/toolbar/toolbar_model_delegate_ios.h" | 5 #import "ios/chrome/browser/ui/toolbar/toolbar_model_delegate_ios.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "components/omnibox/browser/autocomplete_classifier.h" | 8 #include "components/omnibox/browser/autocomplete_classifier.h" |
9 #include "components/omnibox/browser/autocomplete_input.h" | 9 #include "components/omnibox/browser/autocomplete_input.h" |
10 #include "components/omnibox/browser/autocomplete_match.h" | 10 #include "components/omnibox/browser/autocomplete_match.h" |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 auto* client = IOSSecurityStateTabHelper::FromWebState(web_state); | 102 auto* client = IOSSecurityStateTabHelper::FromWebState(web_state); |
103 security_state::SecurityInfo result; | 103 security_state::SecurityInfo result; |
104 client->GetSecurityInfo(&result); | 104 client->GetSecurityInfo(&result); |
105 return result.malicious_content_status != | 105 return result.malicious_content_status != |
106 security_state::MALICIOUS_CONTENT_STATUS_NONE; | 106 security_state::MALICIOUS_CONTENT_STATUS_NONE; |
107 } | 107 } |
108 | 108 |
109 const gfx::VectorIcon* ToolbarModelDelegateIOS::GetVectorIconOverride() const { | 109 const gfx::VectorIcon* ToolbarModelDelegateIOS::GetVectorIconOverride() const { |
110 return nullptr; | 110 return nullptr; |
111 } | 111 } |
| 112 |
| 113 bool ToolbarModelDelegateIOS::IsOfflinePage() const { |
| 114 return false; |
| 115 } |
OLD | NEW |