| OLD | NEW |
| 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 |
| OLD | NEW |