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

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

Issue 389973005: Merge 280970 "Add switch to disable recording whole document" (Closed) Base URL: svn://svn.chromium.org/chrome/branches/2062/src/
Patch Set: Created 6 years, 5 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 | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_widget.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 (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 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 10
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 206
207 // When paused in debugger, we send ack for mouse event early. This ensures 207 // When paused in debugger, we send ack for mouse event early. This ensures
208 // that we continue receiving mouse moves and pass them to debugger. Returns 208 // that we continue receiving mouse moves and pass them to debugger. Returns
209 // whether we are paused in mouse move event and have sent the ack. 209 // whether we are paused in mouse move event and have sent the ack.
210 bool SendAckForMouseMoveFromDebugger(); 210 bool SendAckForMouseMoveFromDebugger();
211 211
212 // When resumed from pause in debugger while handling mouse move, 212 // When resumed from pause in debugger while handling mouse move,
213 // we should not send an extra ack (see SendAckForMouseMoveFromDebugger). 213 // we should not send an extra ack (see SendAckForMouseMoveFromDebugger).
214 void IgnoreAckForMouseMoveFromDebugger(); 214 void IgnoreAckForMouseMoveFromDebugger();
215 215
216 bool UsingSynchronousRendererCompositor() const;
217
218 // ScreenMetricsEmulator class manages screen emulation inside a render 216 // ScreenMetricsEmulator class manages screen emulation inside a render
219 // widget. This includes resizing, placing view on the screen at desired 217 // widget. This includes resizing, placing view on the screen at desired
220 // position, changing device scale factor, and scaling down the whole 218 // position, changing device scale factor, and scaling down the whole
221 // widget if required to fit into the browser window. 219 // widget if required to fit into the browser window.
222 class ScreenMetricsEmulator; 220 class ScreenMetricsEmulator;
223 221
224 // Emulates screen and widget metrics. Supplied values override everything 222 // Emulates screen and widget metrics. Supplied values override everything
225 // coming from host. 223 // coming from host.
226 void EnableScreenMetricsEmulation( 224 void EnableScreenMetricsEmulation(
227 const blink::WebDeviceEmulationParams& params); 225 const blink::WebDeviceEmulationParams& params);
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
707 705
708 ui::MenuSourceType context_menu_source_type_; 706 ui::MenuSourceType context_menu_source_type_;
709 gfx::Point touch_editing_context_menu_location_; 707 gfx::Point touch_editing_context_menu_location_;
710 708
711 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 709 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
712 }; 710 };
713 711
714 } // namespace content 712 } // namespace content
715 713
716 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 714 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698