OLD | NEW |
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 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 void mouseDoubleClick(const WebMouseEvent&); | 354 void mouseDoubleClick(const WebMouseEvent&); |
355 | 355 |
356 bool detectContentOnTouch(const WebPoint&); | 356 bool detectContentOnTouch(const WebPoint&); |
357 bool startPageScaleAnimation(const WebCore::IntPoint& targetPosition, bool u
seAnchor, float newScale, double durationInSeconds); | 357 bool startPageScaleAnimation(const WebCore::IntPoint& targetPosition, bool u
seAnchor, float newScale, double durationInSeconds); |
358 | 358 |
359 void numberOfWheelEventHandlersChanged(unsigned); | 359 void numberOfWheelEventHandlersChanged(unsigned); |
360 void hasTouchEventHandlers(bool); | 360 void hasTouchEventHandlers(bool); |
361 | 361 |
362 // WebGestureCurveTarget implementation for fling. | 362 // WebGestureCurveTarget implementation for fling. |
363 virtual bool scrollBy(const WebFloatSize& delta, const WebFloatSize& velocit
y) OVERRIDE; | 363 virtual bool scrollBy(const WebFloatSize& delta, const WebFloatSize& velocit
y) OVERRIDE; |
364 virtual void scrollBy(const WebFloatSize& delta) OVERRIDE; | |
365 | 364 |
366 // Handles context menu events orignated via the the keyboard. These | 365 // Handles context menu events orignated via the the keyboard. These |
367 // include the VK_APPS virtual key and the Shift+F10 combine. Code is | 366 // include the VK_APPS virtual key and the Shift+F10 combine. Code is |
368 // based on the Webkit function bool WebView::handleContextMenuEvent(WPARAM | 367 // based on the Webkit function bool WebView::handleContextMenuEvent(WPARAM |
369 // wParam, LPARAM lParam) in webkit\webkit\win\WebView.cpp. The only | 368 // wParam, LPARAM lParam) in webkit\webkit\win\WebView.cpp. The only |
370 // significant change in this function is the code to convert from a | 369 // significant change in this function is the code to convert from a |
371 // Keyboard event to the Right Mouse button down event. | 370 // Keyboard event to the Right Mouse button down event. |
372 bool sendContextMenuEvent(const WebKeyboardEvent&); | 371 bool sendContextMenuEvent(const WebKeyboardEvent&); |
373 | 372 |
374 // Notifies the WebView that a load has been committed. isNewNavigation | 373 // Notifies the WebView that a load has been committed. isNewNavigation |
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
762 float m_zoomFactorOverride; | 761 float m_zoomFactorOverride; |
763 }; | 762 }; |
764 | 763 |
765 // We have no ways to check if the specified WebView is an instance of | 764 // We have no ways to check if the specified WebView is an instance of |
766 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 765 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
767 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 766 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
768 | 767 |
769 } // namespace blink | 768 } // namespace blink |
770 | 769 |
771 #endif | 770 #endif |
OLD | NEW |