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

Side by Side Diff: cc/layers/layer_impl.h

Issue 189433003: Remove --background-color-instead-of-checkerboard flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: backgroundcolorinsteadofcheckerboard: Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « cc/layers/layer.h ('k') | cc/layers/layer_impl.cc » ('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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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_LAYERS_LAYER_IMPL_H_ 5 #ifndef CC_LAYERS_LAYER_IMPL_H_
6 #define CC_LAYERS_LAYER_IMPL_H_ 6 #define CC_LAYERS_LAYER_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 void SetTouchEventHandlerRegion(const Region& region) { 418 void SetTouchEventHandlerRegion(const Region& region) {
419 touch_event_handler_region_ = region; 419 touch_event_handler_region_ = region;
420 } 420 }
421 const Region& touch_event_handler_region() const { 421 const Region& touch_event_handler_region() const {
422 return touch_event_handler_region_; 422 return touch_event_handler_region_;
423 } 423 }
424 424
425 void SetDrawCheckerboardForMissingTiles(bool checkerboard) { 425 void SetDrawCheckerboardForMissingTiles(bool checkerboard) {
426 draw_checkerboard_for_missing_tiles_ = checkerboard; 426 draw_checkerboard_for_missing_tiles_ = checkerboard;
427 } 427 }
428 bool DrawCheckerboardForMissingTiles() const; 428 bool draw_checkerboard_for_missing_tiles() const {
429 return draw_checkerboard_for_missing_tiles_;
430 }
429 431
430 InputHandler::ScrollStatus TryScroll( 432 InputHandler::ScrollStatus TryScroll(
431 const gfx::PointF& screen_space_point, 433 const gfx::PointF& screen_space_point,
432 InputHandler::ScrollInputType type) const; 434 InputHandler::ScrollInputType type) const;
433 435
434 void SetDoubleSided(bool double_sided); 436 void SetDoubleSided(bool double_sided);
435 bool double_sided() const { return double_sided_; } 437 bool double_sided() const { return double_sided_; }
436 438
437 void SetTransform(const gfx::Transform& transform); 439 void SetTransform(const gfx::Transform& transform);
438 const gfx::Transform& transform() const { return transform_; } 440 const gfx::Transform& transform() const { return transform_; }
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 DrawProperties<LayerImpl> draw_properties_; 662 DrawProperties<LayerImpl> draw_properties_;
661 663
662 scoped_refptr<base::debug::ConvertableToTraceFormat> debug_info_; 664 scoped_refptr<base::debug::ConvertableToTraceFormat> debug_info_;
663 665
664 DISALLOW_COPY_AND_ASSIGN(LayerImpl); 666 DISALLOW_COPY_AND_ASSIGN(LayerImpl);
665 }; 667 };
666 668
667 } // namespace cc 669 } // namespace cc
668 670
669 #endif // CC_LAYERS_LAYER_IMPL_H_ 671 #endif // CC_LAYERS_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layers/layer.h ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698