| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 virtual void setStatusbarText(const String&) override { } | 118 virtual void setStatusbarText(const String&) override { } |
| 119 | 119 |
| 120 virtual bool tabsToLinks() override { return false; } | 120 virtual bool tabsToLinks() override { return false; } |
| 121 | 121 |
| 122 virtual IntRect windowResizerRect() const override { return IntRect(); } | 122 virtual IntRect windowResizerRect() const override { return IntRect(); } |
| 123 | 123 |
| 124 virtual void invalidateRect(const IntRect&) override { } | 124 virtual void invalidateRect(const IntRect&) override { } |
| 125 virtual void scheduleAnimation() override { } | 125 virtual void scheduleAnimation() override { } |
| 126 | 126 |
| 127 virtual IntRect viewportToScreen(const IntRect& r) const override { return r
; } | 127 virtual IntRect viewportToScreen(const IntRect& r) const override { return r
; } |
| 128 virtual blink::WebScreenInfo screenInfo() const override { return blink::Web
ScreenInfo(); } | 128 virtual WebScreenInfo screenInfo() const override { return WebScreenInfo();
} |
| 129 virtual void contentsSizeChanged(LocalFrame*, const IntSize&) const override
{ } | 129 virtual void contentsSizeChanged(LocalFrame*, const IntSize&) const override
{ } |
| 130 | 130 |
| 131 virtual void mouseDidMoveOverElement(const HitTestResult&) override { } | 131 virtual void mouseDidMoveOverElement(const HitTestResult&) override { } |
| 132 | 132 |
| 133 virtual void setToolTip(const String&, TextDirection) override { } | 133 virtual void setToolTip(const String&, TextDirection) override { } |
| 134 | 134 |
| 135 virtual void print(LocalFrame*) override { } | 135 virtual void print(LocalFrame*) override { } |
| 136 | 136 |
| 137 virtual void enumerateChosenDirectory(FileChooser*) override { } | 137 virtual void enumerateChosenDirectory(FileChooser*) override { } |
| 138 | 138 |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 virtual ObjectContentType objectContentType(const KURL&, const String&, bool
) override { return ObjectContentType(); } | 228 virtual ObjectContentType objectContentType(const KURL&, const String&, bool
) override { return ObjectContentType(); } |
| 229 | 229 |
| 230 virtual void didCreateNewDocument() override { } | 230 virtual void didCreateNewDocument() override { } |
| 231 virtual void dispatchDidClearWindowObjectInMainWorld() override { } | 231 virtual void dispatchDidClearWindowObjectInMainWorld() override { } |
| 232 virtual void documentElementAvailable() override { } | 232 virtual void documentElementAvailable() override { } |
| 233 | 233 |
| 234 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGr
oup, int worldId) override { } | 234 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGr
oup, int worldId) override { } |
| 235 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId)
override { } | 235 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId)
override { } |
| 236 virtual bool allowScriptExtension(const String& extensionName, int extension
Group, int worldId) override { return false; } | 236 virtual bool allowScriptExtension(const String& extensionName, int extension
Group, int worldId) override { return false; } |
| 237 | 237 |
| 238 virtual blink::WebCookieJar* cookieJar() const override { return 0; } | 238 virtual WebCookieJar* cookieJar() const override { return 0; } |
| 239 | 239 |
| 240 virtual void didRequestAutocomplete(HTMLFormElement*) override; | 240 virtual void didRequestAutocomplete(HTMLFormElement*) override; |
| 241 | 241 |
| 242 virtual PassOwnPtr<blink::WebServiceWorkerProvider> createServiceWorkerProvi
der() override; | 242 virtual PassOwnPtr<WebServiceWorkerProvider> createServiceWorkerProvider() o
verride; |
| 243 virtual bool isControlledByServiceWorker(DocumentLoader&) override { return
false; } | 243 virtual bool isControlledByServiceWorker(DocumentLoader&) override { return
false; } |
| 244 virtual int64_t serviceWorkerID(DocumentLoader&) override { return -1; } | 244 virtual int64_t serviceWorkerID(DocumentLoader&) override { return -1; } |
| 245 virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCacheHos
t(blink::WebApplicationCacheHostClient*) override; | 245 virtual PassOwnPtr<WebApplicationCacheHost> createApplicationCacheHost(WebAp
plicationCacheHostClient*) override; |
| 246 }; | 246 }; |
| 247 | 247 |
| 248 class CORE_EXPORT EmptyTextCheckerClient : public TextCheckerClient { | 248 class CORE_EXPORT EmptyTextCheckerClient : public TextCheckerClient { |
| 249 public: | 249 public: |
| 250 ~EmptyTextCheckerClient() { } | 250 ~EmptyTextCheckerClient() { } |
| 251 | 251 |
| 252 virtual bool shouldEraseMarkersAfterChangeSelection(TextCheckingType) const
override { return true; } | 252 virtual bool shouldEraseMarkersAfterChangeSelection(TextCheckingType) const
override { return true; } |
| 253 virtual void checkSpellingOfString(const String&, int*, int*) override { } | 253 virtual void checkSpellingOfString(const String&, int*, int*) override { } |
| 254 virtual String getAutoCorrectSuggestionForMisspelledWord(const String&) over
ride { return String(); } | 254 virtual String getAutoCorrectSuggestionForMisspelledWord(const String&) over
ride { return String(); } |
| 255 virtual void checkGrammarOfString(const String&, Vector<GrammarDetail>&, int
*, int*) override { } | 255 virtual void checkGrammarOfString(const String&, Vector<GrammarDetail>&, int
*, int*) override { } |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 WTF_MAKE_NONCOPYABLE(EmptyDragClient); WTF_MAKE_FAST_ALLOCATED(EmptyDragClie
nt); | 304 WTF_MAKE_NONCOPYABLE(EmptyDragClient); WTF_MAKE_FAST_ALLOCATED(EmptyDragClie
nt); |
| 305 public: | 305 public: |
| 306 EmptyDragClient() { } | 306 EmptyDragClient() { } |
| 307 virtual ~EmptyDragClient() {} | 307 virtual ~EmptyDragClient() {} |
| 308 virtual DragDestinationAction actionMaskForDrag(DragData*) override { return
DragDestinationActionNone; } | 308 virtual DragDestinationAction actionMaskForDrag(DragData*) override { return
DragDestinationActionNone; } |
| 309 virtual void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTra
nsfer*, LocalFrame*, bool) override { } | 309 virtual void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTra
nsfer*, LocalFrame*, bool) override { } |
| 310 }; | 310 }; |
| 311 | 311 |
| 312 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); | 312 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); |
| 313 | 313 |
| 314 } | 314 } // namespace blink |
| 315 | 315 |
| 316 #endif // EmptyClients_h | 316 #endif // EmptyClients_h |
| OLD | NEW |