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

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

Issue 20045007: Use DidOverscrollParams in the browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 2 Created 6 years, 7 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/common/view_messages.h ('k') | content/renderer/input/input_event_filter.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 #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/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 // Called by the host when the input flush has completed. 298 // Called by the host when the input flush has completed.
299 virtual void OnDidFlushInput() = 0; 299 virtual void OnDidFlushInput() = 0;
300 300
301 // Create a platform specific SyntheticGestureTarget implementation that will 301 // Create a platform specific SyntheticGestureTarget implementation that will
302 // be used to inject synthetic input events. 302 // be used to inject synthetic input events.
303 virtual scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() = 0; 303 virtual scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() = 0;
304 304
305 virtual void GestureEventAck(const blink::WebGestureEvent& event, 305 virtual void GestureEventAck(const blink::WebGestureEvent& event,
306 InputEventAckState ack_result) = 0; 306 InputEventAckState ack_result) = 0;
307 307
308 virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll,
309 gfx::Vector2dF current_fling_velocity) = 0;
310
311 virtual void DidStopFlinging() = 0; 308 virtual void DidStopFlinging() = 0;
312 309
313 virtual void SetPopupType(blink::WebPopupType popup_type) = 0; 310 virtual void SetPopupType(blink::WebPopupType popup_type) = 0;
314 virtual blink::WebPopupType GetPopupType() = 0; 311 virtual blink::WebPopupType GetPopupType() = 0;
315 312
316 // Get the BrowserAccessibilityManager if it exists, may return NULL. 313 // Get the BrowserAccessibilityManager if it exists, may return NULL.
317 virtual BrowserAccessibilityManager* 314 virtual BrowserAccessibilityManager*
318 GetBrowserAccessibilityManager() const = 0; 315 GetBrowserAccessibilityManager() const = 0;
319 // Create a BrowserAccessibilityManager for this view if it's possible to 316 // Create a BrowserAccessibilityManager for this view if it's possible to
320 // create one and if one doesn't exist already. Some ports may not create 317 // create one and if one doesn't exist already. Some ports may not create
(...skipping 29 matching lines...) Expand all
350 347
351 // Returns an HWND that's given as the parent window for windowless Flash to 348 // Returns an HWND that's given as the parent window for windowless Flash to
352 // workaround crbug.com/301548. 349 // workaround crbug.com/301548.
353 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const = 0; 350 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const = 0;
354 #endif 351 #endif
355 }; 352 };
356 353
357 } // namespace content 354 } // namespace content
358 355
359 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 356 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/input/input_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698