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

Side by Side Diff: chrome/test/base/move_test_process_to_front_mac.mm

Issue 2382963002: Views: Add two disabled tests for invoking the CC unmask prompt dialog. (Closed)
Patch Set: Initial approach for invoking UI tests. 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
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 <Cocoa/Cocoa.h>
6
7 void SetProcessToFront() {
8 ProcessSerialNumber psn = { 0, kCurrentProcess };
9 TransformProcessType(&psn, kProcessTransformToForegroundApplication);
10 SetFrontProcess(&psn);
tapted 2016/10/13 00:53:34 some of these apis might be deprecated...
Patti Lor 2016/10/13 05:39:21 You're right, the documentation seems to have disa
11 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698