Side by Side Diff
Use n/p to move between diff chunks; N/P to move between comments.
Draft comments are only viewable by you.
Keyboard Shortcuts
File
u
:
up to issue
j
/
k
:
jump to file after / before current file
J
/
K
:
jump to next file with a comment after / before current file
Side-by-side diff
i
:
toggle intra-line diffs
e
:
expand all comments
c
:
collapse all comments
s
:
toggle showing all comments
n
/
p
:
next / previous diff chunk or comment
N
/
P
:
next / previous comment
<Up>
/
<Down>
:
next / previous line
Issue
u
:
up to list of issues
j
/
k
:
jump to patch after / before current patch
o
/
<Enter>
:
open current patch in side-by-side view
i
:
open current patch in unified diff view
Issue List
j
/
k
:
jump to issue after / before current issue
o
/
<Enter>
:
open current issue
Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr)
|
Please choose your nickname with
Settings
|
Help
|
Chromium Project
|
Gerrit Changes
|
Sign out
(26)
Issues
Search
My Issues
|
Starred
Open
|
Closed
|
All
Side by Side Diff: cc/surfaces/surface_id.h
Issue
331533002
:
Use a struct for cc::Surface ids for more type safety (Closed)
Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set:
Created 6 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.
Context:
3 lines
10 lines
25 lines
50 lines
75 lines
100 lines
Whole file
Column Width:
Tab Spaces:
Jump to:
cc/DEPS
cc/cc.gyp
cc/layers/surface_layer.h
cc/layers/surface_layer.cc
cc/layers/surface_layer_impl.h
cc/layers/surface_layer_impl.cc
cc/layers/surface_layer_impl_unittest.cc
cc/quads/draw_quad_unittest.cc
cc/quads/surface_draw_quad.h
cc/quads/surface_draw_quad.cc
cc/surfaces/display.h
cc/surfaces/display.cc
cc/surfaces/surface.h
cc/surfaces/surface.cc
cc/surfaces/surface_aggregator.h
cc/surfaces/surface_aggregator.cc
cc/surfaces/surface_aggregator_test_helpers.h
cc/surfaces/surface_aggregator_test_helpers.cc
cc/surfaces/surface_aggregator_unittest.cc
cc/surfaces/surface_id.h
cc/surfaces/surface_manager.h
cc/surfaces/surface_manager.cc
cc/surfaces/surface_unittest.cc
content/browser/compositor/surface_display_output_surface.cc
content/common/cc_messages.h
content/common/cc_messages_unittest.cc
View unified diff
|
Download patch
|
Annotate
|
Revision Log
« cc/layers/surface_layer_impl_unittest.cc
('K') |
« cc/surfaces/surface_aggregator_unittest.cc
('k') |
cc/surfaces/surface_manager.h »
('j') |
no next file with comments »
Toggle Intra-line Diffs
('i') |
Expand Comments
('e') |
Collapse Comments
('c') |
Show Comments
Hide Comments
('s')
OLD
NEW
(Empty)
1
// Copyright 2014 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 CC_SURFACES_SURFACE_ID_H_
6
#define CC_SURFACES_SURFACE_ID_H_
7
8
namespace cc {
9
10
struct SurfaceId {
11
SurfaceId() : id(0) {}
12
13
int id;
14
};
15
16
inline bool operator==(const SurfaceId& a, const SurfaceId& b) {
17
return a.id == b.id;
18
}
19
20
inline bool operator!=(const SurfaceId& a, const SurfaceId& b) {
21
return !(a == b);
22
}
23
24
} // namespace cc
25
26
#endif // CC_SURFACES_SURFACE_ID_H_
OLD
NEW
« cc/layers/surface_layer_impl_unittest.cc
('K') |
« cc/surfaces/surface_aggregator_unittest.cc
('k') |
cc/surfaces/surface_manager.h »
('j') |
no next file with comments »
Issue 331533002: Use a struct for cc::Surface ids for more type safety (Closed)
Created 6 years, 6 months ago by jamesr
Modified 6 years, 6 months ago
Reviewers: piman, jschuh
Base URL: svn://svn.chromium.org/chrome/trunk/src
Comments: 3
This is Rietveld
408576698