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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 void CloseWindowSoon() override; | 103 void CloseWindowSoon() override; |
104 bool OpenJavaScriptAlertDelegate(LocalFrame*, const String&) override; | 104 bool OpenJavaScriptAlertDelegate(LocalFrame*, const String&) override; |
105 bool OpenJavaScriptConfirmDelegate(LocalFrame*, const String&) override; | 105 bool OpenJavaScriptConfirmDelegate(LocalFrame*, const String&) override; |
106 bool OpenJavaScriptPromptDelegate(LocalFrame*, | 106 bool OpenJavaScriptPromptDelegate(LocalFrame*, |
107 const String& message, | 107 const String& message, |
108 const String& default_value, | 108 const String& default_value, |
109 String& result) override; | 109 String& result) override; |
110 void SetStatusbarText(const String& message) override; | 110 void SetStatusbarText(const String& message) override; |
111 bool TabsToLinks() override; | 111 bool TabsToLinks() override; |
112 void InvalidateRect(const IntRect&) override; | 112 void InvalidateRect(const IntRect&) override; |
113 void ScheduleAnimation(LocalFrame*) override; | 113 void ScheduleAnimation(const PlatformLocalFrame*) override; |
114 IntRect ViewportToScreen(const IntRect&, const FrameViewBase*) const override; | 114 IntRect ViewportToScreen(const IntRect&, |
| 115 const PlatformLocalFrame*) const override; |
115 float WindowToViewportScalar(const float) const override; | 116 float WindowToViewportScalar(const float) const override; |
116 WebScreenInfo GetScreenInfo() const override; | 117 WebScreenInfo GetScreenInfo() const override; |
117 WTF::Optional<IntRect> VisibleContentRectForPainting() const override; | 118 WTF::Optional<IntRect> VisibleContentRectForPainting() const override; |
118 void ContentsSizeChanged(LocalFrame*, const IntSize&) const override; | 119 void ContentsSizeChanged(LocalFrame*, const IntSize&) const override; |
119 void PageScaleFactorChanged() const override; | 120 void PageScaleFactorChanged() const override; |
120 float ClampPageScaleFactorToLimits(float scale) const override; | 121 float ClampPageScaleFactorToLimits(float scale) const override; |
121 void MainFrameScrollOffsetChanged() const override; | 122 void MainFrameScrollOffsetChanged() const override; |
122 void ResizeAfterLayout(LocalFrame*) const override; | 123 void ResizeAfterLayout(LocalFrame*) const override; |
123 void LayoutUpdated(LocalFrame*) const override; | 124 void LayoutUpdated(LocalFrame*) const override; |
124 void ShowMouseOverURL(const HitTestResult&) override; | 125 void ShowMouseOverURL(const HitTestResult&) override; |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 | 255 |
255 DEFINE_TYPE_CASTS(ChromeClientImpl, | 256 DEFINE_TYPE_CASTS(ChromeClientImpl, |
256 ChromeClient, | 257 ChromeClient, |
257 client, | 258 client, |
258 client->IsChromeClientImpl(), | 259 client->IsChromeClientImpl(), |
259 client.IsChromeClientImpl()); | 260 client.IsChromeClientImpl()); |
260 | 261 |
261 } // namespace blink | 262 } // namespace blink |
262 | 263 |
263 #endif | 264 #endif |
OLD | NEW |