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

Side by Side Diff: ios/chrome/browser/ui/toolbar/toolbar_model_delegate_ios.mm

Issue 2644903004: Move around more vector icons. (Closed)
Patch Set: fix comment Created 3 years, 11 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 #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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 // initialization), so nothing can fail. 100 // initialization), so nothing can fail.
101 if (!web_state) 101 if (!web_state)
102 return NO; 102 return NO;
103 auto* client = IOSSecurityStateTabHelper::FromWebState(web_state); 103 auto* client = IOSSecurityStateTabHelper::FromWebState(web_state);
104 security_state::SecurityInfo result; 104 security_state::SecurityInfo result;
105 client->GetSecurityInfo(&result); 105 client->GetSecurityInfo(&result);
106 return result.malicious_content_status != 106 return result.malicious_content_status !=
107 security_state::MALICIOUS_CONTENT_STATUS_NONE; 107 security_state::MALICIOUS_CONTENT_STATUS_NONE;
108 } 108 }
109 109
110 gfx::VectorIconId ToolbarModelDelegateIOS::GetVectorIconOverride() const { 110 const gfx::VectorIcon* ToolbarModelDelegateIOS::GetVectorIconOverride() const {
111 return gfx::VectorIconId::VECTOR_ICON_NONE; 111 return nullptr;
112 } 112 }
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/toolbar/toolbar_model_delegate_ios.h ('k') | ui/gfx/vector_icons/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698