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 "base/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
9 #include "base/observer_list.h" | 9 #include "base/observer_list.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 void SetIdleNotificationDelayInMs( | 70 void SetIdleNotificationDelayInMs( |
71 int64 idle_notification_delay_in_ms) override; | 71 int64 idle_notification_delay_in_ms) override; |
72 void UpdateHistograms(int sequence_number) override; | 72 void UpdateHistograms(int sequence_number) override; |
73 int PostTaskToAllWebWorkers(const base::Closure& closure) override; | 73 int PostTaskToAllWebWorkers(const base::Closure& closure) override; |
74 bool ResolveProxy(const GURL& url, std::string* proxy_list) override; | 74 bool ResolveProxy(const GURL& url, std::string* proxy_list) override; |
75 base::WaitableEvent* GetShutdownEvent() override; | 75 base::WaitableEvent* GetShutdownEvent() override; |
76 #if defined(OS_WIN) | 76 #if defined(OS_WIN) |
77 void PreCacheFont(const LOGFONT& log_font) override; | 77 void PreCacheFont(const LOGFONT& log_font) override; |
78 void ReleaseCachedFonts() override; | 78 void ReleaseCachedFonts() override; |
79 #endif | 79 #endif |
| 80 IPC::AttachmentBroker* GetAttachmentBroker() override; |
80 ServiceRegistry* GetServiceRegistry() override; | 81 ServiceRegistry* GetServiceRegistry() override; |
81 | 82 |
82 ////////////////////////////////////////////////////////////////////////// | 83 ////////////////////////////////////////////////////////////////////////// |
83 // The following functions are called by the test itself. | 84 // The following functions are called by the test itself. |
84 | 85 |
85 void set_routing_id(int32 id) { | 86 void set_routing_id(int32 id) { |
86 routing_id_ = id; | 87 routing_id_ = id; |
87 } | 88 } |
88 | 89 |
89 void set_surface_id(int32 id) { | 90 void set_surface_id(int32 id) { |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 | 170 |
170 // Observers to notify. | 171 // Observers to notify. |
171 base::ObserverList<RenderProcessObserver> observers_; | 172 base::ObserverList<RenderProcessObserver> observers_; |
172 | 173 |
173 cc::TestSharedBitmapManager shared_bitmap_manager_; | 174 cc::TestSharedBitmapManager shared_bitmap_manager_; |
174 }; | 175 }; |
175 | 176 |
176 } // namespace content | 177 } // namespace content |
177 | 178 |
178 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_ | 179 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_ |
OLD | NEW |