| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 namespace WebKit { | 81 namespace WebKit { |
| 82 class AutocompletePopupMenuClient; | 82 class AutocompletePopupMenuClient; |
| 83 class AutofillPopupMenuClient; | 83 class AutofillPopupMenuClient; |
| 84 class ContextFeaturesClientImpl; | 84 class ContextFeaturesClientImpl; |
| 85 class ContextMenuClientImpl; | 85 class ContextMenuClientImpl; |
| 86 class GeolocationClientProxy; | 86 class GeolocationClientProxy; |
| 87 class LinkHighlight; | 87 class LinkHighlight; |
| 88 class MIDIClientProxy; | 88 class MIDIClientProxy; |
| 89 class PinchViewports; | 89 class PinchViewports; |
| 90 class PrerendererClientImpl; | 90 class PrerendererClientImpl; |
| 91 class SharedWorkerRepositoryClientImpl; |
| 91 class SpeechInputClientImpl; | 92 class SpeechInputClientImpl; |
| 92 class SpeechRecognitionClientProxy; | 93 class SpeechRecognitionClientProxy; |
| 93 class UserMediaClientImpl; | 94 class UserMediaClientImpl; |
| 94 class ValidationMessageClientImpl; | 95 class ValidationMessageClientImpl; |
| 95 class WebAXObject; | 96 class WebAXObject; |
| 96 class WebActiveGestureAnimation; | 97 class WebActiveGestureAnimation; |
| 97 class WebCompositorImpl; | 98 class WebCompositorImpl; |
| 98 class WebDevToolsAgentClient; | 99 class WebDevToolsAgentClient; |
| 99 class WebDevToolsAgentPrivate; | 100 class WebDevToolsAgentPrivate; |
| 100 class WebDocument; | 101 class WebDocument; |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 // WebView methods: | 175 // WebView methods: |
| 175 virtual void setMainFrame(WebFrame*); | 176 virtual void setMainFrame(WebFrame*); |
| 176 virtual void initializeMainFrame(WebFrameClient*); | 177 virtual void initializeMainFrame(WebFrameClient*); |
| 177 virtual void setAutofillClient(WebAutofillClient*); | 178 virtual void setAutofillClient(WebAutofillClient*); |
| 178 virtual void setDevToolsAgentClient(WebDevToolsAgentClient*); | 179 virtual void setDevToolsAgentClient(WebDevToolsAgentClient*); |
| 179 virtual void setPermissionClient(WebPermissionClient*); | 180 virtual void setPermissionClient(WebPermissionClient*); |
| 180 virtual void setPrerendererClient(WebPrerendererClient*) OVERRIDE; | 181 virtual void setPrerendererClient(WebPrerendererClient*) OVERRIDE; |
| 181 virtual void setSpellCheckClient(WebSpellCheckClient*); | 182 virtual void setSpellCheckClient(WebSpellCheckClient*); |
| 182 virtual void setValidationMessageClient(WebValidationMessageClient*) OVERRID
E; | 183 virtual void setValidationMessageClient(WebValidationMessageClient*) OVERRID
E; |
| 183 virtual void setPasswordGeneratorClient(WebPasswordGeneratorClient*) OVERRID
E; | 184 virtual void setPasswordGeneratorClient(WebPasswordGeneratorClient*) OVERRID
E; |
| 185 virtual void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient
*) OVERRIDE; |
| 184 virtual WebSettings* settings(); | 186 virtual WebSettings* settings(); |
| 185 virtual WebString pageEncoding() const; | 187 virtual WebString pageEncoding() const; |
| 186 virtual void setPageEncoding(const WebString& encoding); | 188 virtual void setPageEncoding(const WebString& encoding); |
| 187 virtual bool isTransparent() const; | 189 virtual bool isTransparent() const; |
| 188 virtual void setIsTransparent(bool value); | 190 virtual void setIsTransparent(bool value); |
| 189 virtual void setBaseBackgroundColor(WebColor); | 191 virtual void setBaseBackgroundColor(WebColor); |
| 190 virtual bool tabsToLinks() const; | 192 virtual bool tabsToLinks() const; |
| 191 virtual void setTabsToLinks(bool value); | 193 virtual void setTabsToLinks(bool value); |
| 192 virtual bool tabKeyCyclesThroughElements() const; | 194 virtual bool tabKeyCyclesThroughElements() const; |
| 193 virtual void setTabKeyCyclesThroughElements(bool value); | 195 virtual void setTabKeyCyclesThroughElements(bool value); |
| (...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 790 OwnPtr<NavigatorContentUtilsClientImpl> m_navigatorContentUtilsClient; | 792 OwnPtr<NavigatorContentUtilsClientImpl> m_navigatorContentUtilsClient; |
| 791 #endif | 793 #endif |
| 792 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation; | 794 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation; |
| 793 WebPoint m_positionOnFlingStart; | 795 WebPoint m_positionOnFlingStart; |
| 794 WebPoint m_globalPositionOnFlingStart; | 796 WebPoint m_globalPositionOnFlingStart; |
| 795 int m_flingModifier; | 797 int m_flingModifier; |
| 796 bool m_flingSourceDevice; | 798 bool m_flingSourceDevice; |
| 797 Vector<OwnPtr<LinkHighlight> > m_linkHighlights; | 799 Vector<OwnPtr<LinkHighlight> > m_linkHighlights; |
| 798 OwnPtr<ValidationMessageClientImpl> m_validationMessage; | 800 OwnPtr<ValidationMessageClientImpl> m_validationMessage; |
| 799 OwnPtr<FullscreenController> m_fullscreenController; | 801 OwnPtr<FullscreenController> m_fullscreenController; |
| 802 OwnPtr<SharedWorkerRepositoryClientImpl> m_sharedWorkerRepositoryClient; |
| 800 | 803 |
| 801 bool m_showFPSCounter; | 804 bool m_showFPSCounter; |
| 802 bool m_showPaintRects; | 805 bool m_showPaintRects; |
| 803 bool m_showDebugBorders; | 806 bool m_showDebugBorders; |
| 804 bool m_continuousPaintingEnabled; | 807 bool m_continuousPaintingEnabled; |
| 805 bool m_showScrollBottleneckRects; | 808 bool m_showScrollBottleneckRects; |
| 806 WebColor m_baseBackgroundColor; | 809 WebColor m_baseBackgroundColor; |
| 807 | 810 |
| 808 WebCore::Timer<WebViewImpl> m_helperPluginCloseTimer; | 811 WebCore::Timer<WebViewImpl> m_helperPluginCloseTimer; |
| 809 Vector<RefPtr<WebHelperPluginImpl> > m_helperPluginsPendingClose; | 812 Vector<RefPtr<WebHelperPluginImpl> > m_helperPluginsPendingClose; |
| 810 }; | 813 }; |
| 811 | 814 |
| 812 inline WebViewImpl* toWebViewImpl(WebView* webView) | 815 inline WebViewImpl* toWebViewImpl(WebView* webView) |
| 813 { | 816 { |
| 814 // We have no ways to check if the specified WebView is an instance of | 817 // We have no ways to check if the specified WebView is an instance of |
| 815 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 818 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 816 return static_cast<WebViewImpl*>(webView); | 819 return static_cast<WebViewImpl*>(webView); |
| 817 } | 820 } |
| 818 | 821 |
| 819 } // namespace WebKit | 822 } // namespace WebKit |
| 820 | 823 |
| 821 #endif | 824 #endif |
| OLD | NEW |