| OLD | NEW |
| 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 #include "content/renderer/pepper/pepper_webplugin_impl.h" | 5 #include "content/renderer/pepper/pepper_webplugin_impl.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include <cmath> | 9 #include <cmath> |
| 8 | 10 |
| 9 #include "base/debug/crash_logging.h" | 11 #include "base/debug/crash_logging.h" |
| 10 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
| 11 #include "content/public/renderer/content_renderer_client.h" | 13 #include "content/public/renderer/content_renderer_client.h" |
| 12 #include "content/renderer/pepper/message_channel.h" | 14 #include "content/renderer/pepper/message_channel.h" |
| 13 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" | 15 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" |
| 14 #include "content/renderer/pepper/plugin_instance_throttler_impl.h" | 16 #include "content/renderer/pepper/plugin_instance_throttler_impl.h" |
| 15 #include "content/renderer/pepper/plugin_module.h" | 17 #include "content/renderer/pepper/plugin_module.h" |
| 16 #include "content/renderer/pepper/v8object_var.h" | 18 #include "content/renderer/pepper/v8object_var.h" |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 | 314 |
| 313 bool PepperWebPluginImpl::canRotateView() { return instance_->CanRotateView(); } | 315 bool PepperWebPluginImpl::canRotateView() { return instance_->CanRotateView(); } |
| 314 | 316 |
| 315 void PepperWebPluginImpl::rotateView(RotationType type) { | 317 void PepperWebPluginImpl::rotateView(RotationType type) { |
| 316 instance_->RotateView(type); | 318 instance_->RotateView(type); |
| 317 } | 319 } |
| 318 | 320 |
| 319 bool PepperWebPluginImpl::isPlaceholder() { return false; } | 321 bool PepperWebPluginImpl::isPlaceholder() { return false; } |
| 320 | 322 |
| 321 } // namespace content | 323 } // namespace content |
| OLD | NEW |