| 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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 WebDragOperationsMask mask, | 407 WebDragOperationsMask mask, |
| 408 const WebImage& dragImage, | 408 const WebImage& dragImage, |
| 409 const WebPoint& dragImageOffset); | 409 const WebPoint& dragImageOffset); |
| 410 | 410 |
| 411 // Notification that a popup was opened/closed. | 411 // Notification that a popup was opened/closed. |
| 412 void popupOpened(PopupContainer*); | 412 void popupOpened(PopupContainer*); |
| 413 void popupClosed(PopupContainer*); | 413 void popupClosed(PopupContainer*); |
| 414 // PagePopupDriver functions. | 414 // PagePopupDriver functions. |
| 415 virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect& originBoun
dsInRootView) OVERRIDE; | 415 virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect& originBoun
dsInRootView) OVERRIDE; |
| 416 virtual void closePagePopup(PagePopup*) OVERRIDE; | 416 virtual void closePagePopup(PagePopup*) OVERRIDE; |
| 417 virtual LocalDOMWindow* pagePopupWindow() OVERRIDE; |
| 417 | 418 |
| 418 // Returns the input event we're currently processing. This is used in some | 419 // Returns the input event we're currently processing. This is used in some |
| 419 // cases where the WebCore DOM event doesn't have the information we need. | 420 // cases where the WebCore DOM event doesn't have the information we need. |
| 420 static const WebInputEvent* currentInputEvent() | 421 static const WebInputEvent* currentInputEvent() |
| 421 { | 422 { |
| 422 return m_currentInputEvent; | 423 return m_currentInputEvent; |
| 423 } | 424 } |
| 424 | 425 |
| 425 GraphicsLayer* rootGraphicsLayer(); | 426 GraphicsLayer* rootGraphicsLayer(); |
| 426 void setRootGraphicsLayer(GraphicsLayer*); | 427 void setRootGraphicsLayer(GraphicsLayer*); |
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 754 float m_topControlsLayoutHeight; | 755 float m_topControlsLayoutHeight; |
| 755 }; | 756 }; |
| 756 | 757 |
| 757 // We have no ways to check if the specified WebView is an instance of | 758 // We have no ways to check if the specified WebView is an instance of |
| 758 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 759 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 759 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 760 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 760 | 761 |
| 761 } // namespace blink | 762 } // namespace blink |
| 762 | 763 |
| 763 #endif | 764 #endif |
| OLD | NEW |