| 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 629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 640 WebCore::IntSize m_maxAutoSize; | 640 WebCore::IntSize m_maxAutoSize; |
| 641 | 641 |
| 642 OwnPtr<WebCore::Page> m_page; | 642 OwnPtr<WebCore::Page> m_page; |
| 643 | 643 |
| 644 // An object that can be used to manipulate m_page->settings() without linki
ng | 644 // An object that can be used to manipulate m_page->settings() without linki
ng |
| 645 // against WebCore. This is lazily allocated the first time GetWebSettings() | 645 // against WebCore. This is lazily allocated the first time GetWebSettings() |
| 646 // is called. | 646 // is called. |
| 647 OwnPtr<WebSettingsImpl> m_webSettings; | 647 OwnPtr<WebSettingsImpl> m_webSettings; |
| 648 | 648 |
| 649 // A copy of the web drop data object we received from the browser. | 649 // A copy of the web drop data object we received from the browser. |
| 650 RefPtr<WebCore::DataObject> m_currentDragData; | 650 RefPtrWillBePersistent<WebCore::DataObject> m_currentDragData; |
| 651 | 651 |
| 652 // The point relative to the client area where the mouse was last pressed | 652 // The point relative to the client area where the mouse was last pressed |
| 653 // down. This is used by the drag client to determine what was under the | 653 // down. This is used by the drag client to determine what was under the |
| 654 // mouse when the drag was initiated. We need to track this here in | 654 // mouse when the drag was initiated. We need to track this here in |
| 655 // WebViewImpl since DragClient::startDrag does not pass the position the | 655 // WebViewImpl since DragClient::startDrag does not pass the position the |
| 656 // mouse was at when the drag was initiated, only the current point, which | 656 // mouse was at when the drag was initiated, only the current point, which |
| 657 // can be misleading as it is usually not over the element the user actually | 657 // can be misleading as it is usually not over the element the user actually |
| 658 // dragged by the time a drag is initiated. | 658 // dragged by the time a drag is initiated. |
| 659 WebPoint m_lastMouseDownPoint; | 659 WebPoint m_lastMouseDownPoint; |
| 660 | 660 |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 785 Vector<WebHelperPluginImpl*> m_helperPluginsPendingClose; | 785 Vector<WebHelperPluginImpl*> m_helperPluginsPendingClose; |
| 786 }; | 786 }; |
| 787 | 787 |
| 788 // We have no ways to check if the specified WebView is an instance of | 788 // We have no ways to check if the specified WebView is an instance of |
| 789 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 789 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 790 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 790 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 791 | 791 |
| 792 } // namespace blink | 792 } // namespace blink |
| 793 | 793 |
| 794 #endif | 794 #endif |
| OLD | NEW |