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

Unified Diff: components/mus/public/interfaces/cc.typemap

Issue 1635613002: [mojo-bindings] Support reuse of native enum classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: do not generate validators for native-only enums Created 4 years, 11 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: components/mus/public/interfaces/cc.typemap
diff --git a/chrome/browser/chromeos/login/ui/login_display_host.cc b/components/mus/public/interfaces/cc.typemap
similarity index 50%
copy from chrome/browser/chromeos/login/ui/login_display_host.cc
copy to components/mus/public/interfaces/cc.typemap
index 11e048fbdfe17dfae293f26a4793318861da64be..d8c834994271a3182352fcc29ae0654f8b3b1633 100644
--- a/chrome/browser/chromeos/login/ui/login_display_host.cc
+++ b/components/mus/public/interfaces/cc.typemap
@@ -2,10 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/chromeos/login/ui/login_display_host.h"
-
-namespace chromeos {
-
-// static
-LoginDisplayHost* LoginDisplayHost::default_host_ = nullptr;
+{
+ "c++": {
+ "mus.mojom.ResourceFormat": {
+ "typename": "cc::ResourceFormat",
+ "headers": [
+ "cc/resources/resource_format.h"
+ ]
+ }
+ }
}

Powered by Google App Engine
This is Rietveld 408576698