Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(411)

Unified Diff: content/browser/renderer_host/render_message_filter.h

Issue 302443008: content: Always allocate GpuMemoryBuffers on UI thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: one more android build fix Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/renderer_host/render_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_message_filter.h
diff --git a/content/browser/renderer_host/render_message_filter.h b/content/browser/renderer_host/render_message_filter.h
index 3682526de7d92475886eb1afefa81e19ba713e6b..18f6a2d0d2ee47757446b58e2977b333b1571dab 100644
--- a/content/browser/renderer_host/render_message_filter.h
+++ b/content/browser/renderer_host/render_message_filter.h
@@ -32,7 +32,6 @@
#include "ui/surface/transport_dib.h"
#if defined(OS_MACOSX)
-#include "base/mac/scoped_cftyperef.h"
#include "content/common/mac/font_loader.h"
#endif
@@ -53,11 +52,6 @@ class SharedMemory;
class TaskRunner;
}
-namespace gfx {
-class Rect;
-struct GpuMemoryBufferHandle;
-}
-
namespace media {
class AudioManager;
struct MediaLogEvent;
@@ -273,14 +267,6 @@ class RenderMessageFilter : public BrowserMessageFilter {
uint32_t data_size);
#endif
- void OnAllocateGpuMemoryBuffer(uint32 width,
- uint32 height,
- uint32 internalformat,
- uint32 usage,
- IPC::Message* reply);
- void GpuMemoryBufferAllocated(IPC::Message* reply,
- const gfx::GpuMemoryBufferHandle& handle);
-
// Cached resource request dispatcher host and plugin service, guaranteed to
// be non-null if Init succeeds. We do not own the objects, they are managed
// by the BrowserProcess, which has a wider scope than we do.
@@ -319,10 +305,6 @@ class RenderMessageFilter : public BrowserMessageFilter {
media::AudioManager* audio_manager_;
MediaInternals* media_internals_;
-#if defined(OS_MACOSX)
- base::ScopedCFTypeRef<CFTypeRef> last_io_surface_;
-#endif
-
DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter);
};
« no previous file with comments | « no previous file | content/browser/renderer_host/render_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698