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

Unified Diff: components/view_manager/public/interfaces/view_tree_host.mojom

Issue 1344573002: Mandoline: Rename components/view_manager to components/mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 3 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 | « components/view_manager/public/interfaces/view_tree.mojom ('k') | components/view_manager/server_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/view_manager/public/interfaces/view_tree_host.mojom
diff --git a/components/view_manager/public/interfaces/view_tree_host.mojom b/components/view_manager/public/interfaces/view_tree_host.mojom
deleted file mode 100644
index 8516522533fbf7d56e752d000f87575c3358d83a..0000000000000000000000000000000000000000
--- a/components/view_manager/public/interfaces/view_tree_host.mojom
+++ /dev/null
@@ -1,41 +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 "components/view_manager/public/interfaces/view_tree.mojom";
-import "ui/mojo/events/input_event_constants.mojom";
-import "ui/mojo/events/input_events.mojom";
-import "ui/mojo/events/input_key_codes.mojom";
-import "ui/mojo/geometry/geometry.mojom";
-
-// ViewTreeHost encapsulates a unique underlying platform window, with a tree
-// of views.
-interface ViewTreeHost {
- // Sets the size of the platform window.
- SetSize(mojo.Size size);
-
- // Sets a title string to be displayed on the platform window.
- SetTitle(string title);
-
- // Add and remove accelerators. When accelerators are registered the
- // ViewTreeHostClient receives the key event via OnAccelerator() rather than
- // the focused view. The id is defined by the client and can be used to more
- // easily identify the accelerator's action.
- AddAccelerator(uint32 id,
- mojo.KeyboardCode keyboard_code,
- mojo.EventFlags flags);
- RemoveAccelerator(uint32 id);
-};
-
-interface ViewTreeHostClient {
- // An accelerator registered via AddAccelerator() has been triggered.
- OnAccelerator(uint32 id, mojo.Event event);
-};
-
-interface ViewTreeHostFactory {
- CreateViewTreeHost(ViewTreeHost& view_tree_host,
- ViewTreeHostClient? host_client,
- ViewTreeClient tree_client);
-};
« no previous file with comments | « components/view_manager/public/interfaces/view_tree.mojom ('k') | components/view_manager/server_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698