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

Side by Side 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: review 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ANDROID_WEBVIEW_BROWSER_COMPOSITOR_ID_H_
6 #define ANDROID_WEBVIEW_BROWSER_COMPOSITOR_ID_H_
7
8 namespace android_webview {
9
10 struct CompositorID {
11 CompositorID();
12 CompositorID(int process_id, int routing_id);
13 CompositorID(const CompositorID& other);
14
15 bool operator==(const CompositorID& other) const;
boliu 2016/06/10 15:40:33 for binary operators, I think general preference i
hush (inactive) 2016/06/10 23:28:44 Done.
16 bool operator!=(const CompositorID& other) const;
17 bool operator<(const CompositorID& other) const;
18 bool operator>(const CompositorID& other) const;
19
20 int process_id;
21 int routing_id;
22 };
23
24 } // namespace android_webview
25
26 #endif // ANDROID_WEBVIEW_BROWSER_COMPOSITOR_ID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698