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

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

Issue 15058004: cc: Rename VSync to BeginFrame (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 7 years, 7 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 DO_NOT_SHOW_IME, 208 DO_NOT_SHOW_IME,
209 SHOW_IME_IF_NEEDED 209 SHOW_IME_IF_NEEDED
210 }; 210 };
211 211
212 virtual void InstrumentWillBeginFrame() {} 212 virtual void InstrumentWillBeginFrame() {}
213 virtual void InstrumentDidBeginFrame() {} 213 virtual void InstrumentDidBeginFrame() {}
214 virtual void InstrumentDidCancelFrame() {} 214 virtual void InstrumentDidCancelFrame() {}
215 virtual void InstrumentWillComposite() {} 215 virtual void InstrumentWillComposite() {}
216 216
217 virtual bool AllowPartialSwap() const; 217 virtual bool AllowPartialSwap() const;
218 bool SynchronouslyDisableVSync() const; 218 bool UsingSynchronousRendererCompositor() const;
219 219
220 protected: 220 protected:
221 // Friend RefCounted so that the dtor can be non-public. Using this class 221 // Friend RefCounted so that the dtor can be non-public. Using this class
222 // without ref-counting is an error. 222 // without ref-counting is an error.
223 friend class base::RefCounted<RenderWidget>; 223 friend class base::RefCounted<RenderWidget>;
224 // For unit tests. 224 // For unit tests.
225 friend class RenderWidgetTest; 225 friend class RenderWidgetTest;
226 226
227 enum ResizeAck { 227 enum ResizeAck {
228 SEND_RESIZE_ACK, 228 SEND_RESIZE_ACK,
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
709 bool overscroll_notifications_enabled_; 709 bool overscroll_notifications_enabled_;
710 710
711 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; 711 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_;
712 712
713 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 713 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
714 }; 714 };
715 715
716 } // namespace content 716 } // namespace content
717 717
718 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 718 #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