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

Side by Side Diff: services/native_viewport/native_viewport_impl.cc

Issue 1980763002: ApplicationConnection devolution, part 2.3. (Closed) Base URL: https://github.com/domokit/mojo.git@work794_app_conn_devo_2.2
Patch Set: Created 4 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 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 #include "services/native_viewport/native_viewport_impl.h" 5 #include "services/native_viewport/native_viewport_impl.h"
6 6
7 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/time/time.h" 11 #include "base/time/time.h"
12 #include "mojo/converters/geometry/geometry_type_converters.h" 12 #include "mojo/converters/geometry/geometry_type_converters.h"
13 #include "mojo/converters/native_viewport/surface_configuration_type_converters. h" 13 #include "mojo/converters/native_viewport/surface_configuration_type_converters. h"
14 #include "mojo/public/cpp/application/application_impl.h" 14 #include "mojo/public/cpp/application/application_impl.h"
15 #include "mojo/public/cpp/application/interface_factory.h"
16 #include "services/gles2/gpu_state.h" 15 #include "services/gles2/gpu_state.h"
17 #include "services/native_viewport/platform_viewport_headless.h" 16 #include "services/native_viewport/platform_viewport_headless.h"
18 #include "ui/events/event.h" 17 #include "ui/events/event.h"
19 #include "ui/gl/gl_surface.h" 18 #include "ui/gl/gl_surface.h"
20 19
21 namespace native_viewport { 20 namespace native_viewport {
22 21
23 NativeViewportImpl::NativeViewportImpl( 22 NativeViewportImpl::NativeViewportImpl(
24 mojo::ApplicationImpl* application, 23 mojo::ApplicationImpl* application,
25 bool is_headless, 24 bool is_headless,
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 159
161 void NativeViewportImpl::OnDestroyed() { 160 void NativeViewportImpl::OnDestroyed() {
162 delete this; 161 delete this;
163 } 162 }
164 163
165 void NativeViewportImpl::AckEvent(int32 pointer_id) { 164 void NativeViewportImpl::AckEvent(int32 pointer_id) {
166 pointers_waiting_on_ack_.erase(pointer_id); 165 pointers_waiting_on_ack_.erase(pointer_id);
167 } 166 }
168 167
169 } // namespace native_viewport 168 } // namespace native_viewport
OLDNEW
« no previous file with comments | « services/keyboard/linux/keyboard_service_impl.h ('k') | services/test_service/test_request_tracker_application.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698