| 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> |
| 11 | 11 |
| 12 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
| 13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 14 #include "base/files/scoped_temp_dir.h" | 14 #include "base/files/scoped_temp_dir.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/process/process.h" | 16 #include "base/process/process.h" |
| 17 #include "base/strings/string16.h" | 17 #include "base/strings/string16.h" |
| 18 #include "content/public/browser/notification_observer.h" | 18 #include "content/public/browser/notification_observer.h" |
| 19 #include "content/public/browser/notification_registrar.h" | 19 #include "content/public/browser/notification_registrar.h" |
| 20 #include "content/public/browser/render_process_host_observer.h" | 20 #include "content/public/browser/render_process_host_observer.h" |
| 21 #include "content/public/browser/web_contents_observer.h" | 21 #include "content/public/browser/web_contents_observer.h" |
| 22 #include "third_party/WebKit/public/web/WebInputEvent.h" | 22 #include "third_party/WebKit/public/web/WebInputEvent.h" |
| 23 #include "ui/events/keycodes/keyboard_codes.h" | 23 #include "ui/events/keycodes/keyboard_codes.h" |
| 24 #include "url/gurl.h" | 24 #include "url/gurl.h" |
| 25 | 25 |
| 26 #if defined(OS_WIN) | 26 #if defined(OS_WIN) |
| 27 #include "base/win/scoped_handle.h" | 27 #include "base/win/scoped_handle.h" |
| 28 #endif | 28 #endif |
| 29 | 29 |
| 30 class CommandLine; | |
| 31 | |
| 32 namespace base { | 30 namespace base { |
| 33 class RunLoop; | 31 class RunLoop; |
| 34 } | 32 } |
| 35 | 33 |
| 36 namespace gfx { | 34 namespace gfx { |
| 37 class Point; | 35 class Point; |
| 38 } | 36 } |
| 39 | 37 |
| 40 // A collections of functions designed for use with content_browsertests and | 38 // A collections of functions designed for use with content_browsertests and |
| 41 // browser_tests. | 39 // browser_tests. |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 std::queue<std::string> message_queue_; | 329 std::queue<std::string> message_queue_; |
| 332 bool waiting_for_message_; | 330 bool waiting_for_message_; |
| 333 scoped_refptr<MessageLoopRunner> message_loop_runner_; | 331 scoped_refptr<MessageLoopRunner> message_loop_runner_; |
| 334 | 332 |
| 335 DISALLOW_COPY_AND_ASSIGN(DOMMessageQueue); | 333 DISALLOW_COPY_AND_ASSIGN(DOMMessageQueue); |
| 336 }; | 334 }; |
| 337 | 335 |
| 338 } // namespace content | 336 } // namespace content |
| 339 | 337 |
| 340 #endif // CONTENT_PUBLIC_TEST_BROWSER_TEST_UTILS_H_ | 338 #endif // CONTENT_PUBLIC_TEST_BROWSER_TEST_UTILS_H_ |
| OLD | NEW |