summaryrefslogtreecommitdiffstats
path: root/mojo/services/public/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'mojo/services/public/interfaces')
-rw-r--r--mojo/services/public/interfaces/launcher/launcher.mojom4
-rw-r--r--mojo/services/public/interfaces/navigation/navigation.mojom2
-rw-r--r--mojo/services/public/interfaces/surfaces/quads.mojom4
-rw-r--r--mojo/services/public/interfaces/surfaces/surface_id.mojom2
-rw-r--r--mojo/services/public/interfaces/surfaces/surfaces.mojom10
5 files changed, 11 insertions, 11 deletions
diff --git a/mojo/services/public/interfaces/launcher/launcher.mojom b/mojo/services/public/interfaces/launcher/launcher.mojom
index 174ed85..12e0be1 100644
--- a/mojo/services/public/interfaces/launcher/launcher.mojom
+++ b/mojo/services/public/interfaces/launcher/launcher.mojom
@@ -4,7 +4,7 @@
import "mojo/services/public/interfaces/navigation/navigation.mojom"
-module mojo.launcher {
+module mojo {
interface Launcher {
// Determines the correct handler application that can render a given URL.
@@ -24,7 +24,7 @@ interface Launcher {
// Note: |response| can be NULL in the case where a request was not needed to
// determine the correct handler.
Launch(string url) => (string handler_url, string view_url,
- mojo.navigation.ResponseDetails response);
+ ResponseDetails response);
};
}
diff --git a/mojo/services/public/interfaces/navigation/navigation.mojom b/mojo/services/public/interfaces/navigation/navigation.mojom
index fd51d06..d012308 100644
--- a/mojo/services/public/interfaces/navigation/navigation.mojom
+++ b/mojo/services/public/interfaces/navigation/navigation.mojom
@@ -4,7 +4,7 @@
import "mojo/services/public/interfaces/network/url_loader.mojom"
-module mojo.navigation {
+module mojo {
// Expresses a preference for where a navigation will be performed.
enum Target {
diff --git a/mojo/services/public/interfaces/surfaces/quads.mojom b/mojo/services/public/interfaces/surfaces/quads.mojom
index b6b67a4..6c2eb64 100644
--- a/mojo/services/public/interfaces/surfaces/quads.mojom
+++ b/mojo/services/public/interfaces/surfaces/quads.mojom
@@ -5,7 +5,7 @@
import "mojo/services/public/interfaces/geometry/geometry.mojom"
import "mojo/services/public/interfaces/surfaces/surface_id.mojom"
-module mojo.surfaces {
+module mojo {
struct Color {
uint32 rgba;
@@ -81,7 +81,7 @@ struct Quad {
// Index into the containing pass' shared quad state array which has state
// (transforms etc) shared by multiple quads.
int32 shared_quad_state_index;
-
+
// Only one of the following will be set, depending on the material.
CheckerboardQuadState checkerboard_quad_state;
DebugBorderQuadState debug_border_quad_state;
diff --git a/mojo/services/public/interfaces/surfaces/surface_id.mojom b/mojo/services/public/interfaces/surfaces/surface_id.mojom
index 2722f4e..5a7686d 100644
--- a/mojo/services/public/interfaces/surfaces/surface_id.mojom
+++ b/mojo/services/public/interfaces/surfaces/surface_id.mojom
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-module mojo.surfaces {
+module mojo {
struct SurfaceId {
uint64 id;
diff --git a/mojo/services/public/interfaces/surfaces/surfaces.mojom b/mojo/services/public/interfaces/surfaces/surfaces.mojom
index 29e1efa..1837440 100644
--- a/mojo/services/public/interfaces/surfaces/surfaces.mojom
+++ b/mojo/services/public/interfaces/surfaces/surfaces.mojom
@@ -7,7 +7,7 @@ import "mojo/services/gles2/command_buffer.mojom"
import "mojo/services/public/interfaces/surfaces/quads.mojom"
import "mojo/services/public/interfaces/surfaces/surface_id.mojom"
-module mojo.surfaces {
+module mojo {
enum ResourceFormat {
RGBA_8888,
@@ -32,7 +32,7 @@ struct TransferableResource {
uint32 id;
ResourceFormat format;
uint32 filter;
- mojo.Size size;
+ Size size;
MailboxHolder mailbox_holder;
bool is_repeated;
bool is_software;
@@ -57,13 +57,13 @@ interface SurfaceClient {
[Client=SurfaceClient]
interface Surface {
- CreateSurface(SurfaceId id, mojo.Size size);
+ CreateSurface(SurfaceId id, Size size);
SubmitFrame(SurfaceId id, Frame frame);
DestroySurface(SurfaceId id);
- CreateGLES2BoundSurface(mojo.CommandBuffer gles2_client,
+ CreateGLES2BoundSurface(CommandBuffer gles2_client,
SurfaceId id,
- mojo.Size size);
+ Size size);
};
}