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 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 void updatePageDefinedViewportConstraints(const WebCore::ViewportDescription
&); | 379 void updatePageDefinedViewportConstraints(const WebCore::ViewportDescription
&); |
380 | 380 |
381 // Start a system drag and drop operation. | 381 // Start a system drag and drop operation. |
382 void startDragging( | 382 void startDragging( |
383 WebCore::LocalFrame*, | 383 WebCore::LocalFrame*, |
384 const WebDragData& dragData, | 384 const WebDragData& dragData, |
385 WebDragOperationsMask mask, | 385 WebDragOperationsMask mask, |
386 const WebImage& dragImage, | 386 const WebImage& dragImage, |
387 const WebPoint& dragImageOffset); | 387 const WebPoint& dragImageOffset); |
388 | 388 |
389 // Tries to scroll the currently focused element and bubbles up through the | |
390 // DOM and frame hierarchies. Returns true if something was scrolled. | |
391 bool bubblingScroll(WebCore::ScrollDirection, WebCore::ScrollGranularity); | |
392 | |
393 // Notification that a popup was opened/closed. | 389 // Notification that a popup was opened/closed. |
394 void popupOpened(PopupContainer*); | 390 void popupOpened(PopupContainer*); |
395 void popupClosed(PopupContainer*); | 391 void popupClosed(PopupContainer*); |
396 // PagePopupDriver functions. | 392 // PagePopupDriver functions. |
397 virtual WebCore::PagePopup* openPagePopup(WebCore::PagePopupClient*, const W
ebCore::IntRect& originBoundsInRootView) OVERRIDE; | 393 virtual WebCore::PagePopup* openPagePopup(WebCore::PagePopupClient*, const W
ebCore::IntRect& originBoundsInRootView) OVERRIDE; |
398 virtual void closePagePopup(WebCore::PagePopup*) OVERRIDE; | 394 virtual void closePagePopup(WebCore::PagePopup*) OVERRIDE; |
399 | 395 |
400 // Returns the input event we're currently processing. This is used in some | 396 // Returns the input event we're currently processing. This is used in some |
401 // cases where the WebCore DOM event doesn't have the information we need. | 397 // cases where the WebCore DOM event doesn't have the information we need. |
402 static const WebInputEvent* currentInputEvent() | 398 static const WebInputEvent* currentInputEvent() |
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
713 bool m_userGestureObserved; | 709 bool m_userGestureObserved; |
714 }; | 710 }; |
715 | 711 |
716 // We have no ways to check if the specified WebView is an instance of | 712 // We have no ways to check if the specified WebView is an instance of |
717 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 713 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
718 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 714 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
719 | 715 |
720 } // namespace blink | 716 } // namespace blink |
721 | 717 |
722 #endif | 718 #endif |
OLD | NEW |