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_RENDERER_RENDER_THREAD_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 virtual void ScheduleIdleHandler(int64 initial_delay_ms) OVERRIDE; | 114 virtual void ScheduleIdleHandler(int64 initial_delay_ms) OVERRIDE; |
115 virtual void IdleHandler() OVERRIDE; | 115 virtual void IdleHandler() OVERRIDE; |
116 virtual int64 GetIdleNotificationDelayInMs() const OVERRIDE; | 116 virtual int64 GetIdleNotificationDelayInMs() const OVERRIDE; |
117 virtual void SetIdleNotificationDelayInMs( | 117 virtual void SetIdleNotificationDelayInMs( |
118 int64 idle_notification_delay_in_ms) OVERRIDE; | 118 int64 idle_notification_delay_in_ms) OVERRIDE; |
119 #if defined(OS_WIN) | 119 #if defined(OS_WIN) |
120 virtual void PreCacheFont(const LOGFONT& log_font) OVERRIDE; | 120 virtual void PreCacheFont(const LOGFONT& log_font) OVERRIDE; |
121 virtual void ReleaseCachedFonts() OVERRIDE; | 121 virtual void ReleaseCachedFonts() OVERRIDE; |
122 #endif | 122 #endif |
123 | 123 |
| 124 // content::ChildThread: |
| 125 virtual bool IsWebFrameValid(WebKit::WebFrame* frame) OVERRIDE; |
| 126 |
124 // GpuChannelHostFactory implementation: | 127 // GpuChannelHostFactory implementation: |
125 virtual bool IsMainThread() OVERRIDE; | 128 virtual bool IsMainThread() OVERRIDE; |
126 virtual bool IsIOThread() OVERRIDE; | 129 virtual bool IsIOThread() OVERRIDE; |
127 virtual MessageLoop* GetMainLoop() OVERRIDE; | 130 virtual MessageLoop* GetMainLoop() OVERRIDE; |
128 virtual base::MessageLoopProxy* GetIOLoopProxy() OVERRIDE; | 131 virtual base::MessageLoopProxy* GetIOLoopProxy() OVERRIDE; |
129 virtual base::WaitableEvent* GetShutDownEvent() OVERRIDE; | 132 virtual base::WaitableEvent* GetShutDownEvent() OVERRIDE; |
130 virtual scoped_ptr<base::SharedMemory> AllocateSharedMemory( | 133 virtual scoped_ptr<base::SharedMemory> AllocateSharedMemory( |
131 uint32 size) OVERRIDE; | 134 uint32 size) OVERRIDE; |
132 virtual int32 CreateViewCommandBuffer( | 135 virtual int32 CreateViewCommandBuffer( |
133 int32 surface_id, | 136 int32 surface_id, |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 | 259 |
257 bool compositor_initialized_; | 260 bool compositor_initialized_; |
258 scoped_ptr<CompositorThread> compositor_thread_; | 261 scoped_ptr<CompositorThread> compositor_thread_; |
259 | 262 |
260 ObserverList<content::RenderProcessObserver> observers_; | 263 ObserverList<content::RenderProcessObserver> observers_; |
261 | 264 |
262 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 265 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
263 }; | 266 }; |
264 | 267 |
265 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 268 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |