| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org) | 2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org) |
| 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. | 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. |
| 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
| 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
| 6 * | 6 * |
| 7 * Redistribution and use in source and binary forms, with or without | 7 * Redistribution and use in source and binary forms, with or without |
| 8 * modification, are permitted provided that the following conditions | 8 * modification, are permitted provided that the following conditions |
| 9 * are met: | 9 * are met: |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 | 161 |
| 162 bool hasOpenedPopup() const override { return false; } | 162 bool hasOpenedPopup() const override { return false; } |
| 163 PopupMenu* openPopupMenu(LocalFrame&, HTMLSelectElement&) override; | 163 PopupMenu* openPopupMenu(LocalFrame&, HTMLSelectElement&) override; |
| 164 DOMWindow* pagePopupWindowForTesting() const override { return nullptr; } | 164 DOMWindow* pagePopupWindowForTesting() const override { return nullptr; } |
| 165 | 165 |
| 166 void setStatusbarText(const String&) override {} | 166 void setStatusbarText(const String&) override {} |
| 167 | 167 |
| 168 bool tabsToLinks() override { return false; } | 168 bool tabsToLinks() override { return false; } |
| 169 | 169 |
| 170 void invalidateRect(const IntRect&) override {} | 170 void invalidateRect(const IntRect&) override {} |
| 171 void scheduleAnimation(Widget*) override {} | 171 void scheduleAnimation(FrameViewBase*) override {} |
| 172 | 172 |
| 173 IntRect viewportToScreen(const IntRect& r, const Widget*) const override { | 173 IntRect viewportToScreen(const IntRect& r, |
| 174 const FrameViewBase*) const override { |
| 174 return r; | 175 return r; |
| 175 } | 176 } |
| 176 float windowToViewportScalar(const float s) const override { return s; } | 177 float windowToViewportScalar(const float s) const override { return s; } |
| 177 WebScreenInfo screenInfo() const override { return WebScreenInfo(); } | 178 WebScreenInfo screenInfo() const override { return WebScreenInfo(); } |
| 178 void contentsSizeChanged(LocalFrame*, const IntSize&) const override {} | 179 void contentsSizeChanged(LocalFrame*, const IntSize&) const override {} |
| 179 | 180 |
| 180 void showMouseOverURL(const HitTestResult&) override {} | 181 void showMouseOverURL(const HitTestResult&) override {} |
| 181 | 182 |
| 182 void setToolTip(LocalFrame&, const String&, TextDirection) override {} | 183 void setToolTip(LocalFrame&, const String&, TextDirection) override {} |
| 183 | 184 |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 void didRunInsecureContent(SecurityOrigin*, const KURL&) override {} | 316 void didRunInsecureContent(SecurityOrigin*, const KURL&) override {} |
| 316 void didDetectXSS(const KURL&, bool) override {} | 317 void didDetectXSS(const KURL&, bool) override {} |
| 317 void didDispatchPingLoader(const KURL&) override {} | 318 void didDispatchPingLoader(const KURL&) override {} |
| 318 void didDisplayContentWithCertificateErrors(const KURL&) override {} | 319 void didDisplayContentWithCertificateErrors(const KURL&) override {} |
| 319 void didRunContentWithCertificateErrors(const KURL&) override {} | 320 void didRunContentWithCertificateErrors(const KURL&) override {} |
| 320 void selectorMatchChanged(const Vector<String>&, | 321 void selectorMatchChanged(const Vector<String>&, |
| 321 const Vector<String>&) override {} | 322 const Vector<String>&) override {} |
| 322 LocalFrame* createFrame(const FrameLoadRequest&, | 323 LocalFrame* createFrame(const FrameLoadRequest&, |
| 323 const AtomicString&, | 324 const AtomicString&, |
| 324 HTMLFrameOwnerElement*) override; | 325 HTMLFrameOwnerElement*) override; |
| 325 Widget* createPlugin(HTMLPlugInElement*, | 326 FrameViewBase* createPlugin(HTMLPlugInElement*, |
| 326 const KURL&, | 327 const KURL&, |
| 327 const Vector<String>&, | 328 const Vector<String>&, |
| 328 const Vector<String>&, | 329 const Vector<String>&, |
| 329 const String&, | 330 const String&, |
| 330 bool, | 331 bool, |
| 331 DetachedPluginPolicy) override; | 332 DetachedPluginPolicy) override; |
| 332 bool canCreatePluginWithoutRenderer(const String& mimeType) const override { | 333 bool canCreatePluginWithoutRenderer(const String& mimeType) const override { |
| 333 return false; | 334 return false; |
| 334 } | 335 } |
| 335 std::unique_ptr<WebMediaPlayer> createWebMediaPlayer( | 336 std::unique_ptr<WebMediaPlayer> createWebMediaPlayer( |
| 336 HTMLMediaElement&, | 337 HTMLMediaElement&, |
| 337 const WebMediaPlayerSource&, | 338 const WebMediaPlayerSource&, |
| 338 WebMediaPlayerClient*) override; | 339 WebMediaPlayerClient*) override; |
| 339 WebRemotePlaybackClient* createWebRemotePlaybackClient( | 340 WebRemotePlaybackClient* createWebRemotePlaybackClient( |
| 340 HTMLMediaElement&) override; | 341 HTMLMediaElement&) override; |
| 341 | 342 |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 466 Frame* nextSibling() const override { return nullptr; } | 467 Frame* nextSibling() const override { return nullptr; } |
| 467 Frame* firstChild() const override { return nullptr; } | 468 Frame* firstChild() const override { return nullptr; } |
| 468 void frameFocused() const override {} | 469 void frameFocused() const override {} |
| 469 }; | 470 }; |
| 470 | 471 |
| 471 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); | 472 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); |
| 472 | 473 |
| 473 } // namespace blink | 474 } // namespace blink |
| 474 | 475 |
| 475 #endif // EmptyClients_h | 476 #endif // EmptyClients_h |
| OLD | NEW |