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

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

Issue 1485823005: Remove the record_full_layer layer tree setting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « content/renderer/render_widget.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 2134 matching lines...) Expand 10 before | Expand all | Expand 10 after
2145 return true; 2145 return true;
2146 if (bounds.size() != composition_character_bounds_.size()) 2146 if (bounds.size() != composition_character_bounds_.size())
2147 return true; 2147 return true;
2148 for (size_t i = 0; i < bounds.size(); ++i) { 2148 for (size_t i = 0; i < bounds.size(); ++i) {
2149 if (bounds[i] != composition_character_bounds_[i]) 2149 if (bounds[i] != composition_character_bounds_[i])
2150 return true; 2150 return true;
2151 } 2151 }
2152 return false; 2152 return false;
2153 } 2153 }
2154 2154
2155 #if defined(OS_ANDROID)
2156 bool RenderWidget::DoesRecordFullLayer() const {
enne (OOO) 2015/12/01 22:40:33 Is this not used anywhere in Android?
chrishtr 2015/12/01 22:52:17 Not 100% sure. Alex?
2157 return false;
2158 }
2159 #endif
2160
2161 bool RenderWidget::CanComposeInline() { 2155 bool RenderWidget::CanComposeInline() {
2162 return true; 2156 return true;
2163 } 2157 }
2164 2158
2165 WebScreenInfo RenderWidget::screenInfo() { 2159 WebScreenInfo RenderWidget::screenInfo() {
2166 return screen_info_; 2160 return screen_info_;
2167 } 2161 }
2168 2162
2169 void RenderWidget::resetInputMethod() { 2163 void RenderWidget::resetInputMethod() {
2170 ImeEventGuard guard(this); 2164 ImeEventGuard guard(this);
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
2451 void RenderWidget::RegisterVideoHoleFrame(RenderFrameImpl* frame) { 2445 void RenderWidget::RegisterVideoHoleFrame(RenderFrameImpl* frame) {
2452 video_hole_frames_.AddObserver(frame); 2446 video_hole_frames_.AddObserver(frame);
2453 } 2447 }
2454 2448
2455 void RenderWidget::UnregisterVideoHoleFrame(RenderFrameImpl* frame) { 2449 void RenderWidget::UnregisterVideoHoleFrame(RenderFrameImpl* frame) {
2456 video_hole_frames_.RemoveObserver(frame); 2450 video_hole_frames_.RemoveObserver(frame);
2457 } 2451 }
2458 #endif // defined(VIDEO_HOLE) 2452 #endif // defined(VIDEO_HOLE)
2459 2453
2460 } // namespace content 2454 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_widget.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698