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

Unified Diff: components/view_manager/gles2/command_buffer_impl.h

Issue 1245683004: Mandoline: Merge Surfaces and Views apps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: August 18 Rebase Created 5 years, 4 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
Index: components/view_manager/gles2/command_buffer_impl.h
diff --git a/components/view_manager/gles2/command_buffer_impl.h b/components/view_manager/gles2/command_buffer_impl.h
index a4c33006e42b1ac6a1c1fcd5a1fce92701bfa9e0..140ab771dd615ccd17069c588eedae21a0e78fd0 100644
--- a/components/view_manager/gles2/command_buffer_impl.h
+++ b/components/view_manager/gles2/command_buffer_impl.h
@@ -9,7 +9,6 @@
#include "base/memory/weak_ptr.h"
#include "base/single_thread_task_runner.h"
#include "components/view_manager/public/interfaces/command_buffer.mojom.h"
-#include "components/view_manager/public/interfaces/viewport_parameter_listener.mojom.h"
#include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h"
namespace gles2 {
@@ -24,7 +23,6 @@ class GpuState;
class CommandBufferImpl : public mojo::CommandBuffer {
public:
CommandBufferImpl(mojo::InterfaceRequest<CommandBuffer> request,
- mojo::ViewportParameterListenerPtr listener,
scoped_refptr<GpuState> gpu_state,
scoped_ptr<CommandBufferDriver> driver);
@@ -66,16 +64,12 @@ class CommandBufferImpl : public mojo::CommandBuffer {
void BindToRequest(mojo::InterfaceRequest<CommandBuffer> request);
- void UpdateVSyncParameters(base::TimeTicks timebase,
- base::TimeDelta interval);
-
void OnConnectionError();
scoped_refptr<GpuState> gpu_state_;
scoped_refptr<base::SingleThreadTaskRunner> driver_task_runner_;
scoped_ptr<CommandBufferDriver> driver_;
mojo::CommandBufferSyncPointClientPtr sync_point_client_;
- mojo::ViewportParameterListenerPtr viewport_parameter_listener_;
mojo::Binding<CommandBuffer> binding_;
CommandBufferImplObserver* observer_;
base::WeakPtrFactory<CommandBufferImpl> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698