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_MOCK_RENDER_THREAD_H_ | 5 #ifndef CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_ |
6 #define CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_ | 6 #define CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 int PostTaskToAllWebWorkers(const base::Closure& closure) override; | 78 int PostTaskToAllWebWorkers(const base::Closure& closure) override; |
79 bool ResolveProxy(const GURL& url, std::string* proxy_list) override; | 79 bool ResolveProxy(const GURL& url, std::string* proxy_list) override; |
80 base::WaitableEvent* GetShutdownEvent() override; | 80 base::WaitableEvent* GetShutdownEvent() override; |
81 #if defined(OS_WIN) | 81 #if defined(OS_WIN) |
82 void PreCacheFont(const LOGFONT& log_font) override; | 82 void PreCacheFont(const LOGFONT& log_font) override; |
83 void ReleaseCachedFonts() override; | 83 void ReleaseCachedFonts() override; |
84 #endif | 84 #endif |
85 MojoShellConnection* GetMojoShellConnection() override; | 85 MojoShellConnection* GetMojoShellConnection() override; |
86 shell::InterfaceRegistry* GetInterfaceRegistry() override; | 86 shell::InterfaceRegistry* GetInterfaceRegistry() override; |
87 shell::InterfaceProvider* GetRemoteInterfaces() override; | 87 shell::InterfaceProvider* GetRemoteInterfaces() override; |
| 88 mojom::RouteProvider* GetRemoteRouteProvider() override; |
88 | 89 |
89 ////////////////////////////////////////////////////////////////////////// | 90 ////////////////////////////////////////////////////////////////////////// |
90 // The following functions are called by the test itself. | 91 // The following functions are called by the test itself. |
91 | 92 |
92 void set_routing_id(int32_t id) { routing_id_ = id; } | 93 void set_routing_id(int32_t id) { routing_id_ = id; } |
93 | 94 |
94 int32_t opener_id() const { return opener_id_; } | 95 int32_t opener_id() const { return opener_id_; } |
95 | 96 |
96 void set_new_window_routing_id(int32_t id) { new_window_routing_id_ = id; } | 97 void set_new_window_routing_id(int32_t id) { new_window_routing_id_ = id; } |
97 | 98 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 cc::TestSharedBitmapManager shared_bitmap_manager_; | 163 cc::TestSharedBitmapManager shared_bitmap_manager_; |
163 std::unique_ptr<shell::InterfaceRegistry> interface_registry_; | 164 std::unique_ptr<shell::InterfaceRegistry> interface_registry_; |
164 std::unique_ptr<shell::InterfaceProvider> remote_interfaces_; | 165 std::unique_ptr<shell::InterfaceProvider> remote_interfaces_; |
165 shell::mojom::InterfaceProviderRequest | 166 shell::mojom::InterfaceProviderRequest |
166 pending_remote_interface_provider_request_; | 167 pending_remote_interface_provider_request_; |
167 }; | 168 }; |
168 | 169 |
169 } // namespace content | 170 } // namespace content |
170 | 171 |
171 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_ | 172 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_ |
OLD | NEW |