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

Side by Side Diff: content/port/browser/render_widget_host_view_port.h

Issue 19220002: [WIP] BufferedInputRouter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix client assignment Created 7 years, 3 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/content_tests.gypi ('k') | content/public/common/content_switches.h » ('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 #ifndef CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 5 #ifndef CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/process/kill.h" 9 #include "base/process/kill.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 // Called when a mousewheel event was not processed by the renderer. 276 // Called when a mousewheel event was not processed by the renderer.
277 virtual void UnhandledWheelEvent(const WebKit::WebMouseWheelEvent& event) = 0; 277 virtual void UnhandledWheelEvent(const WebKit::WebMouseWheelEvent& event) = 0;
278 278
279 // Called prior to forwarding input event messages to the renderer, giving 279 // Called prior to forwarding input event messages to the renderer, giving
280 // the view a chance to perform in-process event filtering or processing. 280 // the view a chance to perform in-process event filtering or processing.
281 // Return values of |NOT_CONSUMED| or |UNKNOWN| will result in |input_event| 281 // Return values of |NOT_CONSUMED| or |UNKNOWN| will result in |input_event|
282 // being forwarded. 282 // being forwarded.
283 virtual InputEventAckState FilterInputEvent( 283 virtual InputEventAckState FilterInputEvent(
284 const WebKit::WebInputEvent& input_event) = 0; 284 const WebKit::WebInputEvent& input_event) = 0;
285 285
286 // Called by the host when it requires an input flush; the flush call should
287 // by synchronized with BeginFrame.
288 virtual void OnSetNeedsFlushInput() = 0;
289
290 // Called by the host when the input flush has completed.
291 virtual void OnDidFlushInput() = 0;
292
286 virtual void GestureEventAck(int gesture_event_type, 293 virtual void GestureEventAck(int gesture_event_type,
287 InputEventAckState ack_result) = 0; 294 InputEventAckState ack_result) = 0;
288 295
289 virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, 296 virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll,
290 gfx::Vector2dF current_fling_velocity) = 0; 297 gfx::Vector2dF current_fling_velocity) = 0;
291 298
292 virtual void SetPopupType(WebKit::WebPopupType popup_type) = 0; 299 virtual void SetPopupType(WebKit::WebPopupType popup_type) = 0;
293 virtual WebKit::WebPopupType GetPopupType() = 0; 300 virtual WebKit::WebPopupType GetPopupType() = 0;
294 301
295 virtual BrowserAccessibilityManager* 302 virtual BrowserAccessibilityManager*
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 335
329 #if defined(OS_WIN) && defined(USE_AURA) 336 #if defined(OS_WIN) && defined(USE_AURA)
330 virtual void SetParentNativeViewAccessible( 337 virtual void SetParentNativeViewAccessible(
331 gfx::NativeViewAccessible accessible_parent) = 0; 338 gfx::NativeViewAccessible accessible_parent) = 0;
332 #endif 339 #endif
333 }; 340 };
334 341
335 } // namespace content 342 } // namespace content
336 343
337 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 344 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698