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

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

Issue 392013005: [#1] Delete reduntdant 19 header files in ui/gfx (8 of 19 by this) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sorted includes Created 6 years, 5 months 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
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 "base/basictypes.h" 5 #include "base/basictypes.h"
6 #include "base/memory/scoped_ptr.h" 6 #include "base/memory/scoped_ptr.h"
7 #include "chrome/browser/ui/autofill/autofill_popup_view.h" 7 #include "chrome/browser/ui/autofill/autofill_popup_view.h"
8 #include "chrome/browser/ui/browser.h" 8 #include "chrome/browser/ui/browser.h"
9 #include "chrome/browser/ui/browser_window.h" 9 #include "chrome/browser/ui/browser_window.h"
10 #include "chrome/browser/ui/tabs/tab_strip_model.h" 10 #include "chrome/browser/ui/tabs/tab_strip_model.h"
11 #include "chrome/test/base/in_process_browser_test.h" 11 #include "chrome/test/base/in_process_browser_test.h"
12 #include "components/autofill/content/browser/content_autofill_driver.h" 12 #include "components/autofill/content/browser/content_autofill_driver.h"
13 #include "components/autofill/core/browser/autofill_manager.h" 13 #include "components/autofill/core/browser/autofill_manager.h"
14 #include "components/autofill/core/browser/test_autofill_external_delegate.h" 14 #include "components/autofill/core/browser/test_autofill_external_delegate.h"
15 #include "content/public/browser/web_contents.h" 15 #include "content/public/browser/web_contents.h"
16 #include "content/public/browser/web_contents_observer.h" 16 #include "content/public/browser/web_contents_observer.h"
17 #include "content/public/test/test_utils.h" 17 #include "content/public/test/test_utils.h"
18 #include "ui/gfx/geometry/vector2d.h"
18 #include "ui/gfx/rect.h" 19 #include "ui/gfx/rect.h"
19 #include "ui/gfx/vector2d.h"
20 20
21 namespace autofill { 21 namespace autofill {
22 namespace { 22 namespace {
23 23
24 class TestAutofillExternalDelegate : public AutofillExternalDelegate { 24 class TestAutofillExternalDelegate : public AutofillExternalDelegate {
25 public: 25 public:
26 TestAutofillExternalDelegate(content::WebContents* web_contents, 26 TestAutofillExternalDelegate(content::WebContents* web_contents,
27 AutofillManager* autofill_manager, 27 AutofillManager* autofill_manager,
28 AutofillDriver* autofill_driver) 28 AutofillDriver* autofill_driver)
29 : AutofillExternalDelegate(autofill_manager, autofill_driver), 29 : AutofillExternalDelegate(autofill_manager, autofill_driver),
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 MAYBE_DeleteDelegateBeforePopupHidden){ 128 MAYBE_DeleteDelegateBeforePopupHidden){
129 GenerateTestAutofillPopup(autofill_external_delegate_.get()); 129 GenerateTestAutofillPopup(autofill_external_delegate_.get());
130 130
131 // Delete the external delegate here so that is gets deleted before popup is 131 // Delete the external delegate here so that is gets deleted before popup is
132 // hidden. This can happen if the web_contents are destroyed before the popup 132 // hidden. This can happen if the web_contents are destroyed before the popup
133 // is hidden. See http://crbug.com/232475 133 // is hidden. See http://crbug.com/232475
134 autofill_external_delegate_.reset(); 134 autofill_external_delegate_.reset();
135 } 135 }
136 136
137 } // namespace autofill 137 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698