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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 | 128 |
129 virtual IntRect windowResizerRect() const OVERRIDE { return IntRect(); } | 129 virtual IntRect windowResizerRect() const OVERRIDE { return IntRect(); } |
130 | 130 |
131 virtual void invalidateContentsAndRootView(const IntRect&) OVERRIDE { } | 131 virtual void invalidateContentsAndRootView(const IntRect&) OVERRIDE { } |
132 virtual void invalidateContentsForSlowScroll(const IntRect&) OVERRIDE { } | 132 virtual void invalidateContentsForSlowScroll(const IntRect&) OVERRIDE { } |
133 virtual void scroll(const IntSize&, const IntRect&, const IntRect&) OVERRIDE
{ } | 133 virtual void scroll(const IntSize&, const IntRect&, const IntRect&) OVERRIDE
{ } |
134 virtual void scheduleAnimation() OVERRIDE { } | 134 virtual void scheduleAnimation() OVERRIDE { } |
135 | 135 |
136 virtual IntPoint screenToRootView(const IntPoint& p) const OVERRIDE { return
p; } | 136 virtual IntPoint screenToRootView(const IntPoint& p) const OVERRIDE { return
p; } |
137 virtual IntRect rootViewToScreen(const IntRect& r) const OVERRIDE { return r
; } | 137 virtual IntRect rootViewToScreen(const IntRect& r) const OVERRIDE { return r
; } |
138 virtual WebKit::WebScreenInfo screenInfo() const OVERRIDE { return WebKit::W
ebScreenInfo(); } | 138 virtual blink::WebScreenInfo screenInfo() const OVERRIDE { return blink::Web
ScreenInfo(); } |
139 virtual void contentsSizeChanged(Frame*, const IntSize&) const OVERRIDE { } | 139 virtual void contentsSizeChanged(Frame*, const IntSize&) const OVERRIDE { } |
140 | 140 |
141 virtual void mouseDidMoveOverElement(const HitTestResult&, unsigned) OVERRID
E { } | 141 virtual void mouseDidMoveOverElement(const HitTestResult&, unsigned) OVERRID
E { } |
142 | 142 |
143 virtual void setToolTip(const String&, TextDirection) OVERRIDE { } | 143 virtual void setToolTip(const String&, TextDirection) OVERRIDE { } |
144 | 144 |
145 virtual void print(Frame*) OVERRIDE { } | 145 virtual void print(Frame*) OVERRIDE { } |
146 | 146 |
147 virtual void enumerateChosenDirectory(FileChooser*) OVERRIDE { } | 147 virtual void enumerateChosenDirectory(FileChooser*) OVERRIDE { } |
148 | 148 |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 | 238 |
239 virtual ObjectContentType objectContentType(const KURL&, const String&, bool
) OVERRIDE { return ObjectContentType(); } | 239 virtual ObjectContentType objectContentType(const KURL&, const String&, bool
) OVERRIDE { return ObjectContentType(); } |
240 | 240 |
241 virtual void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld*) OVERRIDE
{ } | 241 virtual void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld*) OVERRIDE
{ } |
242 virtual void documentElementAvailable() OVERRIDE { } | 242 virtual void documentElementAvailable() OVERRIDE { } |
243 | 243 |
244 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGr
oup, int worldId) OVERRIDE { } | 244 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGr
oup, int worldId) OVERRIDE { } |
245 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId)
OVERRIDE { } | 245 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId)
OVERRIDE { } |
246 virtual bool allowScriptExtension(const String& extensionName, int extension
Group, int worldId) OVERRIDE { return false; } | 246 virtual bool allowScriptExtension(const String& extensionName, int extension
Group, int worldId) OVERRIDE { return false; } |
247 | 247 |
248 virtual WebKit::WebCookieJar* cookieJar() const { return 0; } | 248 virtual blink::WebCookieJar* cookieJar() const { return 0; } |
249 | 249 |
250 virtual void didRequestAutocomplete(PassRefPtr<FormState>) OVERRIDE; | 250 virtual void didRequestAutocomplete(PassRefPtr<FormState>) OVERRIDE; |
251 virtual PassOwnPtr<WebKit::WebServiceWorkerProvider> createServiceWorkerProv
ider(PassOwnPtr<WebKit::WebServiceWorkerProviderClient>) OVERRIDE; | 251 virtual PassOwnPtr<blink::WebServiceWorkerProvider> createServiceWorkerProvi
der(PassOwnPtr<blink::WebServiceWorkerProviderClient>) OVERRIDE; |
252 }; | 252 }; |
253 | 253 |
254 class EmptyTextCheckerClient : public TextCheckerClient { | 254 class EmptyTextCheckerClient : public TextCheckerClient { |
255 public: | 255 public: |
256 virtual bool shouldEraseMarkersAfterChangeSelection(TextCheckingType) const
OVERRIDE { return true; } | 256 virtual bool shouldEraseMarkersAfterChangeSelection(TextCheckingType) const
OVERRIDE { return true; } |
257 virtual void checkSpellingOfString(const String&, int*, int*) OVERRIDE { } | 257 virtual void checkSpellingOfString(const String&, int*, int*) OVERRIDE { } |
258 virtual String getAutoCorrectSuggestionForMisspelledWord(const String&) OVER
RIDE { return String(); } | 258 virtual String getAutoCorrectSuggestionForMisspelledWord(const String&) OVER
RIDE { return String(); } |
259 virtual void checkGrammarOfString(const String&, Vector<GrammarDetail>&, int
*, int*) OVERRIDE { } | 259 virtual void checkGrammarOfString(const String&, Vector<GrammarDetail>&, int
*, int*) OVERRIDE { } |
260 virtual void requestCheckingOfString(PassRefPtr<TextCheckingRequest>) OVERRI
DE; | 260 virtual void requestCheckingOfString(PassRefPtr<TextCheckingRequest>) OVERRI
DE; |
261 }; | 261 }; |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 virtual int backListCount() OVERRIDE { return 0; } | 339 virtual int backListCount() OVERRIDE { return 0; } |
340 virtual int forwardListCount() OVERRIDE { return 0; } | 340 virtual int forwardListCount() OVERRIDE { return 0; } |
341 virtual int backForwardListCount() OVERRIDE { return 0; } | 341 virtual int backForwardListCount() OVERRIDE { return 0; } |
342 }; | 342 }; |
343 | 343 |
344 void fillWithEmptyClients(Page::PageClients&); | 344 void fillWithEmptyClients(Page::PageClients&); |
345 | 345 |
346 } | 346 } |
347 | 347 |
348 #endif // EmptyClients_h | 348 #endif // EmptyClients_h |
OLD | NEW |