Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(248)

Side by Side Diff: content/renderer/pepper/pepper_plugin_instance_impl.cc

Issue 2639273002: Give WebTouchEvent and WebKeyboardEvent their own headers (Closed)
Patch Set: Rebase Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/renderer/pepper/event_conversion.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « content/renderer/pepper/event_conversion.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698