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

Unified Diff: third_party/WebKit/Source/core/observer/ResizeObserverCallback.idl

Issue 2005593002: Initial ResizeObserver implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Observe content box, not clientWidth Created 4 years, 7 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: third_party/WebKit/Source/core/observer/ResizeObserverCallback.idl
diff --git a/components/arc/common/bitmap.mojom b/third_party/WebKit/Source/core/observer/ResizeObserverCallback.idl
similarity index 56%
copy from components/arc/common/bitmap.mojom
copy to third_party/WebKit/Source/core/observer/ResizeObserverCallback.idl
index 02d96647b6cf7833d42a0a8d7e84f92cfa1e9da4..20c9038aa3e84c8b9c01cfdcf8875a557e322a51 100644
--- a/components/arc/common/bitmap.mojom
+++ b/third_party/WebKit/Source/core/observer/ResizeObserverCallback.idl
@@ -2,10 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-module arc.mojom;
-
-struct ArcBitmap {
- uint32 width;
- uint32 height;
- array<uint8> pixel_data; // Must be ARGB_8888
+callback interface ResizeObserverCallback {
+ void handleEvent(sequence<ResizeObserverEntry> entries, ResizeObserver observer);
};

Powered by Google App Engine
This is Rietveld 408576698