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

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

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