Index: components/spellcheck/renderer/spellcheck.cc |
diff --git a/chrome/renderer/spellchecker/spellcheck.cc b/components/spellcheck/renderer/spellcheck.cc |
similarity index 97% |
rename from chrome/renderer/spellchecker/spellcheck.cc |
rename to components/spellcheck/renderer/spellcheck.cc |
index 8df94a29c8d6a14d9a770222168558bd4f933e82..c9f834d543f9faa740bb4c71d293d56233bff9f0 100644 |
--- a/chrome/renderer/spellchecker/spellcheck.cc |
+++ b/components/spellcheck/renderer/spellcheck.cc |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "chrome/renderer/spellchecker/spellcheck.h" |
+#include "components/spellcheck/renderer/spellcheck.h" |
#include <stddef.h> |
#include <stdint.h> |
@@ -19,12 +19,13 @@ |
#include "base/threading/thread_task_runner_handle.h" |
#include "build/build_config.h" |
#include "chrome/common/channel_info.h" |
-#include "chrome/common/chrome_switches.h" |
-#include "chrome/common/spellcheck_common.h" |
-#include "chrome/common/spellcheck_messages.h" |
-#include "chrome/common/spellcheck_result.h" |
-#include "chrome/renderer/spellchecker/spellcheck_language.h" |
-#include "chrome/renderer/spellchecker/spellcheck_provider.h" |
+#include "content/public/common/content_switches.h" |
+//#include "chrome/common/chrome_switches.h" |
+#include "components/spellcheck/common/spellcheck_common.h" |
+#include "components/spellcheck/common/spellcheck_messages.h" |
+#include "components/spellcheck/common/spellcheck_result.h" |
+#include "components/spellcheck/renderer/spellcheck_language.h" |
+#include "components/spellcheck/renderer/spellcheck_provider.h" |
#include "content/public/renderer/render_thread.h" |
#include "content/public/renderer/render_view.h" |
#include "content/public/renderer/render_view_visitor.h" |
@@ -199,7 +200,7 @@ void SpellCheck::FillSuggestions( |
optional_suggestions->push_back(suggestion); |
} |
if (optional_suggestions->size() >= |
- chrome::spellcheck_common::kMaxSuggestions) { |
+ spellcheck_common::kMaxSuggestions) { |
break; |
} |
} |