| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 #pragma once | 29 #pragma once |
| 30 | 30 |
| 31 #include <list> | 31 #include <list> |
| 32 #include <string> | 32 #include <string> |
| 33 #include <vector> | 33 #include <vector> |
| 34 | 34 |
| 35 #include "base/basictypes.h" | 35 #include "base/basictypes.h" |
| 36 #include "base/file_path.h" | 36 #include "base/file_path.h" |
| 37 #include "base/scoped_temp_dir.h" | 37 #include "base/scoped_temp_dir.h" |
| 38 #include "base/string_piece.h" |
| 38 #if defined(OS_MACOSX) | 39 #if defined(OS_MACOSX) |
| 39 #include "base/lazy_instance.h" | 40 #include "base/lazy_instance.h" |
| 40 #endif | 41 #endif |
| 41 #include "base/memory/ref_counted.h" | 42 #include "base/memory/ref_counted.h" |
| 42 #include "base/memory/weak_ptr.h" | 43 #include "base/memory/weak_ptr.h" |
| 43 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationPolicy.h
" | 44 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationPolicy.h
" |
| 44 #include "ui/gfx/native_widget_types.h" | 45 #include "ui/gfx/native_widget_types.h" |
| 45 #include "webkit/tools/test_shell/layout_test_controller.h" | 46 #include "webkit/tools/test_shell/layout_test_controller.h" |
| 46 #include "webkit/tools/test_shell/webview_host.h" | 47 #include "webkit/tools/test_shell/webview_host.h" |
| 47 #include "webkit/tools/test_shell/webwidget_host.h" | 48 #include "webkit/tools/test_shell/webwidget_host.h" |
| 48 | 49 |
| 49 typedef std::list<gfx::NativeWindow> WindowList; | 50 typedef std::list<gfx::NativeWindow> WindowList; |
| 50 | 51 |
| 51 struct WebPreferences; | 52 struct WebPreferences; |
| 52 class GURL; | 53 class GURL; |
| 53 class TestNavigationEntry; | 54 class TestNavigationEntry; |
| 54 class TestNavigationController; | 55 class TestNavigationController; |
| 55 class TestNotificationPresenter; | 56 class TestNotificationPresenter; |
| 56 class TestShellDevToolsAgent; | 57 class TestShellDevToolsAgent; |
| 57 class TestShellDevToolsClient; | 58 class TestShellDevToolsClient; |
| 58 class TestWebViewDelegate; | 59 class TestWebViewDelegate; |
| 59 | 60 |
| 60 namespace base { | |
| 61 class StringPiece; | |
| 62 } | |
| 63 | |
| 64 namespace WebKit { | 61 namespace WebKit { |
| 65 class WebDeviceOrientationClientMock; | 62 class WebDeviceOrientationClientMock; |
| 66 class WebGeolocationClientMock; | 63 class WebGeolocationClientMock; |
| 67 class WebSpeechInputControllerMock; | 64 class WebSpeechInputControllerMock; |
| 68 class WebSpeechInputListener; | 65 class WebSpeechInputListener; |
| 69 } | 66 } |
| 70 | 67 |
| 71 class TestShell : public base::SupportsWeakPtr<TestShell> { | 68 class TestShell : public base::SupportsWeakPtr<TestShell> { |
| 72 public: | 69 public: |
| 73 struct TestParams { | 70 struct TestParams { |
| (...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 #if defined(OS_WIN) | 438 #if defined(OS_WIN) |
| 442 // Used by the watchdog to know when it's finished. | 439 // Used by the watchdog to know when it's finished. |
| 443 HANDLE finished_event_; | 440 HANDLE finished_event_; |
| 444 #endif | 441 #endif |
| 445 | 442 |
| 446 // Dump the stats table counters on exit. | 443 // Dump the stats table counters on exit. |
| 447 bool dump_stats_table_on_exit_; | 444 bool dump_stats_table_on_exit_; |
| 448 }; | 445 }; |
| 449 | 446 |
| 450 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_H_ | 447 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_H_ |
| OLD | NEW |