| 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 void loadURLExternally(const ResourceRequest&, NavigationPolicy, con
st String& = String()) override { } | 129 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy, con
st String& = String()) override { } |
| 130 virtual mojo::View* createChildFrame(const KURL&) override { return nullptr;
} | 130 virtual mojo::View* createChildFrame(const KURL&) override { return nullptr;
} |
| 131 | 131 |
| 132 virtual void transitionToCommittedForNewPage() override { } | 132 virtual void transitionToCommittedForNewPage() override { } |
| 133 | 133 |
| 134 virtual void selectorMatchChanged(const Vector<String>&, const Vector<String
>&) override { } | 134 virtual void selectorMatchChanged(const Vector<String>&, const Vector<String
>&) override { } |
| 135 | 135 |
| 136 virtual void documentElementAvailable() override { } | 136 virtual void documentElementAvailable() override { } |
| 137 | 137 |
| 138 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGr
oup, int worldId) override { } | 138 virtual void didCreateScriptContext(v8::Handle<v8::Context>) override { } |
| 139 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId)
override { } | 139 virtual void willReleaseScriptContext(v8::Handle<v8::Context>) override { } |
| 140 }; | 140 }; |
| 141 | 141 |
| 142 class EmptyTextCheckerClient : public TextCheckerClient { | 142 class EmptyTextCheckerClient : public TextCheckerClient { |
| 143 public: | 143 public: |
| 144 ~EmptyTextCheckerClient() { } | 144 ~EmptyTextCheckerClient() { } |
| 145 | 145 |
| 146 virtual bool shouldEraseMarkersAfterChangeSelection(TextCheckingType) const
override { return true; } | 146 virtual bool shouldEraseMarkersAfterChangeSelection(TextCheckingType) const
override { return true; } |
| 147 virtual void checkSpellingOfString(const String&, int*, int*) override { } | 147 virtual void checkSpellingOfString(const String&, int*, int*) override { } |
| 148 virtual String getAutoCorrectSuggestionForMisspelledWord(const String&) over
ride { return String(); } | 148 virtual String getAutoCorrectSuggestionForMisspelledWord(const String&) over
ride { return String(); } |
| 149 virtual void checkGrammarOfString(const String&, Vector<GrammarDetail>&, int
*, int*) override { } | 149 virtual void checkGrammarOfString(const String&, Vector<GrammarDetail>&, int
*, int*) override { } |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 virtual bool canPaste(LocalFrame*, bool defaultValue) const override { retur
n defaultValue; } | 183 virtual bool canPaste(LocalFrame*, bool defaultValue) const override { retur
n defaultValue; } |
| 184 | 184 |
| 185 virtual bool handleKeyboardEvent() override { return false; } | 185 virtual bool handleKeyboardEvent() override { return false; } |
| 186 }; | 186 }; |
| 187 | 187 |
| 188 void fillWithEmptyClients(Page::PageClients&); | 188 void fillWithEmptyClients(Page::PageClients&); |
| 189 | 189 |
| 190 } | 190 } |
| 191 | 191 |
| 192 #endif // SKY_ENGINE_CORE_LOADER_EMPTYCLIENTS_H_ | 192 #endif // SKY_ENGINE_CORE_LOADER_EMPTYCLIENTS_H_ |
| OLD | NEW |