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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_base.cc

Issue 1934753002: NOT FOR COMMIT: sample CL to debug white flashes. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | third_party/WebKit/Source/core/paint/ViewPainter.cpp » ('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 (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/browser/renderer_host/render_widget_host_view_base.h" 5 #include "content/browser/renderer_host/render_widget_host_view_base.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "content/browser/accessibility/browser_accessibility_manager.h" 9 #include "content/browser/accessibility/browser_accessibility_manager.h"
10 #include "content/browser/gpu/gpu_data_manager_impl.h" 10 #include "content/browser/gpu/gpu_data_manager_impl.h"
(...skipping 14 matching lines...) Expand all
25 25
26 namespace { 26 namespace {
27 27
28 // How many microseconds apart input events should be flushed. 28 // How many microseconds apart input events should be flushed.
29 const int kFlushInputRateInUs = 16666; 29 const int kFlushInputRateInUs = 16666;
30 30
31 } 31 }
32 32
33 RenderWidgetHostViewBase::RenderWidgetHostViewBase() 33 RenderWidgetHostViewBase::RenderWidgetHostViewBase()
34 : popup_type_(blink::WebPopupTypeNone), 34 : popup_type_(blink::WebPopupTypeNone),
35 background_color_(SK_ColorWHITE), 35 background_color_(SK_ColorBLACK),
36 mouse_locked_(false), 36 mouse_locked_(false),
37 showing_context_menu_(false), 37 showing_context_menu_(false),
38 selection_text_offset_(0), 38 selection_text_offset_(0),
39 selection_range_(gfx::Range::InvalidRange()), 39 selection_range_(gfx::Range::InvalidRange()),
40 current_device_scale_factor_(0), 40 current_device_scale_factor_(0),
41 current_display_rotation_(display::Display::ROTATE_0), 41 current_display_rotation_(display::Display::ROTATE_0),
42 pinch_zoom_enabled_(content::IsPinchToZoomEnabled()), 42 pinch_zoom_enabled_(content::IsPinchToZoomEnabled()),
43 renderer_frame_number_(0), 43 renderer_frame_number_(0),
44 weak_factory_(this) {} 44 weak_factory_(this) {}
45 45
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 394
395 bool RenderWidgetHostViewBase::IsChildFrameForTesting() const { 395 bool RenderWidgetHostViewBase::IsChildFrameForTesting() const {
396 return false; 396 return false;
397 } 397 }
398 398
399 cc::SurfaceId RenderWidgetHostViewBase::SurfaceIdForTesting() const { 399 cc::SurfaceId RenderWidgetHostViewBase::SurfaceIdForTesting() const {
400 return cc::SurfaceId(); 400 return cc::SurfaceId();
401 } 401 }
402 402
403 } // namespace content 403 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/ViewPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698