| 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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/WebInputEvent.h" |
| 103 #include "third_party/WebKit/public/platform/WebKeyboardEvent.h" |
| 103 #include "third_party/WebKit/public/platform/WebMouseEvent.h" | 104 #include "third_party/WebKit/public/platform/WebMouseEvent.h" |
| 104 #include "third_party/WebKit/public/platform/WebRect.h" | 105 #include "third_party/WebKit/public/platform/WebRect.h" |
| 105 #include "third_party/WebKit/public/platform/WebSecurityOrigin.h" | 106 #include "third_party/WebKit/public/platform/WebSecurityOrigin.h" |
| 106 #include "third_party/WebKit/public/platform/WebString.h" | 107 #include "third_party/WebKit/public/platform/WebString.h" |
| 107 #include "third_party/WebKit/public/platform/WebURL.h" | 108 #include "third_party/WebKit/public/platform/WebURL.h" |
| 108 #include "third_party/WebKit/public/platform/WebURLError.h" | 109 #include "third_party/WebKit/public/platform/WebURLError.h" |
| 109 #include "third_party/WebKit/public/platform/WebURLRequest.h" | 110 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
| 110 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" | 111 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" |
| 111 #include "third_party/WebKit/public/web/WebDataSource.h" | 112 #include "third_party/WebKit/public/web/WebDataSource.h" |
| 112 #include "third_party/WebKit/public/web/WebDocument.h" | 113 #include "third_party/WebKit/public/web/WebDocument.h" |
| (...skipping 3352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3465 const cc::TextureMailbox& mailbox) const { | 3466 const cc::TextureMailbox& mailbox) const { |
| 3466 auto it = | 3467 auto it = |
| 3467 std::find_if(texture_ref_counts_.begin(), texture_ref_counts_.end(), | 3468 std::find_if(texture_ref_counts_.begin(), texture_ref_counts_.end(), |
| 3468 [&mailbox](const TextureMailboxRefCount& ref_count) { | 3469 [&mailbox](const TextureMailboxRefCount& ref_count) { |
| 3469 return ref_count.first.mailbox() == mailbox.mailbox(); | 3470 return ref_count.first.mailbox() == mailbox.mailbox(); |
| 3470 }); | 3471 }); |
| 3471 return it != texture_ref_counts_.end(); | 3472 return it != texture_ref_counts_.end(); |
| 3472 } | 3473 } |
| 3473 | 3474 |
| 3474 } // namespace content | 3475 } // namespace content |
| OLD | NEW |