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

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

Issue 12804006: cc: Save correct frame begin time to FrameRateCounter (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase to 188402 Created 7 years, 9 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 | « content/renderer/gpu/render_widget_compositor.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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 void PaintDebugBorder(const gfx::Rect& rect, SkCanvas* canvas); 261 void PaintDebugBorder(const gfx::Rect& rect, SkCanvas* canvas);
262 262
263 bool IsRenderingVSynced(); 263 bool IsRenderingVSynced();
264 void AnimationCallback(); 264 void AnimationCallback();
265 void AnimateIfNeeded(); 265 void AnimateIfNeeded();
266 void InvalidationCallback(); 266 void InvalidationCallback();
267 void DoDeferredUpdateAndSendInputAck(); 267 void DoDeferredUpdateAndSendInputAck();
268 void DoDeferredUpdate(); 268 void DoDeferredUpdate();
269 void DoDeferredClose(); 269 void DoDeferredClose();
270 void DoDeferredSetWindowRect(const WebKit::WebRect& pos); 270 void DoDeferredSetWindowRect(const WebKit::WebRect& pos);
271 virtual void Composite(); 271 virtual void Composite(base::TimeTicks frame_begin_time);
272 272
273 // Set the background of the render widget to a bitmap. The bitmap will be 273 // Set the background of the render widget to a bitmap. The bitmap will be
274 // tiled in both directions if it isn't big enough to fill the area. This is 274 // tiled in both directions if it isn't big enough to fill the area. This is
275 // mainly intended to be used in conjuction with WebView::SetIsTransparent(). 275 // mainly intended to be used in conjuction with WebView::SetIsTransparent().
276 virtual void SetBackground(const SkBitmap& bitmap); 276 virtual void SetBackground(const SkBitmap& bitmap);
277 277
278 // Resizes the render widget. 278 // Resizes the render widget.
279 void Resize(const gfx::Size& new_size, 279 void Resize(const gfx::Size& new_size,
280 const gfx::Size& physical_backing_size, 280 const gfx::Size& physical_backing_size,
281 const gfx::Rect& resizer_rect, 281 const gfx::Rect& resizer_rect,
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 bool is_threaded_compositing_enabled_; 687 bool is_threaded_compositing_enabled_;
688 688
689 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; 689 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_;
690 690
691 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 691 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
692 }; 692 };
693 693
694 } // namespace content 694 } // namespace content
695 695
696 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 696 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698