| 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_plugin_instance_impl.h" | 5 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/bit_cast.h" | 10 #include "base/bit_cast.h" |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 #include "ppapi/shared_impl/url_request_info_data.h" | 92 #include "ppapi/shared_impl/url_request_info_data.h" |
| 93 #include "ppapi/shared_impl/var.h" | 93 #include "ppapi/shared_impl/var.h" |
| 94 #include "ppapi/thunk/enter.h" | 94 #include "ppapi/thunk/enter.h" |
| 95 #include "ppapi/thunk/ppb_buffer_api.h" | 95 #include "ppapi/thunk/ppb_buffer_api.h" |
| 96 #include "printing/features/features.h" | 96 #include "printing/features/features.h" |
| 97 #include "skia/ext/platform_canvas.h" | 97 #include "skia/ext/platform_canvas.h" |
| 98 #include "third_party/WebKit/public/platform/URLConversion.h" | 98 #include "third_party/WebKit/public/platform/URLConversion.h" |
| 99 #include "third_party/WebKit/public/platform/WebCursorInfo.h" | 99 #include "third_party/WebKit/public/platform/WebCursorInfo.h" |
| 100 #include "third_party/WebKit/public/platform/WebFloatRect.h" | 100 #include "third_party/WebKit/public/platform/WebFloatRect.h" |
| 101 #include "third_party/WebKit/public/platform/WebGamepads.h" | 101 #include "third_party/WebKit/public/platform/WebGamepads.h" |
| 102 #include "third_party/WebKit/public/platform/WebInputEvent.h" |
| 102 #include "third_party/WebKit/public/platform/WebRect.h" | 103 #include "third_party/WebKit/public/platform/WebRect.h" |
| 103 #include "third_party/WebKit/public/platform/WebSecurityOrigin.h" | 104 #include "third_party/WebKit/public/platform/WebSecurityOrigin.h" |
| 104 #include "third_party/WebKit/public/platform/WebString.h" | 105 #include "third_party/WebKit/public/platform/WebString.h" |
| 105 #include "third_party/WebKit/public/platform/WebURL.h" | 106 #include "third_party/WebKit/public/platform/WebURL.h" |
| 106 #include "third_party/WebKit/public/platform/WebURLError.h" | 107 #include "third_party/WebKit/public/platform/WebURLError.h" |
| 107 #include "third_party/WebKit/public/platform/WebURLRequest.h" | 108 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
| 108 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" | 109 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" |
| 109 #include "third_party/WebKit/public/web/WebDataSource.h" | 110 #include "third_party/WebKit/public/web/WebDataSource.h" |
| 110 #include "third_party/WebKit/public/web/WebDocument.h" | 111 #include "third_party/WebKit/public/web/WebDocument.h" |
| 111 #include "third_party/WebKit/public/web/WebInputEvent.h" | |
| 112 #include "third_party/WebKit/public/web/WebLocalFrame.h" | 112 #include "third_party/WebKit/public/web/WebLocalFrame.h" |
| 113 #include "third_party/WebKit/public/web/WebPluginContainer.h" | 113 #include "third_party/WebKit/public/web/WebPluginContainer.h" |
| 114 #include "third_party/WebKit/public/web/WebPluginScriptForbiddenScope.h" | 114 #include "third_party/WebKit/public/web/WebPluginScriptForbiddenScope.h" |
| 115 #include "third_party/WebKit/public/web/WebPrintParams.h" | 115 #include "third_party/WebKit/public/web/WebPrintParams.h" |
| 116 #include "third_party/WebKit/public/web/WebPrintPresetOptions.h" | 116 #include "third_party/WebKit/public/web/WebPrintPresetOptions.h" |
| 117 #include "third_party/WebKit/public/web/WebPrintScalingOption.h" | 117 #include "third_party/WebKit/public/web/WebPrintScalingOption.h" |
| 118 #include "third_party/WebKit/public/web/WebScopedUserGesture.h" | 118 #include "third_party/WebKit/public/web/WebScopedUserGesture.h" |
| 119 #include "third_party/WebKit/public/web/WebScriptSource.h" | 119 #include "third_party/WebKit/public/web/WebScriptSource.h" |
| 120 #include "third_party/WebKit/public/web/WebUserGestureIndicator.h" | 120 #include "third_party/WebKit/public/web/WebUserGestureIndicator.h" |
| 121 #include "third_party/WebKit/public/web/WebView.h" | 121 #include "third_party/WebKit/public/web/WebView.h" |
| (...skipping 3314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3436 const cc::TextureMailbox& mailbox) const { | 3436 const cc::TextureMailbox& mailbox) const { |
| 3437 auto it = | 3437 auto it = |
| 3438 std::find_if(texture_ref_counts_.begin(), texture_ref_counts_.end(), | 3438 std::find_if(texture_ref_counts_.begin(), texture_ref_counts_.end(), |
| 3439 [&mailbox](const TextureMailboxRefCount& ref_count) { | 3439 [&mailbox](const TextureMailboxRefCount& ref_count) { |
| 3440 return ref_count.first.mailbox() == mailbox.mailbox(); | 3440 return ref_count.first.mailbox() == mailbox.mailbox(); |
| 3441 }); | 3441 }); |
| 3442 return it != texture_ref_counts_.end(); | 3442 return it != texture_ref_counts_.end(); |
| 3443 } | 3443 } |
| 3444 | 3444 |
| 3445 } // namespace content | 3445 } // namespace content |
| OLD | NEW |