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

Side by Side Diff: chrome/browser/ui/autofill/generated_credit_card_bubble_view.cc

Issue 40483003: [rAC, OSX] Add "generated CC" info bubble. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove bad DCHECK Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/autofill/generated_credit_card_bubble_cocoa.h » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/autofill/generated_credit_card_bubble_view.h" 5 #include "chrome/browser/ui/autofill/generated_credit_card_bubble_view.h"
6 6
7 namespace autofill { 7 namespace autofill {
8 8
9 // static 9 // static
10 const int GeneratedCreditCardBubbleView::kContentsWidth = 350; 10 const int GeneratedCreditCardBubbleView::kContentsWidth = 350;
11 11
12 GeneratedCreditCardBubbleView::~GeneratedCreditCardBubbleView() {} 12 GeneratedCreditCardBubbleView::~GeneratedCreditCardBubbleView() {}
13 13
14 #if !defined(TOOLKIT_VIEWS) 14 #if !defined(TOOLKIT_VIEWS) && !defined(OS_MACOSX)
15 // static 15 // static
16 base::WeakPtr<GeneratedCreditCardBubbleView> 16 base::WeakPtr<GeneratedCreditCardBubbleView>
17 GeneratedCreditCardBubbleView::Create( 17 GeneratedCreditCardBubbleView::Create(
18 const base::WeakPtr<GeneratedCreditCardBubbleController>& controller) { 18 const base::WeakPtr<GeneratedCreditCardBubbleController>& controller) {
19 // TODO(dbeam): make a bubble on all applicable platforms. 19 // TODO(dbeam): make a bubble on all applicable platforms.
20 return base::WeakPtr<GeneratedCreditCardBubbleView>(); 20 return base::WeakPtr<GeneratedCreditCardBubbleView>();
21 } 21 }
22 #endif 22 #endif
23 23
24 } // namespace autofill 24 } // namespace autofill
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/autofill/generated_credit_card_bubble_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698