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

Side by Side Diff: content/renderer/render_view.cc

Issue 8139020: Turning the threaded compositor into a runtime option. This CL (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « content/renderer/render_view.h ('k') | content/renderer/render_widget.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "content/renderer/render_view.h" 5 #include "content/renderer/render_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cmath> 8 #include <cmath>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 4446 matching lines...) Expand 10 before | Expand all | Expand 10 after
4457 main_frame->enableViewSourceMode(true); 4457 main_frame->enableViewSourceMode(true);
4458 } 4458 }
4459 4459
4460 void RenderView::OnLockMouseACK(bool succeeded) { 4460 void RenderView::OnLockMouseACK(bool succeeded) {
4461 pepper_delegate_.OnLockMouseACK(succeeded); 4461 pepper_delegate_.OnLockMouseACK(succeeded);
4462 } 4462 }
4463 4463
4464 void RenderView::OnMouseLockLost() { 4464 void RenderView::OnMouseLockLost() {
4465 pepper_delegate_.OnMouseLockLost(); 4465 pepper_delegate_.OnMouseLockLost();
4466 } 4466 }
4467
4468 bool RenderView::WebWidgetHandlesCompositorScheduling() const {
4469 return webview()->settings()->useThreadedCompositor();
4470 }
OLDNEW
« no previous file with comments | « content/renderer/render_view.h ('k') | content/renderer/render_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698