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

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: Fix Android 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
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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 DO_NOT_SHOW_IME, 202 DO_NOT_SHOW_IME,
203 SHOW_IME_IF_NEEDED 203 SHOW_IME_IF_NEEDED
204 }; 204 };
205 205
206 virtual void InstrumentWillBeginFrame() {} 206 virtual void InstrumentWillBeginFrame() {}
207 virtual void InstrumentDidBeginFrame() {} 207 virtual void InstrumentDidBeginFrame() {}
208 virtual void InstrumentDidCancelFrame() {} 208 virtual void InstrumentDidCancelFrame() {}
209 virtual void InstrumentWillComposite() {} 209 virtual void InstrumentWillComposite() {}
210 210
211 virtual bool AllowPartialSwap() const; 211 virtual bool AllowPartialSwap() const;
212 bool SynchronouslyDisableVSync() const; 212 bool UsingSynchronousRendererCompositor() const;
213 213
214 protected: 214 protected:
215 // Friend RefCounted so that the dtor can be non-public. Using this class 215 // Friend RefCounted so that the dtor can be non-public. Using this class
216 // without ref-counting is an error. 216 // without ref-counting is an error.
217 friend class base::RefCounted<RenderWidget>; 217 friend class base::RefCounted<RenderWidget>;
218 // For unit tests. 218 // For unit tests.
219 friend class RenderWidgetTest; 219 friend class RenderWidgetTest;
220 220
221 enum ResizeAck { 221 enum ResizeAck {
222 SEND_RESIZE_ACK, 222 SEND_RESIZE_ACK,
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 bool is_threaded_compositing_enabled_; 694 bool is_threaded_compositing_enabled_;
695 695
696 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; 696 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_;
697 697
698 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 698 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
699 }; 699 };
700 700
701 } // namespace content 701 } // namespace content
702 702
703 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 703 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698