| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |