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

Side by Side Diff: services/surfaces/display_impl.h

Issue 1057283003: Remove parts of //cc we aren't using (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « mojo/converters/surfaces/surfaces_type_converters.cc ('k') | services/surfaces/display_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 SERVICES_SURFACES_DISPLAY_IMPL_H_ 5 #ifndef SERVICES_SURFACES_DISPLAY_IMPL_H_
6 #define SERVICES_SURFACES_DISPLAY_IMPL_H_ 6 #define SERVICES_SURFACES_DISPLAY_IMPL_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "cc/surfaces/display_client.h" 9 #include "cc/surfaces/display_client.h"
10 #include "cc/surfaces/surface_factory.h" 10 #include "cc/surfaces/surface_factory.h"
(...skipping 29 matching lines...) Expand all
40 void SubmitFrame(mojo::FramePtr frame, 40 void SubmitFrame(mojo::FramePtr frame,
41 const SubmitFrameCallback& callback) override; 41 const SubmitFrameCallback& callback) override;
42 42
43 // DisplayClient implementation. 43 // DisplayClient implementation.
44 void DisplayDamaged() override; 44 void DisplayDamaged() override;
45 void DidSwapBuffers() override; 45 void DidSwapBuffers() override;
46 void DidSwapBuffersComplete() override; 46 void DidSwapBuffersComplete() override;
47 void CommitVSyncParameters(base::TimeTicks timebase, 47 void CommitVSyncParameters(base::TimeTicks timebase,
48 base::TimeDelta interval) override; 48 base::TimeDelta interval) override;
49 void OutputSurfaceLost() override; 49 void OutputSurfaceLost() override;
50 void SetMemoryPolicy(const cc::ManagedMemoryPolicy& policy) override;
51 50
52 // ViewportParameterListener 51 // ViewportParameterListener
53 void OnVSyncParametersUpdated(int64_t timebase, int64_t interval) override; 52 void OnVSyncParametersUpdated(int64_t timebase, int64_t interval) override;
54 53
55 // SurfaceFactoryClient implementation. 54 // SurfaceFactoryClient implementation.
56 void ReturnResources(const cc::ReturnedResourceArray& resources) override; 55 void ReturnResources(const cc::ReturnedResourceArray& resources) override;
57 56
58 void Draw(); 57 void Draw();
59 58
60 cc::SurfaceManager* manager_; 59 cc::SurfaceManager* manager_;
(...skipping 10 matching lines...) Expand all
71 70
72 mojo::Binding<mojo::ViewportParameterListener> viewport_param_binding_; 71 mojo::Binding<mojo::ViewportParameterListener> viewport_param_binding_;
73 mojo::StrongBinding<mojo::Display> display_binding_; 72 mojo::StrongBinding<mojo::Display> display_binding_;
74 73
75 DISALLOW_COPY_AND_ASSIGN(DisplayImpl); 74 DISALLOW_COPY_AND_ASSIGN(DisplayImpl);
76 }; 75 };
77 76
78 } // namespace surfaces 77 } // namespace surfaces
79 78
80 #endif // SERVICES_SURFACES_DISPLAY_IMPL_H_ 79 #endif // SERVICES_SURFACES_DISPLAY_IMPL_H_
OLDNEW
« no previous file with comments | « mojo/converters/surfaces/surfaces_type_converters.cc ('k') | services/surfaces/display_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698