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

Unified Diff: mojo/services/keyboard/public/interfaces/keyboard.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/services/keyboard/public/interfaces/BUILD.gn ('k') | mojo/services/location/interfaces/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/keyboard/public/interfaces/keyboard.mojom
diff --git a/mojo/services/keyboard/public/interfaces/keyboard.mojom b/mojo/services/keyboard/public/interfaces/keyboard.mojom
deleted file mode 100644
index f47ecc4379f30a7a7ce8301bdf84a7cb40ada639..0000000000000000000000000000000000000000
--- a/mojo/services/keyboard/public/interfaces/keyboard.mojom
+++ /dev/null
@@ -1,44 +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.
-
-[DartPackage="mojo_services"]
-module keyboard;
-
-struct CompletionData {
- int64 id;
- int32 position;
- string text;
- string label;
-};
-
-struct CorrectionData {
- int32 offset;
- string old_text;
- string new_text;
-};
-
-interface KeyboardClient {
- CommitCompletion(CompletionData completion);
- CommitCorrection(CorrectionData correction);
- CommitText(string text, int32 newCursorPosition);
- DeleteSurroundingText(int32 beforeLength, int32 afterLength);
- SetComposingRegion(int32 start, int32 end);
- SetComposingText(string text, int32 newCursorPosition);
- SetSelection(int32 start, int32 end);
-};
-
-// Loosely modeled on Android InputType:
-// http://developer.android.com/reference/android/text/InputType.html
-enum KeyboardType {
- TEXT,
- NUMBER,
- PHONE,
- DATETIME,
-};
-
-interface KeyboardService {
- Show(KeyboardClient client, KeyboardType type);
- ShowByRequest();
- Hide();
-};
« no previous file with comments | « mojo/services/keyboard/public/interfaces/BUILD.gn ('k') | mojo/services/location/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698