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 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
617 | 617 |
618 void enablePopupMouseWheelEventListener(); | 618 void enablePopupMouseWheelEventListener(); |
619 void disablePopupMouseWheelEventListener(); | 619 void disablePopupMouseWheelEventListener(); |
620 | 620 |
621 void cancelPagePopup(); | 621 void cancelPagePopup(); |
622 void updatePageOverlays(); | 622 void updatePageOverlays(); |
623 | 623 |
624 WebViewClient* m_client; // Can be 0 (e.g. unittests, shared workers, etc.) | 624 WebViewClient* m_client; // Can be 0 (e.g. unittests, shared workers, etc.) |
625 WebSpellCheckClient* m_spellCheckClient; | 625 WebSpellCheckClient* m_spellCheckClient; |
626 | 626 |
627 ChromeClientImpl m_chromeClientImpl; | 627 OwnPtrWillBePersistent<ChromeClientImpl> m_chromeClientImpl; |
628 ContextMenuClientImpl m_contextMenuClientImpl; | 628 ContextMenuClientImpl m_contextMenuClientImpl; |
629 DragClientImpl m_dragClientImpl; | 629 DragClientImpl m_dragClientImpl; |
630 EditorClientImpl m_editorClientImpl; | 630 EditorClientImpl m_editorClientImpl; |
631 SpellCheckerClientImpl m_spellCheckerClientImpl; | 631 SpellCheckerClientImpl m_spellCheckerClientImpl; |
632 StorageClientImpl m_storageClientImpl; | 632 StorageClientImpl m_storageClientImpl; |
633 | 633 |
634 WebSize m_size; | 634 WebSize m_size; |
635 // If true, automatically resize the layout view around its content. | 635 // If true, automatically resize the layout view around its content. |
636 bool m_shouldAutoResize; | 636 bool m_shouldAutoResize; |
637 // The lower bound on the size when auto-resizing. | 637 // The lower bound on the size when auto-resizing. |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
763 }; | 763 }; |
764 | 764 |
765 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); | 765 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); |
766 // We have no ways to check if the specified WebView is an instance of | 766 // We have no ways to check if the specified WebView is an instance of |
767 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 767 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
768 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 768 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
769 | 769 |
770 } // namespace blink | 770 } // namespace blink |
771 | 771 |
772 #endif | 772 #endif |
OLD | NEW |