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

Side by Side Diff: content/public/test/browser_test_utils.cc

Issue 2622733002: Mac Support for drag-and-drop tests that start dragging via mouse simulation.
Patch Set: . Created 3 years, 11 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 | « content/public/test/browser_test_utils.h ('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
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 "content/public/test/browser_test_utils.h" 5 #include "content/public/test/browser_test_utils.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <tuple> 8 #include <tuple>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 1839 matching lines...) Expand 10 before | Expand all | Expand 10 after
1850 1850
1851 IPC::IpcSecurityTestUtil::PwnMessageReceived( 1851 IPC::IpcSecurityTestUtil::PwnMessageReceived(
1852 process->GetChannel(), 1852 process->GetChannel(),
1853 FileSystemHostMsg_Write(request_id, file_path, blob_uuid, position)); 1853 FileSystemHostMsg_Write(request_id, file_path, blob_uuid, position));
1854 1854
1855 // If this started an async operation, wait for it to complete. 1855 // If this started an async operation, wait for it to complete.
1856 if (waiter.did_start_update()) 1856 if (waiter.did_start_update())
1857 waiter.WaitForEndUpdate(); 1857 waiter.WaitForEndUpdate();
1858 } 1858 }
1859 1859
1860 void RegisterDragStartCallback(DragStartCallback callback) {
1861 RenderWidgetHostImpl::RegisterDragStartCallbackForTesting(
1862 std::move(callback));
1863 }
1864
1860 } // namespace content 1865 } // namespace content
OLDNEW
« no previous file with comments | « content/public/test/browser_test_utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698