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

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

Issue 63273002: Rename WebKit namespace to blink (part 4) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
OLDNEW
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 "base/memory/scoped_ptr.h" 5 #include "base/memory/scoped_ptr.h"
6 #include "base/memory/weak_ptr.h" 6 #include "base/memory/weak_ptr.h"
7 #include "base/prefs/pref_service.h" 7 #include "base/prefs/pref_service.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "chrome/browser/ui/autofill/autofill_popup_controller_impl.h" 9 #include "chrome/browser/ui/autofill/autofill_popup_controller_impl.h"
10 #include "chrome/browser/ui/autofill/autofill_popup_view.h" 10 #include "chrome/browser/ui/autofill/autofill_popup_view.h"
(...skipping 10 matching lines...) Expand all
21 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
22 #include "third_party/WebKit/public/web/WebAutofillClient.h" 22 #include "third_party/WebKit/public/web/WebAutofillClient.h"
23 #include "ui/base/resource/resource_bundle.h" 23 #include "ui/base/resource/resource_bundle.h"
24 #include "ui/gfx/display.h" 24 #include "ui/gfx/display.h"
25 #include "ui/gfx/rect.h" 25 #include "ui/gfx/rect.h"
26 26
27 using ::testing::_; 27 using ::testing::_;
28 using ::testing::AtLeast; 28 using ::testing::AtLeast;
29 using ::testing::NiceMock; 29 using ::testing::NiceMock;
30 using base::WeakPtr; 30 using base::WeakPtr;
31 using WebKit::WebAutofillClient; 31 using blink::WebAutofillClient;
32 32
33 namespace autofill { 33 namespace autofill {
34 namespace { 34 namespace {
35 35
36 class MockAutofillExternalDelegate : public AutofillExternalDelegate { 36 class MockAutofillExternalDelegate : public AutofillExternalDelegate {
37 public: 37 public:
38 MockAutofillExternalDelegate(content::WebContents* web_contents, 38 MockAutofillExternalDelegate(content::WebContents* web_contents,
39 AutofillManager* autofill_manager, 39 AutofillManager* autofill_manager,
40 AutofillDriver* autofill_driver) 40 AutofillDriver* autofill_driver)
41 : AutofillExternalDelegate(web_contents, autofill_manager, 41 : AutofillExternalDelegate(web_contents, autofill_manager,
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 EXPECT_EQ(expected_popup_bounds[i].ToString(), 605 EXPECT_EQ(expected_popup_bounds[i].ToString(),
606 autofill_popup_controller->popup_bounds().ToString()) << 606 autofill_popup_controller->popup_bounds().ToString()) <<
607 "Popup bounds failed to match for test " << i; 607 "Popup bounds failed to match for test " << i;
608 608
609 // Hide the controller to delete it. 609 // Hide the controller to delete it.
610 autofill_popup_controller->DoHide(); 610 autofill_popup_controller->DoHide();
611 } 611 }
612 } 612 }
613 613
614 } // namespace autofill 614 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698