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