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

Side by Side Diff: content/browser/compositor/gpu_process_transport_factory.h

Issue 2369793002: WIP: Propagate SurfaceID up window tree hierarchy
Patch Set: Fix input events: EventDispatcher ignores container windows Created 4 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_ 5 #ifndef CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_
6 #define CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_ 6 #define CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 ui::Layer* target) override; 55 ui::Layer* target) override;
56 void RemoveReflector(ui::Reflector* reflector) override; 56 void RemoveReflector(ui::Reflector* reflector) override;
57 void RemoveCompositor(ui::Compositor* compositor) override; 57 void RemoveCompositor(ui::Compositor* compositor) override;
58 scoped_refptr<cc::ContextProvider> SharedMainThreadContextProvider() override; 58 scoped_refptr<cc::ContextProvider> SharedMainThreadContextProvider() override;
59 bool DoesCreateTestContexts() override; 59 bool DoesCreateTestContexts() override;
60 uint32_t GetImageTextureTarget(gfx::BufferFormat format, 60 uint32_t GetImageTextureTarget(gfx::BufferFormat format,
61 gfx::BufferUsage usage) override; 61 gfx::BufferUsage usage) override;
62 cc::SharedBitmapManager* GetSharedBitmapManager() override; 62 cc::SharedBitmapManager* GetSharedBitmapManager() override;
63 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override; 63 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override;
64 cc::TaskGraphRunner* GetTaskGraphRunner() override; 64 cc::TaskGraphRunner* GetTaskGraphRunner() override;
65 uint32_t AllocateSurfaceClientId() override; 65 cc::FrameSinkId AllocateFrameSinkId() override;
66 void SetDisplayVisible(ui::Compositor* compositor, bool visible) override; 66 void SetDisplayVisible(ui::Compositor* compositor, bool visible) override;
67 void ResizeDisplay(ui::Compositor* compositor, 67 void ResizeDisplay(ui::Compositor* compositor,
68 const gfx::Size& size) override; 68 const gfx::Size& size) override;
69 void SetDisplayColorSpace(ui::Compositor* compositor, 69 void SetDisplayColorSpace(ui::Compositor* compositor,
70 const gfx::ColorSpace& color_space) override; 70 const gfx::ColorSpace& color_space) override;
71 void SetAuthoritativeVSyncInterval(ui::Compositor* compositor, 71 void SetAuthoritativeVSyncInterval(ui::Compositor* compositor,
72 base::TimeDelta interval) override; 72 base::TimeDelta interval) override;
73 void SetDisplayVSyncParameters(ui::Compositor* compositor, 73 void SetDisplayVSyncParameters(ui::Compositor* compositor,
74 base::TimeTicks timebase, 74 base::TimeTicks timebase,
75 base::TimeDelta interval) override; 75 base::TimeDelta interval) override;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 gpu::GpuChannelEstablishFactory* gpu_channel_factory_ = nullptr; 132 gpu::GpuChannelEstablishFactory* gpu_channel_factory_ = nullptr;
133 133
134 base::WeakPtrFactory<GpuProcessTransportFactory> callback_factory_; 134 base::WeakPtrFactory<GpuProcessTransportFactory> callback_factory_;
135 135
136 DISALLOW_COPY_AND_ASSIGN(GpuProcessTransportFactory); 136 DISALLOW_COPY_AND_ASSIGN(GpuProcessTransportFactory);
137 }; 137 };
138 138
139 } // namespace content 139 } // namespace content
140 140
141 #endif // CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_ 141 #endif // CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_
OLDNEW
« no previous file with comments | « content/browser/browser_plugin/browser_plugin_guest.cc ('k') | content/browser/compositor/gpu_process_transport_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698