| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 bool openJavaScriptConfirmDelegate(LocalFrame*, const String&) override; | 95 bool openJavaScriptConfirmDelegate(LocalFrame*, const String&) override; |
| 96 bool openJavaScriptPromptDelegate( | 96 bool openJavaScriptPromptDelegate( |
| 97 LocalFrame*, const String& message, | 97 LocalFrame*, const String& message, |
| 98 const String& defaultValue, String& result) override; | 98 const String& defaultValue, String& result) override; |
| 99 void setStatusbarText(const String& message) override; | 99 void setStatusbarText(const String& message) override; |
| 100 bool tabsToLinks() override; | 100 bool tabsToLinks() override; |
| 101 IntRect windowResizerRect(LocalFrame&) const override; | 101 IntRect windowResizerRect(LocalFrame&) const override; |
| 102 void invalidateRect(const IntRect&) override; | 102 void invalidateRect(const IntRect&) override; |
| 103 void scheduleAnimation(Widget*) override; | 103 void scheduleAnimation(Widget*) override; |
| 104 IntRect viewportToScreen(const IntRect&, const Widget*) const override; | 104 IntRect viewportToScreen(const IntRect&, const Widget*) const override; |
| 105 float windowToViewportScalar(const float) const override; | 105 float windowToViewportScalar(const Widget&, const float) const override; |
| 106 WebScreenInfo screenInfo() const override; | 106 WebScreenInfo screenInfo() const override; |
| 107 WTF::Optional<IntRect> visibleContentRectForPainting() const override; | 107 WTF::Optional<IntRect> visibleContentRectForPainting() const override; |
| 108 void contentsSizeChanged(LocalFrame*, const IntSize&) const override; | 108 void contentsSizeChanged(LocalFrame*, const IntSize&) const override; |
| 109 void pageScaleFactorChanged() const override; | 109 void pageScaleFactorChanged() const override; |
| 110 float clampPageScaleFactorToLimits(float scale) const override; | 110 float clampPageScaleFactorToLimits(float scale) const override; |
| 111 void mainFrameScrollOffsetChanged() const override; | 111 void mainFrameScrollOffsetChanged() const override; |
| 112 void layoutUpdated(LocalFrame*) const override; | 112 void layoutUpdated(LocalFrame*) const override; |
| 113 void showMouseOverURL(const HitTestResult&) override; | 113 void showMouseOverURL(const HitTestResult&) override; |
| 114 void setToolTip(const String& tooltipText, TextDirection) override; | 114 void setToolTip(const String& tooltipText, TextDirection) override; |
| 115 void dispatchViewportPropertiesDidChange(const ViewportDescription&) const o
verride; | 115 void dispatchViewportPropertiesDidChange(const ViewportDescription&) const o
verride; |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 Cursor m_lastSetMouseCursorForTesting; | 208 Cursor m_lastSetMouseCursorForTesting; |
| 209 bool m_cursorOverridden; | 209 bool m_cursorOverridden; |
| 210 bool m_didRequestNonEmptyToolTip; | 210 bool m_didRequestNonEmptyToolTip; |
| 211 }; | 211 }; |
| 212 | 212 |
| 213 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); | 213 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); |
| 214 | 214 |
| 215 } // namespace blink | 215 } // namespace blink |
| 216 | 216 |
| 217 #endif | 217 #endif |
| OLD | NEW |