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

Side by Side Diff: cc/blink/web_layer_impl.cc

Issue 2770293003: Feed ScrollableArea::showOverlayScrollbars into ScrollbarAnimationController. (Closed)
Patch Set: rebase Created 3 years, 8 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
« no previous file with comments | « cc/blink/web_layer_impl.h ('k') | cc/input/scrollbar_animation_controller.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 #include "cc/blink/web_layer_impl.h" 5 #include "cc/blink/web_layer_impl.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <utility> 10 #include <utility>
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 } 476 }
477 477
478 void WebLayerImpl::SetContentsOpaqueIsFixed(bool fixed) { 478 void WebLayerImpl::SetContentsOpaqueIsFixed(bool fixed) {
479 contents_opaque_is_fixed_ = fixed; 479 contents_opaque_is_fixed_ = fixed;
480 } 480 }
481 481
482 void WebLayerImpl::setHasWillChangeTransformHint(bool has_will_change) { 482 void WebLayerImpl::setHasWillChangeTransformHint(bool has_will_change) {
483 layer_->SetHasWillChangeTransformHint(has_will_change); 483 layer_->SetHasWillChangeTransformHint(has_will_change);
484 } 484 }
485 485
486 void WebLayerImpl::showScrollbars() {
487 layer_->ShowScrollbars();
488 }
489
486 } // namespace cc_blink 490 } // namespace cc_blink
OLDNEW
« no previous file with comments | « cc/blink/web_layer_impl.h ('k') | cc/input/scrollbar_animation_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698