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

Side by Side Diff: content/renderer/render_view_impl.cc

Issue 2497033002: Break apart WebGestureEvent from WebInputEvent. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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
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/render_view_impl.h" 5 #include "content/renderer/render_view_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cmath> 8 #include <cmath>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 #include "net/base/escape.h" 105 #include "net/base/escape.h"
106 #include "net/base/net_errors.h" 106 #include "net/base/net_errors.h"
107 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" 107 #include "net/base/registry_controlled_domains/registry_controlled_domain.h"
108 #include "net/http/http_util.h" 108 #include "net/http/http_util.h"
109 #include "skia/ext/platform_canvas.h" 109 #include "skia/ext/platform_canvas.h"
110 #include "third_party/WebKit/public/platform/FilePathConversion.h" 110 #include "third_party/WebKit/public/platform/FilePathConversion.h"
111 #include "third_party/WebKit/public/platform/URLConversion.h" 111 #include "third_party/WebKit/public/platform/URLConversion.h"
112 #include "third_party/WebKit/public/platform/WebConnectionType.h" 112 #include "third_party/WebKit/public/platform/WebConnectionType.h"
113 #include "third_party/WebKit/public/platform/WebHTTPBody.h" 113 #include "third_party/WebKit/public/platform/WebHTTPBody.h"
114 #include "third_party/WebKit/public/platform/WebImage.h" 114 #include "third_party/WebKit/public/platform/WebImage.h"
115 #include "third_party/WebKit/public/platform/WebInputEvent.h"
115 #include "third_party/WebKit/public/platform/WebMessagePortChannel.h" 116 #include "third_party/WebKit/public/platform/WebMessagePortChannel.h"
116 #include "third_party/WebKit/public/platform/WebPoint.h" 117 #include "third_party/WebKit/public/platform/WebPoint.h"
117 #include "third_party/WebKit/public/platform/WebRect.h" 118 #include "third_party/WebKit/public/platform/WebRect.h"
118 #include "third_party/WebKit/public/platform/WebSize.h" 119 #include "third_party/WebKit/public/platform/WebSize.h"
119 #include "third_party/WebKit/public/platform/WebStorageQuotaCallbacks.h" 120 #include "third_party/WebKit/public/platform/WebStorageQuotaCallbacks.h"
120 #include "third_party/WebKit/public/platform/WebString.h" 121 #include "third_party/WebKit/public/platform/WebString.h"
121 #include "third_party/WebKit/public/platform/WebURL.h" 122 #include "third_party/WebKit/public/platform/WebURL.h"
122 #include "third_party/WebKit/public/platform/WebURLError.h" 123 #include "third_party/WebKit/public/platform/WebURLError.h"
123 #include "third_party/WebKit/public/platform/WebURLRequest.h" 124 #include "third_party/WebKit/public/platform/WebURLRequest.h"
124 #include "third_party/WebKit/public/platform/WebURLResponse.h" 125 #include "third_party/WebKit/public/platform/WebURLResponse.h"
125 #include "third_party/WebKit/public/platform/WebVector.h" 126 #include "third_party/WebKit/public/platform/WebVector.h"
126 #include "third_party/WebKit/public/web/WebAXObject.h" 127 #include "third_party/WebKit/public/web/WebAXObject.h"
127 #include "third_party/WebKit/public/web/WebColorSuggestion.h" 128 #include "third_party/WebKit/public/web/WebColorSuggestion.h"
128 #include "third_party/WebKit/public/web/WebDOMEvent.h" 129 #include "third_party/WebKit/public/web/WebDOMEvent.h"
129 #include "third_party/WebKit/public/web/WebDOMMessageEvent.h" 130 #include "third_party/WebKit/public/web/WebDOMMessageEvent.h"
130 #include "third_party/WebKit/public/web/WebDataSource.h" 131 #include "third_party/WebKit/public/web/WebDataSource.h"
131 #include "third_party/WebKit/public/web/WebDateTimeChooserCompletion.h" 132 #include "third_party/WebKit/public/web/WebDateTimeChooserCompletion.h"
132 #include "third_party/WebKit/public/web/WebDateTimeChooserParams.h" 133 #include "third_party/WebKit/public/web/WebDateTimeChooserParams.h"
133 #include "third_party/WebKit/public/web/WebDocument.h" 134 #include "third_party/WebKit/public/web/WebDocument.h"
134 #include "third_party/WebKit/public/web/WebElement.h" 135 #include "third_party/WebKit/public/web/WebElement.h"
135 #include "third_party/WebKit/public/web/WebFileChooserParams.h" 136 #include "third_party/WebKit/public/web/WebFileChooserParams.h"
136 #include "third_party/WebKit/public/web/WebFormControlElement.h" 137 #include "third_party/WebKit/public/web/WebFormControlElement.h"
137 #include "third_party/WebKit/public/web/WebFormElement.h" 138 #include "third_party/WebKit/public/web/WebFormElement.h"
138 #include "third_party/WebKit/public/web/WebFrame.h" 139 #include "third_party/WebKit/public/web/WebFrame.h"
139 #include "third_party/WebKit/public/web/WebFrameContentDumper.h" 140 #include "third_party/WebKit/public/web/WebFrameContentDumper.h"
140 #include "third_party/WebKit/public/web/WebFrameWidget.h" 141 #include "third_party/WebKit/public/web/WebFrameWidget.h"
141 #include "third_party/WebKit/public/web/WebHistoryItem.h" 142 #include "third_party/WebKit/public/web/WebHistoryItem.h"
142 #include "third_party/WebKit/public/web/WebHitTestResult.h" 143 #include "third_party/WebKit/public/web/WebHitTestResult.h"
143 #include "third_party/WebKit/public/web/WebInputElement.h" 144 #include "third_party/WebKit/public/web/WebInputElement.h"
144 #include "third_party/WebKit/public/web/WebInputEvent.h"
145 #include "third_party/WebKit/public/web/WebLocalFrame.h" 145 #include "third_party/WebKit/public/web/WebLocalFrame.h"
146 #include "third_party/WebKit/public/web/WebMediaPlayerAction.h" 146 #include "third_party/WebKit/public/web/WebMediaPlayerAction.h"
147 #include "third_party/WebKit/public/web/WebNavigationPolicy.h" 147 #include "third_party/WebKit/public/web/WebNavigationPolicy.h"
148 #include "third_party/WebKit/public/web/WebPageImportanceSignals.h" 148 #include "third_party/WebKit/public/web/WebPageImportanceSignals.h"
149 #include "third_party/WebKit/public/web/WebPlugin.h" 149 #include "third_party/WebKit/public/web/WebPlugin.h"
150 #include "third_party/WebKit/public/web/WebPluginAction.h" 150 #include "third_party/WebKit/public/web/WebPluginAction.h"
151 #include "third_party/WebKit/public/web/WebRange.h" 151 #include "third_party/WebKit/public/web/WebRange.h"
152 #include "third_party/WebKit/public/web/WebRenderTheme.h" 152 #include "third_party/WebKit/public/web/WebRenderTheme.h"
153 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" 153 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h"
154 #include "third_party/WebKit/public/web/WebScriptSource.h" 154 #include "third_party/WebKit/public/web/WebScriptSource.h"
(...skipping 2637 matching lines...) Expand 10 before | Expand all | Expand 10 after
2792 INPUT_EVENT_ACK_STATE_NOT_CONSUMED); 2792 INPUT_EVENT_ACK_STATE_NOT_CONSUMED);
2793 } 2793 }
2794 2794
2795 std::unique_ptr<InputEventAck> ack( 2795 std::unique_ptr<InputEventAck> ack(
2796 new InputEventAck(InputEventAckSource::MAIN_THREAD, input_event->type, 2796 new InputEventAck(InputEventAckSource::MAIN_THREAD, input_event->type,
2797 INPUT_EVENT_ACK_STATE_NOT_CONSUMED)); 2797 INPUT_EVENT_ACK_STATE_NOT_CONSUMED));
2798 OnInputEventAck(std::move(ack)); 2798 OnInputEventAck(std::move(ack));
2799 } 2799 }
2800 2800
2801 } // namespace content 2801 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | content/renderer/render_widget_fullscreen_pepper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698