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

Unified Diff: mojo/services/ozone_drm_gpu/public/interfaces/ozone_drm_gpu.mojom

Issue 1394303004: Move //mojo/services/X/public/... to //mojo/services/X/... (part 3). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_2-x-no_public_1
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: mojo/services/ozone_drm_gpu/public/interfaces/ozone_drm_gpu.mojom
diff --git a/mojo/services/ozone_drm_gpu/public/interfaces/ozone_drm_gpu.mojom b/mojo/services/ozone_drm_gpu/public/interfaces/ozone_drm_gpu.mojom
deleted file mode 100644
index 29fe17383fcb1754fb0f047ad08d266b3b907e03..0000000000000000000000000000000000000000
--- a/mojo/services/ozone_drm_gpu/public/interfaces/ozone_drm_gpu.mojom
+++ /dev/null
@@ -1,54 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-module mojo;
-
-import "geometry/interfaces/geometry.mojom";
-
-enum DisplayType {
- NONE = 0,
- UNKNOWN = 1,
- INTERNAL = 2,
- VGA = 4,
- HDMI = 8,
- DVI = 16,
- DISPLAYPORT = 32,
- NETWORK = 64,
- LAST = NETWORK
-};
-
-struct DisplayMode {
- Size size;
- bool is_interlaced;
- float refresh_rate;
-};
-
-struct DisplaySnapshot {
- // The internal display identifier.
- int64 display_id;
- Point origin;
- Size physical_size;
- DisplayType type;
- bool has_current_mode;
- bool has_native_mode;
- array<DisplayMode> modes;
- // The mode currently active on this display.
- // TODO(cstout): can this be just an index into the modes array?
- DisplayMode current_mode;
- // The display's native mode.
- // TODO(cstout): can this be just an index into the modes array?
- DisplayMode native_mode;
- // The identifier for the model of the display.
- int64 product_id;
- string string_representation;
-};
-
-interface OzoneDrmGpu {
- AddGraphicsDevice(string file_path, int32 file_descriptor);
- CreateWindow(int64 widget);
- WindowBoundsChanged(int64 widget, Rect bounds);
-
- RefreshNativeDisplays();
- ConfigureNativeDisplay(int64 id, DisplayMode mode, Point originhost);
-};
« no previous file with comments | « mojo/services/ozone_drm_gpu/public/interfaces/BUILD.gn ('k') | mojo/services/ozone_drm_host/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698