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

Side by Side Diff: components/native_viewport/onscreen_context_provider.h

Issue 1085233004: Moves services implementations out of third_party/mojo_services (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unnecessary changes 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
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 COMPONENTS_NATIVE_VIEWPORT_ONSCREEN_CONTEXT_PROVIDER_H_ 5 #ifndef COMPONENTS_NATIVE_VIEWPORT_ONSCREEN_CONTEXT_PROVIDER_H_
6 #define COMPONENTS_NATIVE_VIEWPORT_ONSCREEN_CONTEXT_PROVIDER_H_ 6 #define COMPONENTS_NATIVE_VIEWPORT_ONSCREEN_CONTEXT_PROVIDER_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "third_party/mojo_services/src/gpu/public/interfaces/context_provider.m ojom.h" 9 #include "components/gpu/public/interfaces/context_provider.mojom.h"
10 #include "third_party/mojo_services/src/gpu/public/interfaces/viewport_parameter _listener.mojom.h" 10 #include "components/gpu/public/interfaces/viewport_parameter_listener.mojom.h"
11 #include "ui/gfx/native_widget_types.h" 11 #include "ui/gfx/native_widget_types.h"
12 12
13 namespace gles2 { 13 namespace gles2 {
14 class GpuState; 14 class GpuState;
15 } 15 }
16 16
17 namespace native_viewport { 17 namespace native_viewport {
18 18
19 class OnscreenContextProvider : public mojo::ContextProvider { 19 class OnscreenContextProvider : public mojo::ContextProvider {
20 public: 20 public:
(...skipping 16 matching lines...) Expand all
37 mojo::ViewportParameterListenerPtr pending_listener_; 37 mojo::ViewportParameterListenerPtr pending_listener_;
38 CreateCallback pending_create_callback_; 38 CreateCallback pending_create_callback_;
39 mojo::Binding<mojo::ContextProvider> binding_; 39 mojo::Binding<mojo::ContextProvider> binding_;
40 40
41 DISALLOW_COPY_AND_ASSIGN(OnscreenContextProvider); 41 DISALLOW_COPY_AND_ASSIGN(OnscreenContextProvider);
42 }; 42 };
43 43
44 } // namespace mojo 44 } // namespace mojo
45 45
46 #endif // COMPONENTS_NATIVE_VIEWPORT_ONSCREEN_CONTEXT_PROVIDER_H_ 46 #endif // COMPONENTS_NATIVE_VIEWPORT_ONSCREEN_CONTEXT_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698