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 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 void startDragging( | 415 void startDragging( |
416 LocalFrame*, | 416 LocalFrame*, |
417 const WebDragData& dragData, | 417 const WebDragData& dragData, |
418 WebDragOperationsMask mask, | 418 WebDragOperationsMask mask, |
419 const WebImage& dragImage, | 419 const WebImage& dragImage, |
420 const WebPoint& dragImageOffset); | 420 const WebPoint& dragImageOffset); |
421 | 421 |
422 // Notification that a popup was opened/closed. | 422 // Notification that a popup was opened/closed. |
423 void popupOpened(PopupContainer*); | 423 void popupOpened(PopupContainer*); |
424 void popupClosed(PopupContainer*); | 424 void popupClosed(PopupContainer*); |
425 PagePopup* openPagePopup(PagePopupClient*, const IntRect& originBoundsInRoot
View); | 425 PagePopup* openPagePopup(PagePopupClient*); |
426 void closePagePopup(PagePopup*); | 426 void closePagePopup(PagePopup*); |
427 LocalDOMWindow* pagePopupWindow() const; | 427 LocalDOMWindow* pagePopupWindow() const; |
428 | 428 |
429 // Returns the input event we're currently processing. This is used in some | 429 // Returns the input event we're currently processing. This is used in some |
430 // cases where the WebCore DOM event doesn't have the information we need. | 430 // cases where the WebCore DOM event doesn't have the information we need. |
431 static const WebInputEvent* currentInputEvent() | 431 static const WebInputEvent* currentInputEvent() |
432 { | 432 { |
433 return m_currentInputEvent; | 433 return m_currentInputEvent; |
434 } | 434 } |
435 | 435 |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
773 }; | 773 }; |
774 | 774 |
775 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); | 775 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); |
776 // We have no ways to check if the specified WebView is an instance of | 776 // We have no ways to check if the specified WebView is an instance of |
777 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 777 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
778 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 778 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
779 | 779 |
780 } // namespace blink | 780 } // namespace blink |
781 | 781 |
782 #endif | 782 #endif |
OLD | NEW |