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

Side by Side Diff: mojo/services/native_viewport/interfaces/native_viewport.mojom

Issue 1398973004: Move //mojo/services/X/public/... to //mojo/services/X/... (part 2). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_1
Patch Set: add missing copyright notices Created 5 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 [DartPackage="mojo_services"] 5 [DartPackage="mojo_services"]
6 module mojo; 6 module mojo;
7 7
8 import "geometry/public/interfaces/geometry.mojom"; 8 import "geometry/interfaces/geometry.mojom";
9 import "gpu/public/interfaces/context_provider.mojom"; 9 import "gpu/interfaces/context_provider.mojom";
10 import "input_events/public/interfaces/input_events.mojom"; 10 import "input_events/interfaces/input_events.mojom";
11 11
12 struct ViewportMetrics { 12 struct ViewportMetrics {
13 Size size; 13 Size size;
14 float device_pixel_ratio = 1.0; 14 float device_pixel_ratio = 1.0;
15 }; 15 };
16 16
17 struct SurfaceConfiguration { 17 struct SurfaceConfiguration {
18 uint8 red_bits = 8; 18 uint8 red_bits = 8;
19 uint8 green_bits = 8; 19 uint8 green_bits = 8;
20 uint8 blue_bits = 8; 20 uint8 blue_bits = 8;
(...skipping 22 matching lines...) Expand all
43 // method. Call RequestMetrics() to receive updates when the viewport metrics 43 // method. Call RequestMetrics() to receive updates when the viewport metrics
44 // change. The reply will be sent when the viewport metrics are different from 44 // change. The reply will be sent when the viewport metrics are different from
45 // the values last sent, so to receive continuous updates call this method 45 // the values last sent, so to receive continuous updates call this method
46 // again after receiving the callback. 46 // again after receiving the callback.
47 RequestMetrics() => (ViewportMetrics metrics); 47 RequestMetrics() => (ViewportMetrics metrics);
48 }; 48 };
49 49
50 interface NativeViewportEventDispatcher { 50 interface NativeViewportEventDispatcher {
51 OnEvent(Event event) => (); 51 OnEvent(Event event) => ();
52 }; 52 };
OLDNEW
« no previous file with comments | « mojo/services/native_viewport/interfaces/BUILD.gn ('k') | mojo/services/native_viewport/public/cpp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698