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

Side by Side Diff: third_party/WebKit/Source/web/WebViewImpl.h

Issue 2479663002: Move compositor InputHandler from RenderViewImpl to RenderWidget. (Closed)
Patch Set: Rebase to master@{#445291}. 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 void mouseContextMenu(const WebMouseEvent&); 325 void mouseContextMenu(const WebMouseEvent&);
326 void mouseDoubleClick(const WebMouseEvent&); 326 void mouseDoubleClick(const WebMouseEvent&);
327 327
328 bool detectContentOnTouch( 328 bool detectContentOnTouch(
329 const GestureEventWithHitTestResults& targetedEvent); 329 const GestureEventWithHitTestResults& targetedEvent);
330 bool startPageScaleAnimation(const IntPoint& targetPosition, 330 bool startPageScaleAnimation(const IntPoint& targetPosition,
331 bool useAnchor, 331 bool useAnchor,
332 float newScale, 332 float newScale,
333 double durationInSeconds); 333 double durationInSeconds);
334 334
335 void hasTouchEventHandlers(bool);
336
337 // WebGestureCurveTarget implementation for fling. 335 // WebGestureCurveTarget implementation for fling.
338 bool scrollBy(const WebFloatSize& delta, 336 bool scrollBy(const WebFloatSize& delta,
339 const WebFloatSize& velocity) override; 337 const WebFloatSize& velocity) override;
340 338
341 // Handles context menu events orignated via the the keyboard. These 339 // Handles context menu events orignated via the the keyboard. These
342 // include the VK_APPS virtual key and the Shift+F10 combine. Code is 340 // include the VK_APPS virtual key and the Shift+F10 combine. Code is
343 // based on the Webkit function bool WebView::handleContextMenuEvent(WPARAM 341 // based on the Webkit function bool WebView::handleContextMenuEvent(WPARAM
344 // wParam, LPARAM lParam) in webkit\webkit\win\WebView.cpp. The only 342 // wParam, LPARAM lParam) in webkit\webkit\win\WebView.cpp. The only
345 // significant change in this function is the code to convert from a 343 // significant change in this function is the code to convert from a
346 // Keyboard event to the Right Mouse button down event. 344 // Keyboard event to the Right Mouse button down event.
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
741 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; 739 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor;
742 }; 740 };
743 741
744 // We have no ways to check if the specified WebView is an instance of 742 // We have no ways to check if the specified WebView is an instance of
745 // WebViewImpl because WebViewImpl is the only implementation of WebView. 743 // WebViewImpl because WebViewImpl is the only implementation of WebView.
746 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 744 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
747 745
748 } // namespace blink 746 } // namespace blink
749 747
750 #endif 748 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebPagePopupImpl.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698