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

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: 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
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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
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; 217 bool UsingSynchronousRendererCompositor() const;
218 bool CompositorRecordsDocument() const;
218 219
219 // ScreenMetricsEmulator class manages screen emulation inside a render 220 // ScreenMetricsEmulator class manages screen emulation inside a render
220 // widget. This includes resizing, placing view on the screen at desired 221 // widget. This includes resizing, placing view on the screen at desired
221 // position, changing device scale factor, and scaling down the whole 222 // position, changing device scale factor, and scaling down the whole
222 // widget if required to fit into the browser window. 223 // widget if required to fit into the browser window.
223 class ScreenMetricsEmulator; 224 class ScreenMetricsEmulator;
224 225
225 // Emulates screen and widget metrics. Supplied values override everything 226 // Emulates screen and widget metrics. Supplied values override everything
226 // coming from host. 227 // coming from host.
227 void EnableScreenMetricsEmulation( 228 void EnableScreenMetricsEmulation(
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 709
709 ui::MenuSourceType context_menu_source_type_; 710 ui::MenuSourceType context_menu_source_type_;
710 gfx::Point touch_editing_context_menu_location_; 711 gfx::Point touch_editing_context_menu_location_;
711 712
712 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 713 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
713 }; 714 };
714 715
715 } // namespace content 716 } // namespace content
716 717
717 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 718 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698