diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-15 22:01:57 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-15 22:01:57 +0000 |
commit | 8939e9ecf23f09460c91543c783bed0bac780014 (patch) | |
tree | bd6930f74b05846299da0283c9da3f4c39fa1b24 /webkit/glue/editor_client_impl.cc | |
parent | 10e42bf623bcc526e25d5b22760cce3d0766039b (diff) | |
download | chromium_src-8939e9ecf23f09460c91543c783bed0bac780014.zip chromium_src-8939e9ecf23f09460c91543c783bed0bac780014.tar.gz chromium_src-8939e9ecf23f09460c91543c783bed0bac780014.tar.bz2 |
Move many files that were suffixed Win.cpp to Chromium.cpp, and place them in chromium/ subdirectories. We still build these files with PLATFORM(WIN) defined.
In this change, I also killed off LogWin.{h,cpp} since we don't use it. So, you will see some changes related to that.
R=dglazkov,tony
Review URL: http://codereview.chromium.org/7419
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3427 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/editor_client_impl.cc')
-rw-r--r-- | webkit/glue/editor_client_impl.cc | 50 |
1 files changed, 21 insertions, 29 deletions
diff --git a/webkit/glue/editor_client_impl.cc b/webkit/glue/editor_client_impl.cc index ca8f372..31ed6a0 100644 --- a/webkit/glue/editor_client_impl.cc +++ b/webkit/glue/editor_client_impl.cc @@ -20,7 +20,6 @@ #pragma warning(pop) #undef LOG - #include "base/string_util.h" #include "webkit/glue/editor_client_impl.h" #include "webkit/glue/glue_util.h" @@ -28,11 +27,6 @@ #include "webkit/glue/webview.h" #include "webkit/glue/webview_impl.h" -// The notImplemented() from NotImplemented.h is now being dragged in via -// webview_impl.h. We want the one from LogWin.h instead. -#undef notImplemented -#include "LogWin.h" - // Arbitrary depth limit for the undo stack, to keep it from using // unbounded memory. This is the maximum number of distinct undoable // actions -- unbroken stretches of typed characters are coalesced @@ -105,25 +99,23 @@ bool EditorClientImpl::isContinuousSpellCheckingEnabled() { } void EditorClientImpl::toggleContinuousSpellChecking() { - notImplemented(); + NOTIMPLEMENTED(); } bool EditorClientImpl::isGrammarCheckingEnabled() { - notImplemented(); return false; } void EditorClientImpl::toggleGrammarChecking() { - notImplemented(); + NOTIMPLEMENTED(); } int EditorClientImpl::spellCheckerDocumentTag() { - notImplemented(); + NOTIMPLEMENTED(); return 0; } bool EditorClientImpl::isEditable() { - notImplemented(); return false; } @@ -226,7 +218,7 @@ bool EditorClientImpl::shouldApplyStyle(WebCore::CSSStyleDeclaration* style, bool EditorClientImpl::shouldMoveRangeAfterDelete( WebCore::Range* /*range*/, WebCore::Range* /*rangeToBeReplaced*/) { - notImplemented(); + NOTIMPLEMENTED(); return true; } @@ -282,11 +274,11 @@ void EditorClientImpl::didEndEditing() { } void EditorClientImpl::didWriteSelectionToPasteboard() { - notImplemented(); + NOTIMPLEMENTED(); } void EditorClientImpl::didSetSelectionTypesForPasteboard() { - notImplemented(); + NOTIMPLEMENTED(); } void EditorClientImpl::registerCommandForUndo( @@ -562,17 +554,17 @@ void EditorClientImpl::handleKeyboardEvent(WebCore::KeyboardEvent* evt) { } void EditorClientImpl::handleInputMethodKeydown(WebCore::KeyboardEvent* keyEvent) { - notImplemented(); + NOTIMPLEMENTED(); } void EditorClientImpl::textFieldDidBeginEditing(WebCore::Element*) { - notImplemented(); + NOTIMPLEMENTED(); } void EditorClientImpl::textFieldDidEndEditing(WebCore::Element*) { // Notification that focus was lost. // Be careful with this, it's also sent when the page is being closed. - notImplemented(); + NOTIMPLEMENTED(); } void EditorClientImpl::textDidChangeInTextField(WebCore::Element* element) { @@ -591,36 +583,36 @@ bool EditorClientImpl::doTextFieldCommandFromEvent(WebCore::Element*, } void EditorClientImpl::textWillBeDeletedInTextField(WebCore::Element*) { - notImplemented(); + NOTIMPLEMENTED(); } void EditorClientImpl::textDidChangeInTextArea(WebCore::Element*) { - notImplemented(); + NOTIMPLEMENTED(); } #if defined(OS_MACOSX) // TODO(pinkerton): implement these when we get to copy/paste NSData* EditorClientImpl::dataForArchivedSelection(WebCore::Frame*) { - notImplemented(); + NOTIMPLEMENTED(); } NSString* EditorClientImpl::userVisibleString(NSURL*) { - notImplemented(); + NOTIMPLEMENTED(); } #ifdef BUILDING_ON_TIGER NSArray* EditorClientImpl::pasteboardTypesForSelection(WebCore::Frame*) { - notImplemented(); + NOTIMPLEMENTED(); } #endif #endif void EditorClientImpl::ignoreWordInSpellDocument(const WebCore::String&) { - notImplemented(); + NOTIMPLEMENTED(); } void EditorClientImpl::learnWord(const WebCore::String&) { - notImplemented(); + NOTIMPLEMENTED(); } void EditorClientImpl::checkSpellingOfString(const UChar* str, int length, @@ -652,7 +644,7 @@ void EditorClientImpl::checkGrammarOfString(const UChar*, int length, WTF::Vector<WebCore::GrammarDetail>&, int* badGrammarLocation, int* badGrammarLength) { - notImplemented(); + NOTIMPLEMENTED(); if (badGrammarLocation) *badGrammarLocation = 0; if (badGrammarLength) @@ -661,15 +653,15 @@ void EditorClientImpl::checkGrammarOfString(const UChar*, int length, void EditorClientImpl::updateSpellingUIWithGrammarString(const WebCore::String&, const WebCore::GrammarDetail& detail) { - notImplemented(); + NOTIMPLEMENTED(); } void EditorClientImpl::updateSpellingUIWithMisspelledWord(const WebCore::String&) { - notImplemented(); + NOTIMPLEMENTED(); } void EditorClientImpl::showSpellingUI(bool show) { - notImplemented(); + NOTIMPLEMENTED(); } bool EditorClientImpl::spellingUIIsShowing() { @@ -678,7 +670,7 @@ bool EditorClientImpl::spellingUIIsShowing() { void EditorClientImpl::getGuessesForWord(const WebCore::String&, WTF::Vector<WebCore::String>& guesses) { - notImplemented(); + NOTIMPLEMENTED(); } void EditorClientImpl::setInputMethodState(bool enabled) { |