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

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: 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
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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 void PaintDebugBorder(const gfx::Rect& rect, SkCanvas* canvas); 258 void PaintDebugBorder(const gfx::Rect& rect, SkCanvas* canvas);
259 259
260 bool IsRenderingVSynced(); 260 bool IsRenderingVSynced();
261 void AnimationCallback(); 261 void AnimationCallback();
262 void AnimateIfNeeded(); 262 void AnimateIfNeeded();
263 void InvalidationCallback(); 263 void InvalidationCallback();
264 void DoDeferredUpdateAndSendInputAck(); 264 void DoDeferredUpdateAndSendInputAck();
265 void DoDeferredUpdate(); 265 void DoDeferredUpdate();
266 void DoDeferredClose(); 266 void DoDeferredClose();
267 void DoDeferredSetWindowRect(const WebKit::WebRect& pos); 267 void DoDeferredSetWindowRect(const WebKit::WebRect& pos);
268 virtual void Composite(); 268 virtual void Composite(base::TimeTicks frame_begin_time);
269 269
270 // Set the background of the render widget to a bitmap. The bitmap will be 270 // Set the background of the render widget to a bitmap. The bitmap will be
271 // tiled in both directions if it isn't big enough to fill the area. This is 271 // tiled in both directions if it isn't big enough to fill the area. This is
272 // mainly intended to be used in conjuction with WebView::SetIsTransparent(). 272 // mainly intended to be used in conjuction with WebView::SetIsTransparent().
273 virtual void SetBackground(const SkBitmap& bitmap); 273 virtual void SetBackground(const SkBitmap& bitmap);
274 274
275 // Resizes the render widget. 275 // Resizes the render widget.
276 void Resize(const gfx::Size& new_size, 276 void Resize(const gfx::Size& new_size,
277 const gfx::Size& physical_backing_size, 277 const gfx::Size& physical_backing_size,
278 const gfx::Rect& resizer_rect, 278 const gfx::Rect& resizer_rect,
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 675
676 // Specified whether the compositor will run in its own thread. 676 // Specified whether the compositor will run in its own thread.
677 bool is_threaded_compositing_enabled_; 677 bool is_threaded_compositing_enabled_;
678 678
679 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 679 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
680 }; 680 };
681 681
682 } // namespace content 682 } // namespace content
683 683
684 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 684 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698