| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #include <map> | 5 #include <map> |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
| 9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 642 return test_generated_bubble_controller_; | 642 return test_generated_bubble_controller_; |
| 643 } | 643 } |
| 644 | 644 |
| 645 const MockNewCreditCardBubbleController* mock_new_card_bubble_controller() { | 645 const MockNewCreditCardBubbleController* mock_new_card_bubble_controller() { |
| 646 return mock_new_card_bubble_controller_.get(); | 646 return mock_new_card_bubble_controller_.get(); |
| 647 } | 647 } |
| 648 | 648 |
| 649 private: | 649 private: |
| 650 void FinishedCallback( | 650 void FinishedCallback( |
| 651 AutofillManagerDelegate::RequestAutocompleteResult result, | 651 AutofillManagerDelegate::RequestAutocompleteResult result, |
| 652 const base::string16& debug_message, |
| 652 const FormStructure* form_structure) { | 653 const FormStructure* form_structure) { |
| 653 form_structure_ = form_structure; | 654 form_structure_ = form_structure; |
| 654 } | 655 } |
| 655 | 656 |
| 656 #if defined(OS_WIN) | 657 #if defined(OS_WIN) |
| 657 // http://crbug.com/227221 | 658 // http://crbug.com/227221 |
| 658 ui::ScopedOleInitializer ole_initializer_; | 659 ui::ScopedOleInitializer ole_initializer_; |
| 659 #endif | 660 #endif |
| 660 | 661 |
| 661 // The controller owns itself. | 662 // The controller owns itself. |
| (...skipping 2742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3404 SECTION_SHIPPING, | 3405 SECTION_SHIPPING, |
| 3405 NAME_FULL, | 3406 NAME_FULL, |
| 3406 gfx::NativeView(), | 3407 gfx::NativeView(), |
| 3407 gfx::Rect(), | 3408 gfx::Rect(), |
| 3408 profile.GetRawInfo(NAME_FULL).substr(0, 1), | 3409 profile.GetRawInfo(NAME_FULL).substr(0, 1), |
| 3409 true); | 3410 true); |
| 3410 EXPECT_EQ(NAME_FULL, controller()->popup_input_type()); | 3411 EXPECT_EQ(NAME_FULL, controller()->popup_input_type()); |
| 3411 } | 3412 } |
| 3412 | 3413 |
| 3413 } // namespace autofill | 3414 } // namespace autofill |
| OLD | NEW |