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

Side by Side Diff: cc/blink/web_layer_impl_fixed_bounds.h

Issue 1539203002: Switch to standard integer types in cc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 5 years 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
« no previous file with comments | « cc/blink/web_layer_impl.cc ('k') | cc/blink/web_scroll_offset_animation_curve_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_BLINK_WEB_LAYER_IMPL_FIXED_BOUNDS_H_ 5 #ifndef CC_BLINK_WEB_LAYER_IMPL_FIXED_BOUNDS_H_
6 #define CC_BLINK_WEB_LAYER_IMPL_FIXED_BOUNDS_H_ 6 #define CC_BLINK_WEB_LAYER_IMPL_FIXED_BOUNDS_H_
7 7
8 #include "base/macros.h"
8 #include "cc/blink/web_layer_impl.h" 9 #include "cc/blink/web_layer_impl.h"
9 #include "ui/gfx/geometry/size.h" 10 #include "ui/gfx/geometry/size.h"
10 #include "ui/gfx/transform.h" 11 #include "ui/gfx/transform.h"
11 12
12 namespace cc_blink { 13 namespace cc_blink {
13 14
14 // A special implementation of WebLayerImpl for layers that its contents 15 // A special implementation of WebLayerImpl for layers that its contents
15 // need to be automatically scaled when the bounds changes. The compositor 16 // need to be automatically scaled when the bounds changes. The compositor
16 // can efficiently handle the bounds change of such layers if the bounds 17 // can efficiently handle the bounds change of such layers if the bounds
17 // is fixed to a given value and the change of bounds are converted to 18 // is fixed to a given value and the change of bounds are converted to
(...skipping 24 matching lines...) Expand all
42 gfx::Size original_bounds_; 43 gfx::Size original_bounds_;
43 gfx::Size fixed_bounds_; 44 gfx::Size fixed_bounds_;
44 45
45 private: 46 private:
46 DISALLOW_COPY_AND_ASSIGN(WebLayerImplFixedBounds); 47 DISALLOW_COPY_AND_ASSIGN(WebLayerImplFixedBounds);
47 }; 48 };
48 49
49 } // namespace cc_blink 50 } // namespace cc_blink
50 51
51 #endif // CC_BLINK_WEB_LAYER_IMPL_FIXED_BOUNDS_H_ 52 #endif // CC_BLINK_WEB_LAYER_IMPL_FIXED_BOUNDS_H_
OLDNEW
« no previous file with comments | « cc/blink/web_layer_impl.cc ('k') | cc/blink/web_scroll_offset_animation_curve_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698