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

Unified Diff: components/arc/common/bitmap.mojom

Issue 1883473002: arc: Support more types of notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build failure Created 4 years, 8 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/arc/common/bitmap.mojom
diff --git a/chrome/test/data/extensions/api_test/service_worker/background/post_message_to_sw.js b/components/arc/common/bitmap.mojom
similarity index 60%
copy from chrome/test/data/extensions/api_test/service_worker/background/post_message_to_sw.js
copy to components/arc/common/bitmap.mojom
index be9ae08c6fd493a13f15b480a483529f122d1872..228e995efe274fe8c89f9dae54351aaf92422ac2 100644
--- a/chrome/test/data/extensions/api_test/service_worker/background/post_message_to_sw.js
+++ b/components/arc/common/bitmap.mojom
@@ -2,8 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-'use strict';
+module arc;
-self.onmessage = function(e) {
- e.data.port.postMessage(e.data.message);
+struct ArcBitmap {
+ uint32 width;
+ uint32 height;
+ array<uint8> pixel_data; // Must be ARGB_8888
};

Powered by Google App Engine
This is Rietveld 408576698