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_impl.h" | 5 #include "content/renderer/render_view_impl.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 14 matching lines...) Expand all Loading... |
25 #include "base/time.h" | 25 #include "base/time.h" |
26 #include "base/utf_string_conversions.h" | 26 #include "base/utf_string_conversions.h" |
27 #include "content/common/appcache/appcache_dispatcher.h" | 27 #include "content/common/appcache/appcache_dispatcher.h" |
28 #include "content/common/clipboard_messages.h" | 28 #include "content/common/clipboard_messages.h" |
29 #include "content/common/content_constants.h" | 29 #include "content/common/content_constants.h" |
30 #include "content/common/database_messages.h" | 30 #include "content/common/database_messages.h" |
31 #include "content/common/drag_messages.h" | 31 #include "content/common/drag_messages.h" |
32 #include "content/common/file_system/file_system_dispatcher.h" | 32 #include "content/common/file_system/file_system_dispatcher.h" |
33 #include "content/common/file_system/webfilesystem_callback_dispatcher.h" | 33 #include "content/common/file_system/webfilesystem_callback_dispatcher.h" |
34 #include "content/common/intents_messages.h" | 34 #include "content/common/intents_messages.h" |
35 #include "content/common/notification_service.h" | |
36 #include "content/common/pepper_messages.h" | 35 #include "content/common/pepper_messages.h" |
37 #include "content/common/pepper_plugin_registry.h" | 36 #include "content/common/pepper_plugin_registry.h" |
38 #include "content/common/quota_dispatcher.h" | 37 #include "content/common/quota_dispatcher.h" |
39 #include "content/common/renderer_preferences.h" | 38 #include "content/common/renderer_preferences.h" |
40 #include "content/common/request_extra_data.h" | 39 #include "content/common/request_extra_data.h" |
41 #include "content/common/view_messages.h" | 40 #include "content/common/view_messages.h" |
42 #include "content/public/common/bindings_policy.h" | 41 #include "content/public/common/bindings_policy.h" |
43 #include "content/public/common/content_switches.h" | 42 #include "content/public/common/content_switches.h" |
44 #include "content/public/common/url_constants.h" | 43 #include "content/public/common/url_constants.h" |
45 #include "content/public/renderer/content_renderer_client.h" | 44 #include "content/public/renderer/content_renderer_client.h" |
(...skipping 4594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4640 pepper_delegate_.OnLockMouseACK(succeeded); | 4639 pepper_delegate_.OnLockMouseACK(succeeded); |
4641 } | 4640 } |
4642 | 4641 |
4643 void RenderViewImpl::OnMouseLockLost() { | 4642 void RenderViewImpl::OnMouseLockLost() { |
4644 pepper_delegate_.OnMouseLockLost(); | 4643 pepper_delegate_.OnMouseLockLost(); |
4645 } | 4644 } |
4646 | 4645 |
4647 bool RenderViewImpl::WebWidgetHandlesCompositorScheduling() const { | 4646 bool RenderViewImpl::WebWidgetHandlesCompositorScheduling() const { |
4648 return webview()->settings()->useThreadedCompositor(); | 4647 return webview()->settings()->useThreadedCompositor(); |
4649 } | 4648 } |
OLD | NEW |