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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 void ScheduleIdleHandler(int64 initial_delay_ms) override; | 64 void ScheduleIdleHandler(int64 initial_delay_ms) override; |
65 void IdleHandler() override; | 65 void IdleHandler() override; |
66 int64 GetIdleNotificationDelayInMs() const override; | 66 int64 GetIdleNotificationDelayInMs() const override; |
67 void SetIdleNotificationDelayInMs( | 67 void SetIdleNotificationDelayInMs( |
68 int64 idle_notification_delay_in_ms) override; | 68 int64 idle_notification_delay_in_ms) override; |
69 void UpdateHistograms(int sequence_number) override; | 69 void UpdateHistograms(int sequence_number) override; |
70 int PostTaskToAllWebWorkers(const base::Closure& closure) override; | 70 int PostTaskToAllWebWorkers(const base::Closure& closure) override; |
71 bool ResolveProxy(const GURL& url, std::string* proxy_list) override; | 71 bool ResolveProxy(const GURL& url, std::string* proxy_list) override; |
72 base::WaitableEvent* GetShutdownEvent() override; | 72 base::WaitableEvent* GetShutdownEvent() override; |
73 #if defined(OS_WIN) | 73 #if defined(OS_WIN) |
74 virtual void PreCacheFont(const LOGFONT& log_font) override; | 74 void PreCacheFont(const LOGFONT& log_font) override; |
75 virtual void ReleaseCachedFonts() override; | 75 void ReleaseCachedFonts() override; |
76 #endif | 76 #endif |
77 ServiceRegistry* GetServiceRegistry() override; | 77 ServiceRegistry* GetServiceRegistry() override; |
78 | 78 |
79 ////////////////////////////////////////////////////////////////////////// | 79 ////////////////////////////////////////////////////////////////////////// |
80 // The following functions are called by the test itself. | 80 // The following functions are called by the test itself. |
81 | 81 |
82 void set_routing_id(int32 id) { | 82 void set_routing_id(int32 id) { |
83 routing_id_ = id; | 83 routing_id_ = id; |
84 } | 84 } |
85 | 85 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 | 167 |
168 // Observers to notify. | 168 // Observers to notify. |
169 ObserverList<RenderProcessObserver> observers_; | 169 ObserverList<RenderProcessObserver> observers_; |
170 | 170 |
171 cc::TestSharedBitmapManager shared_bitmap_manager_; | 171 cc::TestSharedBitmapManager shared_bitmap_manager_; |
172 }; | 172 }; |
173 | 173 |
174 } // namespace content | 174 } // namespace content |
175 | 175 |
176 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_ | 176 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_ |
OLD | NEW |