| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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() const override; | 101 IntRect windowResizerRect() 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 float) const override; |
| 106 float nonEmulatedDeviceScaleFactor() const override; |
| 106 WebScreenInfo screenInfo() const override; | 107 WebScreenInfo screenInfo() const override; |
| 107 void contentsSizeChanged(LocalFrame*, const IntSize&) const override; | 108 void contentsSizeChanged(LocalFrame*, const IntSize&) const override; |
| 108 void pageScaleFactorChanged() const override; | 109 void pageScaleFactorChanged() const override; |
| 109 float clampPageScaleFactorToLimits(float scale) const override; | 110 float clampPageScaleFactorToLimits(float scale) const override; |
| 110 void layoutUpdated(LocalFrame*) const override; | 111 void layoutUpdated(LocalFrame*) const override; |
| 111 void showMouseOverURL(const HitTestResult&) override; | 112 void showMouseOverURL(const HitTestResult&) override; |
| 112 void setToolTip(const String& tooltipText, TextDirection) override; | 113 void setToolTip(const String& tooltipText, TextDirection) override; |
| 113 void dispatchViewportPropertiesDidChange(const ViewportDescription&) const o
verride; | 114 void dispatchViewportPropertiesDidChange(const ViewportDescription&) const o
verride; |
| 114 void printDelegate(LocalFrame*) override; | 115 void printDelegate(LocalFrame*) override; |
| 115 void annotatedRegionsChanged() override; | 116 void annotatedRegionsChanged() override; |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 Cursor m_lastSetMouseCursorForTesting; | 204 Cursor m_lastSetMouseCursorForTesting; |
| 204 bool m_cursorOverridden; | 205 bool m_cursorOverridden; |
| 205 bool m_didRequestNonEmptyToolTip; | 206 bool m_didRequestNonEmptyToolTip; |
| 206 }; | 207 }; |
| 207 | 208 |
| 208 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); | 209 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); |
| 209 | 210 |
| 210 } // namespace blink | 211 } // namespace blink |
| 211 | 212 |
| 212 #endif | 213 #endif |
| OLD | NEW |