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

Side by Side Diff: content/renderer/render_widget.cc

Issue 2068413002: cc: Remove fixed raster scale, stop rasterizing with will-change. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile fix 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/renderer/render_widget.h" 5 #include "content/renderer/render_widget.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/auto_reset.h" 10 #include "base/auto_reset.h"
(...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after
814 // The UpdateTextInputState can result in further layout and possibly 814 // The UpdateTextInputState can result in further layout and possibly
815 // enable GPU acceleration so they need to be called before any painting 815 // enable GPU acceleration so they need to be called before any painting
816 // is done. 816 // is done.
817 UpdateTextInputState(ShowIme::HIDE_IME, ChangeSource::FROM_NON_IME); 817 UpdateTextInputState(ShowIme::HIDE_IME, ChangeSource::FROM_NON_IME);
818 UpdateSelectionBounds(); 818 UpdateSelectionBounds();
819 819
820 FOR_EACH_OBSERVER(RenderFrameProxy, render_frame_proxies_, 820 FOR_EACH_OBSERVER(RenderFrameProxy, render_frame_proxies_,
821 WillBeginCompositorFrame()); 821 WillBeginCompositorFrame());
822 } 822 }
823 823
824 void RenderWidget::ReportFixedRasterScaleUseCounters(
825 bool has_blurry_content,
826 bool has_potential_performance_regression) {
827 webwidget_->reportFixedRasterScaleUseCounters(
828 has_blurry_content, has_potential_performance_regression);
829 }
830
831 /////////////////////////////////////////////////////////////////////////////// 824 ///////////////////////////////////////////////////////////////////////////////
832 // RenderWidgetInputHandlerDelegate 825 // RenderWidgetInputHandlerDelegate
833 826
834 void RenderWidget::FocusChangeComplete() { 827 void RenderWidget::FocusChangeComplete() {
835 if (owner_delegate_) 828 if (owner_delegate_)
836 owner_delegate_->RenderWidgetFocusChangeComplete(); 829 owner_delegate_->RenderWidgetFocusChangeComplete();
837 } 830 }
838 831
839 bool RenderWidget::HasTouchEventHandlersAt(const gfx::Point& point) const { 832 bool RenderWidget::HasTouchEventHandlersAt(const gfx::Point& point) const {
840 if (owner_delegate_) 833 if (owner_delegate_)
(...skipping 1149 matching lines...) Expand 10 before | Expand all | Expand 10 after
1990 void RenderWidget::requestPointerUnlock() { 1983 void RenderWidget::requestPointerUnlock() {
1991 mouse_lock_dispatcher_->UnlockMouse(webwidget_mouse_lock_target_.get()); 1984 mouse_lock_dispatcher_->UnlockMouse(webwidget_mouse_lock_target_.get());
1992 } 1985 }
1993 1986
1994 bool RenderWidget::isPointerLocked() { 1987 bool RenderWidget::isPointerLocked() {
1995 return mouse_lock_dispatcher_->IsMouseLockedTo( 1988 return mouse_lock_dispatcher_->IsMouseLockedTo(
1996 webwidget_mouse_lock_target_.get()); 1989 webwidget_mouse_lock_target_.get());
1997 } 1990 }
1998 1991
1999 } // namespace content 1992 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_widget.h ('k') | third_party/WebKit/LayoutTests/compositing/fixed-raster-scale-use-counts.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698