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

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

Issue 12463007: Disable partial swaps for webview guest renderer until we can figure out how to do that properly. (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
« no previous file with comments | « content/renderer/render_view_impl_params.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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 enum ShowIme { 201 enum ShowIme {
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;
212
211 protected: 213 protected:
212 // Friend RefCounted so that the dtor can be non-public. Using this class 214 // Friend RefCounted so that the dtor can be non-public. Using this class
213 // without ref-counting is an error. 215 // without ref-counting is an error.
214 friend class base::RefCounted<RenderWidget>; 216 friend class base::RefCounted<RenderWidget>;
215 // For unit tests. 217 // For unit tests.
216 friend class RenderWidgetTest; 218 friend class RenderWidgetTest;
217 219
218 enum ResizeAck { 220 enum ResizeAck {
219 SEND_RESIZE_ACK, 221 SEND_RESIZE_ACK,
220 NO_RESIZE_ACK, 222 NO_RESIZE_ACK,
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 666
665 // Specified whether the compositor will run in its own thread. 667 // Specified whether the compositor will run in its own thread.
666 bool is_threaded_compositing_enabled_; 668 bool is_threaded_compositing_enabled_;
667 669
668 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 670 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
669 }; 671 };
670 672
671 } // namespace content 673 } // namespace content
672 674
673 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 675 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl_params.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698