| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 virtual bool runJavaScriptConfirm(LocalFrame*, const WTF::String&) override; | 105 virtual bool runJavaScriptConfirm(LocalFrame*, const WTF::String&) override; |
| 106 virtual bool runJavaScriptPrompt( | 106 virtual bool runJavaScriptPrompt( |
| 107 LocalFrame*, const WTF::String& message, | 107 LocalFrame*, const WTF::String& message, |
| 108 const WTF::String& defaultValue, WTF::String& result) override; | 108 const WTF::String& defaultValue, WTF::String& result) override; |
| 109 virtual void setStatusbarText(const WTF::String& message) override; | 109 virtual void setStatusbarText(const WTF::String& message) override; |
| 110 virtual bool tabsToLinks() override; | 110 virtual bool tabsToLinks() override; |
| 111 virtual IntRect windowResizerRect() const override; | 111 virtual IntRect windowResizerRect() const override; |
| 112 virtual void invalidateRect(const IntRect&) override; | 112 virtual void invalidateRect(const IntRect&) override; |
| 113 virtual void scheduleAnimation() override; | 113 virtual void scheduleAnimation() override; |
| 114 virtual void scheduleAnimationForFrame(LocalFrame* localRoot) override; | 114 virtual void scheduleAnimationForFrame(LocalFrame* localRoot) override; |
| 115 virtual IntRect rootViewToScreen(const IntRect&) const override; | 115 virtual IntRect viewportToScreen(const IntRect&) const override; |
| 116 virtual WebScreenInfo screenInfo() const override; | 116 virtual WebScreenInfo screenInfo() const override; |
| 117 virtual void contentsSizeChanged(LocalFrame*, const IntSize&) const override
; | 117 virtual void contentsSizeChanged(LocalFrame*, const IntSize&) const override
; |
| 118 virtual void pageScaleFactorChanged() const override; | 118 virtual void pageScaleFactorChanged() const override; |
| 119 virtual float clampPageScaleFactorToLimits(float scale) const override; | 119 virtual float clampPageScaleFactorToLimits(float scale) const override; |
| 120 virtual void layoutUpdated(LocalFrame*) const override; | 120 virtual void layoutUpdated(LocalFrame*) const override; |
| 121 virtual void mouseDidMoveOverElement(const HitTestResult&) override; | 121 virtual void mouseDidMoveOverElement(const HitTestResult&) override; |
| 122 virtual void setToolTip(const WTF::String& tooltipText, TextDirection) overr
ide; | 122 virtual void setToolTip(const WTF::String& tooltipText, TextDirection) overr
ide; |
| 123 virtual void dispatchViewportPropertiesDidChange(const ViewportDescription&)
const override; | 123 virtual void dispatchViewportPropertiesDidChange(const ViewportDescription&)
const override; |
| 124 virtual void print(LocalFrame*) override; | 124 virtual void print(LocalFrame*) override; |
| 125 virtual void annotatedRegionsChanged() override; | 125 virtual void annotatedRegionsChanged() override; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 146 // ChromeClient methods: | 146 // ChromeClient methods: |
| 147 virtual void postAccessibilityNotification(AXObject*, AXObjectCache::AXNotif
ication) override; | 147 virtual void postAccessibilityNotification(AXObject*, AXObjectCache::AXNotif
ication) override; |
| 148 virtual String acceptLanguages() override; | 148 virtual String acceptLanguages() override; |
| 149 | 149 |
| 150 // ChromeClientImpl: | 150 // ChromeClientImpl: |
| 151 void setCursorForPlugin(const WebCursorInfo&); | 151 void setCursorForPlugin(const WebCursorInfo&); |
| 152 void setNewWindowNavigationPolicy(WebNavigationPolicy); | 152 void setNewWindowNavigationPolicy(WebNavigationPolicy); |
| 153 | 153 |
| 154 virtual bool hasOpenedPopup() const override; | 154 virtual bool hasOpenedPopup() const override; |
| 155 virtual PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, Popup
MenuClient*) override; | 155 virtual PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, Popup
MenuClient*) override; |
| 156 PagePopup* openPagePopup(PagePopupClient*, const IntRect&); | 156 PagePopup* openPagePopup(PagePopupClient*); |
| 157 void closePagePopup(PagePopup*); | 157 void closePagePopup(PagePopup*); |
| 158 virtual DOMWindow* pagePopupWindowForTesting() const override; | 158 virtual DOMWindow* pagePopupWindowForTesting() const override; |
| 159 | 159 |
| 160 virtual bool shouldRunModalDialogDuringPageDismissal(const DialogType&, cons
t String& dialogMessage, Document::PageDismissalType) const override; | 160 virtual bool shouldRunModalDialogDuringPageDismissal(const DialogType&, cons
t String& dialogMessage, Document::PageDismissalType) const override; |
| 161 | 161 |
| 162 virtual bool requestPointerLock() override; | 162 virtual bool requestPointerLock() override; |
| 163 virtual void requestPointerUnlock() override; | 163 virtual void requestPointerUnlock() override; |
| 164 | 164 |
| 165 // AutofillClient pass throughs: | 165 // AutofillClient pass throughs: |
| 166 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem
ber<Element>>&, LocalFrame*) override; | 166 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem
ber<Element>>&, LocalFrame*) override; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 189 WindowFeatures m_windowFeatures; | 189 WindowFeatures m_windowFeatures; |
| 190 | 190 |
| 191 PagePopupDriver* m_pagePopupDriver; | 191 PagePopupDriver* m_pagePopupDriver; |
| 192 }; | 192 }; |
| 193 | 193 |
| 194 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); | 194 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); |
| 195 | 195 |
| 196 } // namespace blink | 196 } // namespace blink |
| 197 | 197 |
| 198 #endif | 198 #endif |
| OLD | NEW |