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

Unified Diff: android_webview/browser/compositor_id.h

Issue 2036023002: Rewire Android WebView's compositor changed signal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use web_contents_ Created 4 years, 6 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 | « android_webview/browser/compositor_frame_consumer.h ('k') | android_webview/browser/compositor_id.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/compositor_id.h
diff --git a/android_webview/browser/compositor_id.h b/android_webview/browser/compositor_id.h
new file mode 100644
index 0000000000000000000000000000000000000000..0afe3d78738567f359c4662cd70915f885d888a7
--- /dev/null
+++ b/android_webview/browser/compositor_id.h
@@ -0,0 +1,27 @@
+// Copyright 2016 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.
+
+#ifndef ANDROID_WEBVIEW_BROWSER_COMPOSITOR_ID_H_
+#define ANDROID_WEBVIEW_BROWSER_COMPOSITOR_ID_H_
+
+namespace android_webview {
+
+struct CompositorID {
+ CompositorID();
+ CompositorID(int process_id, int routing_id);
+ CompositorID(const CompositorID& other);
+ CompositorID& operator=(const CompositorID& other);
+ bool Equals(const CompositorID& other) const;
+
+ int process_id;
+ int routing_id;
+};
+
+struct CompositorIDComparator {
+ bool operator()(const CompositorID& a, const CompositorID& b) const;
+};
+
+} // namespace android_webview
+
+#endif // ANDROID_WEBVIEW_BROWSER_COMPOSITOR_ID_H_
« no previous file with comments | « android_webview/browser/compositor_frame_consumer.h ('k') | android_webview/browser/compositor_id.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698