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

Side by Side Diff: chrome/browser/ui/views/autofill/save_card_icon_view.cc

Issue 1424743009: Switch autofill card saving bubble icon (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: owners for gn Created 5 years, 1 month 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
« no previous file with comments | « no previous file | ui/gfx/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/ui/views/autofill/save_card_icon_view.h" 5 #include "chrome/browser/ui/views/autofill/save_card_icon_view.h"
6 6
7 #include "chrome/app/chrome_command_ids.h" 7 #include "chrome/app/chrome_command_ids.h"
8 #include "chrome/browser/ui/autofill/save_card_bubble_controller_impl.h" 8 #include "chrome/browser/ui/autofill/save_card_bubble_controller_impl.h"
9 #include "chrome/browser/ui/browser.h" 9 #include "chrome/browser/ui/browser.h"
10 #include "chrome/browser/ui/tabs/tab_strip_model.h" 10 #include "chrome/browser/ui/tabs/tab_strip_model.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 autofill::SaveCardBubbleControllerImpl* controller = 44 autofill::SaveCardBubbleControllerImpl* controller =
45 autofill::SaveCardBubbleControllerImpl::FromWebContents(web_contents); 45 autofill::SaveCardBubbleControllerImpl::FromWebContents(web_contents);
46 if (!controller) 46 if (!controller)
47 return nullptr; 47 return nullptr;
48 48
49 return static_cast<autofill::SaveCardBubbleViews*>( 49 return static_cast<autofill::SaveCardBubbleViews*>(
50 controller->save_card_bubble_view()); 50 controller->save_card_bubble_view());
51 } 51 }
52 52
53 gfx::VectorIconId SaveCardIconView::GetVectorIcon() const { 53 gfx::VectorIconId SaveCardIconView::GetVectorIcon() const {
54 return gfx::VectorIconId::AUTOFILL; 54 return gfx::VectorIconId::CREDIT_CARD;
55 } 55 }
56 56
57 } // namespace autofill 57 } // namespace autofill
OLDNEW
« no previous file with comments | « no previous file | ui/gfx/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698