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

Side by Side Diff: mojo/services/surfaces/interfaces/display.mojom

Issue 1647953007: Remove DartPackage annotation from NativeViewport and GPU mojoms (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: rebased Created 4 years, 10 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 [DartPackage="mojo_services"]
6 module mojo; 5 module mojo;
7 6
8 import "gpu/interfaces/context_provider.mojom"; 7 import "gpu/interfaces/context_provider.mojom";
9 import "gpu/interfaces/viewport_parameter_listener.mojom"; 8 import "gpu/interfaces/viewport_parameter_listener.mojom";
10 import "surfaces/interfaces/surfaces.mojom"; 9 import "surfaces/interfaces/surfaces.mojom";
11 10
12 interface Display { 11 interface Display {
13 // Submits a new frame to the display to be drawn when possible. The callback 12 // Submits a new frame to the display to be drawn when possible. The callback
14 // will be run after the frame has been issued to the display but possibly 13 // will be run after the frame has been issued to the display but possibly
15 // before the frame is actually visible. 14 // before the frame is actually visible.
(...skipping 10 matching lines...) Expand all
26 [ServiceName="mojo::DisplayFactory"] 25 [ServiceName="mojo::DisplayFactory"]
27 interface DisplayFactory { 26 interface DisplayFactory {
28 // Create associates a Display that will draw to contexts produced by 27 // Create associates a Display that will draw to contexts produced by
29 // |context_provider|. Any resources submitted to the display will be 28 // |context_provider|. Any resources submitted to the display will be
30 // returned via the |returner|, if supplied. 29 // returned via the |returner|, if supplied.
31 Create(ContextProvider context_provider, 30 Create(ContextProvider context_provider,
32 ResourceReturner? returner, 31 ResourceReturner? returner,
33 Display& display_request); 32 Display& display_request);
34 }; 33 };
35 34
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698