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