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

Side by Side Diff: ui/base/test/user_interactive_test_case_mac.mm

Issue 2382963002: Views: Add two disabled tests for invoking the CC unmask prompt dialog. (Closed)
Patch Set: Fix gn fail. Created 4 years, 2 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
« ui/base/BUILD.gn ('K') | « ui/base/test/user_interactive_test_case.cc ('k') | 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ui/base/test/user_interactive_test_case.h"
6
7 #import <Cocoa/Cocoa.h>
8
9 #include "base/run_loop.h"
10
11 namespace test {
12
13 void RunTestInteractively() {
14 [NSApp setActivationPolicy:NSApplicationActivationPolicyRegular];
15 [NSApp activateIgnoringOtherApps:YES];
16 base::RunLoop().Run();
17 }
18
19 }
OLDNEW
« ui/base/BUILD.gn ('K') | « ui/base/test/user_interactive_test_case.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698