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

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

Issue 54493003: Propagate source_frame_number from LTH to DevTools (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed android build Created 7 years, 1 month 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_view_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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 virtual void DidCommitCompositorFrame(); 205 virtual void DidCommitCompositorFrame();
206 206
207 float filtered_time_per_frame() const { 207 float filtered_time_per_frame() const {
208 return filtered_time_per_frame_; 208 return filtered_time_per_frame_;
209 } 209 }
210 210
211 // Handle common setup/teardown for handling IME events. 211 // Handle common setup/teardown for handling IME events.
212 void StartHandlingImeEvent(); 212 void StartHandlingImeEvent();
213 void FinishHandlingImeEvent(); 213 void FinishHandlingImeEvent();
214 214
215 virtual void InstrumentWillBeginFrame() {} 215 virtual void InstrumentWillBeginFrame(int frame_id) {}
216 virtual void InstrumentDidBeginFrame() {} 216 virtual void InstrumentDidBeginFrame() {}
217 virtual void InstrumentDidCancelFrame() {} 217 virtual void InstrumentDidCancelFrame() {}
218 virtual void InstrumentWillComposite() {} 218 virtual void InstrumentWillComposite() {}
219 219
220 virtual bool AllowPartialSwap() const; 220 virtual bool AllowPartialSwap() const;
221 bool UsingSynchronousRendererCompositor() const; 221 bool UsingSynchronousRendererCompositor() const;
222 222
223 bool is_swapped_out() { return is_swapped_out_; } 223 bool is_swapped_out() { return is_swapped_out_; }
224 224
225 // ScreenMetricsEmulator class manages screen emulation inside a render 225 // ScreenMetricsEmulator class manages screen emulation inside a render
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 float popup_origin_scale_for_emulation_; 789 float popup_origin_scale_for_emulation_;
790 790
791 scoped_ptr<ResizingModeSelector> resizing_mode_selector_; 791 scoped_ptr<ResizingModeSelector> resizing_mode_selector_;
792 792
793 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 793 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
794 }; 794 };
795 795
796 } // namespace content 796 } // namespace content
797 797
798 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 798 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698