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

Side by Side Diff: chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa_browsertest.mm

Issue 13951021: Disable AutofillDialogCocoaBrowserTest.DisplayUI due to modal dialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #import "chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h" 4 #import "chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h"
5 5
6 #include "base/bind.h" 6 #include "base/bind.h"
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "chrome/browser/profiles/profile.h" 8 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/browser/ui/autofill/autofill_dialog_controller_impl.h" 9 #include "chrome/browser/ui/autofill/autofill_dialog_controller_impl.h"
10 #include "chrome/browser/ui/browser.h" 10 #include "chrome/browser/ui/browser.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 // The controller owns itself. 94 // The controller owns itself.
95 TestAutofillDialogController* controller_; 95 TestAutofillDialogController* controller_;
96 96
97 // The following members must outlive the controller. 97 // The following members must outlive the controller.
98 AutofillMetrics metric_logger_; 98 AutofillMetrics metric_logger_;
99 scoped_refptr<content::MessageLoopRunner> runner_; 99 scoped_refptr<content::MessageLoopRunner> runner_;
100 100
101 DISALLOW_COPY_AND_ASSIGN(AutofillDialogCocoaBrowserTest); 101 DISALLOW_COPY_AND_ASSIGN(AutofillDialogCocoaBrowserTest);
102 }; 102 };
103 103
104 IN_PROC_BROWSER_TEST_F(AutofillDialogCocoaBrowserTest, DisplayUI) { 104 // Disabled, since this can pop up a "browser_tests would like access to your
105 // Contacts" dialog. http://crbug.com/234008 .
106 IN_PROC_BROWSER_TEST_F(AutofillDialogCocoaBrowserTest, DISABLED_DisplayUI) {
105 controller()->Show(); 107 controller()->Show();
106 controller()->view()->CancelForTesting(); 108 controller()->view()->CancelForTesting();
107 109
108 controller()->RunMessageLoop(); 110 controller()->RunMessageLoop();
109 } 111 }
110 112
111 } // namespace 113 } // namespace
112 114
113 } // namespace autofill 115 } // namespace autofill
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698