| OLD | NEW |
| 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 #ifndef CONTENT_PUBLIC_TEST_BROWSER_TEST_UTILS_H_ | 5 #ifndef CONTENT_PUBLIC_TEST_BROWSER_TEST_UTILS_H_ |
| 6 #define CONTENT_PUBLIC_TEST_BROWSER_TEST_UTILS_H_ | 6 #define CONTENT_PUBLIC_TEST_BROWSER_TEST_UTILS_H_ |
| 7 | 7 |
| 8 #include <queue> | 8 #include <queue> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 834 static void FileSystemWrite(RenderProcessHost* process, | 834 static void FileSystemWrite(RenderProcessHost* process, |
| 835 int request_id, | 835 int request_id, |
| 836 GURL file_path, | 836 GURL file_path, |
| 837 std::string blob_uuid, | 837 std::string blob_uuid, |
| 838 int64_t position); | 838 int64_t position); |
| 839 | 839 |
| 840 // Sends ViewHostMsg_LockMouse | 840 // Sends ViewHostMsg_LockMouse |
| 841 static void LockMouse(RenderProcessHost* process, | 841 static void LockMouse(RenderProcessHost* process, |
| 842 int routing_id, | 842 int routing_id, |
| 843 bool user_gesture, | 843 bool user_gesture, |
| 844 bool last_unlocked_by_target, | |
| 845 bool privileged); | 844 bool privileged); |
| 846 | 845 |
| 847 private: | 846 private: |
| 848 PwnMessageHelper(); // Not instantiable. | 847 PwnMessageHelper(); // Not instantiable. |
| 849 | 848 |
| 850 DISALLOW_COPY_AND_ASSIGN(PwnMessageHelper); | 849 DISALLOW_COPY_AND_ASSIGN(PwnMessageHelper); |
| 851 }; | 850 }; |
| 852 | 851 |
| 853 #if defined(USE_AURA) | 852 #if defined(USE_AURA) |
| 854 // Mock of an OverscrollController so we can inspect the scroll events that it | 853 // Mock of an OverscrollController so we can inspect the scroll events that it |
| (...skipping 10 matching lines...) Expand all Loading... |
| 865 virtual ~MockOverscrollController() {} | 864 virtual ~MockOverscrollController() {} |
| 866 | 865 |
| 867 // Waits until the mock receives a consumed GestureScrollUpdate. | 866 // Waits until the mock receives a consumed GestureScrollUpdate. |
| 868 virtual void WaitForConsumedScroll() = 0; | 867 virtual void WaitForConsumedScroll() = 0; |
| 869 }; | 868 }; |
| 870 #endif // defined(USE_AURA) | 869 #endif // defined(USE_AURA) |
| 871 | 870 |
| 872 } // namespace content | 871 } // namespace content |
| 873 | 872 |
| 874 #endif // CONTENT_PUBLIC_TEST_BROWSER_TEST_UTILS_H_ | 873 #endif // CONTENT_PUBLIC_TEST_BROWSER_TEST_UTILS_H_ |
| OLD | NEW |