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