| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 class HitTestResult; | 54 class HitTestResult; |
| 55 class KeyboardEvent; | 55 class KeyboardEvent; |
| 56 class Page; | 56 class Page; |
| 57 class PlatformKeyboardEvent; | 57 class PlatformKeyboardEvent; |
| 58 class PopupContainer; | 58 class PopupContainer; |
| 59 class Range; | 59 class Range; |
| 60 class RenderTheme; | 60 class RenderTheme; |
| 61 class Widget; | 61 class Widget; |
| 62 } | 62 } |
| 63 | 63 |
| 64 class WebDevToolsAgentImpl; | |
| 65 | |
| 66 namespace WebKit { | 64 namespace WebKit { |
| 67 class AutocompletePopupMenuClient; | 65 class AutocompletePopupMenuClient; |
| 68 class ContextMenuClientImpl; | 66 class ContextMenuClientImpl; |
| 69 class WebAccessibilityObject; | 67 class WebAccessibilityObject; |
| 68 class WebDevToolsAgentPrivate; |
| 70 class WebFrameImpl; | 69 class WebFrameImpl; |
| 71 class WebKeyboardEvent; | 70 class WebKeyboardEvent; |
| 72 class WebMouseEvent; | 71 class WebMouseEvent; |
| 73 class WebMouseWheelEvent; | 72 class WebMouseWheelEvent; |
| 74 class WebSettingsImpl; | 73 class WebSettingsImpl; |
| 75 | 74 |
| 76 class WebViewImpl : public WebView, public RefCounted<WebViewImpl> { | 75 class WebViewImpl : public WebView, public RefCounted<WebViewImpl> { |
| 77 public: | 76 public: |
| 78 // WebWidget methods: | 77 // WebWidget methods: |
| 79 virtual void close(); | 78 virtual void close(); |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 virtual void dragTargetDragLeave(); | 141 virtual void dragTargetDragLeave(); |
| 143 virtual void dragTargetDrop( | 142 virtual void dragTargetDrop( |
| 144 const WebPoint& clientPoint, | 143 const WebPoint& clientPoint, |
| 145 const WebPoint& screenPoint); | 144 const WebPoint& screenPoint); |
| 146 virtual int dragIdentity(); | 145 virtual int dragIdentity(); |
| 147 virtual bool setDropEffect(bool accept); | 146 virtual bool setDropEffect(bool accept); |
| 148 virtual void inspectElementAt(const WebPoint& point); | 147 virtual void inspectElementAt(const WebPoint& point); |
| 149 virtual WebString inspectorSettings() const; | 148 virtual WebString inspectorSettings() const; |
| 150 virtual void setInspectorSettings(const WebString& settings); | 149 virtual void setInspectorSettings(const WebString& settings); |
| 151 virtual WebDevToolsAgent* devToolsAgent(); | 150 virtual WebDevToolsAgent* devToolsAgent(); |
| 151 virtual void setDevToolsAgent(WebDevToolsAgent*); |
| 152 virtual WebAccessibilityObject accessibilityObject(); | 152 virtual WebAccessibilityObject accessibilityObject(); |
| 153 virtual void applyAutofillSuggestions( | 153 virtual void applyAutofillSuggestions( |
| 154 const WebNode&, | 154 const WebNode&, |
| 155 const WebVector<WebString>& suggestions, | 155 const WebVector<WebString>& suggestions, |
| 156 int defaultSuggestionIndex); | 156 int defaultSuggestionIndex); |
| 157 virtual void hideAutofillPopup(); | 157 virtual void hideAutofillPopup(); |
| 158 | 158 |
| 159 // WebViewImpl | 159 // WebViewImpl |
| 160 | 160 |
| 161 void setIgnoreInputEvents(bool newValue); | 161 void setIgnoreInputEvents(bool newValue); |
| 162 WebDevToolsAgentImpl* devToolsAgentImpl(); | 162 WebDevToolsAgentPrivate* devToolsAgentPrivate() { return m_devToolsAgent.get(); } |
| 163 | 163 |
| 164 const WebPoint& lastMouseDownPoint() const | 164 const WebPoint& lastMouseDownPoint() const |
| 165 { | 165 { |
| 166 return m_lastMouseDownPoint; | 166 return m_lastMouseDownPoint; |
| 167 } | 167 } |
| 168 | 168 |
| 169 WebCore::Frame* focusedWebCoreFrame(); | 169 WebCore::Frame* focusedWebCoreFrame(); |
| 170 | 170 |
| 171 // Returns the currently focused Node or null if no node has focus. | 171 // Returns the currently focused Node or null if no node has focus. |
| 172 WebCore::Node* focusedWebCoreNode(); | 172 WebCore::Node* focusedWebCoreNode(); |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 // The autocomplete popup. Kept around and reused every-time new suggestions | 386 // The autocomplete popup. Kept around and reused every-time new suggestions |
| 387 // should be shown. | 387 // should be shown. |
| 388 RefPtr<WebCore::PopupContainer> m_autocompletePopup; | 388 RefPtr<WebCore::PopupContainer> m_autocompletePopup; |
| 389 | 389 |
| 390 // Whether the autocomplete popup is currently showing. | 390 // Whether the autocomplete popup is currently showing. |
| 391 bool m_autocompletePopupShowing; | 391 bool m_autocompletePopupShowing; |
| 392 | 392 |
| 393 // The autocomplete client. | 393 // The autocomplete client. |
| 394 OwnPtr<AutocompletePopupMenuClient> m_autocompletePopupClient; | 394 OwnPtr<AutocompletePopupMenuClient> m_autocompletePopupClient; |
| 395 | 395 |
| 396 OwnPtr<WebDevToolsAgentImpl> m_devToolsAgent; | 396 OwnPtr<WebDevToolsAgentPrivate> m_devToolsAgent; |
| 397 | 397 |
| 398 // Whether the webview is rendering transparently. | 398 // Whether the webview is rendering transparently. |
| 399 bool m_isTransparent; | 399 bool m_isTransparent; |
| 400 | 400 |
| 401 // Whether the user can press tab to focus links. | 401 // Whether the user can press tab to focus links. |
| 402 bool m_tabsToLinks; | 402 bool m_tabsToLinks; |
| 403 | 403 |
| 404 // Inspector settings. | 404 // Inspector settings. |
| 405 WebString m_inspectorSettings; | 405 WebString m_inspectorSettings; |
| 406 | 406 |
| 407 #if ENABLE(NOTIFICATIONS) | 407 #if ENABLE(NOTIFICATIONS) |
| 408 // The provider of desktop notifications; | 408 // The provider of desktop notifications; |
| 409 NotificationPresenterImpl m_notificationPresenter; | 409 NotificationPresenterImpl m_notificationPresenter; |
| 410 #endif | 410 #endif |
| 411 | 411 |
| 412 static const WebInputEvent* m_currentInputEvent; | 412 static const WebInputEvent* m_currentInputEvent; |
| 413 }; | 413 }; |
| 414 | 414 |
| 415 } // namespace WebKit | 415 } // namespace WebKit |
| 416 | 416 |
| 417 #endif | 417 #endif |
| OLD | NEW |