Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5956)

Unified Diff: chrome/renderer/spellchecker/platform_engine.h

Issue 1204293003: Patch 3: Added files for platform-based spellcheck. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@platform_flag
Patch Set: Comment cleanup Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/spellchecker/platform_engine.h
diff --git a/chrome/renderer/spellchecker/cocoa_spelling_engine_mac.h b/chrome/renderer/spellchecker/platform_engine.h
similarity index 63%
copy from chrome/renderer/spellchecker/cocoa_spelling_engine_mac.h
copy to chrome/renderer/spellchecker/platform_engine.h
index 5cb09bc71f968ce38abf71cba7fdf86abe78e20c..392270b93da8fd0ab2906bb8c4de0810515d840c 100644
--- a/chrome/renderer/spellchecker/cocoa_spelling_engine_mac.h
+++ b/chrome/renderer/spellchecker/platform_engine.h
@@ -1,14 +1,14 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_RENDERER_SPELLCHECKER_NSSPELLCHECKER_ENGINE_H_
-#define CHROME_RENDERER_SPELLCHECKER_NSSPELLCHECKER_ENGINE_H_
+#ifndef CHROME_RENDERER_SPELLCHECKER_PLATFORM_ENGINE_H_
+#define CHROME_RENDERER_SPELLCHECKER_PLATFORM_ENGINE_H_
#include "base/compiler_specific.h"
#include "chrome/renderer/spellchecker/spelling_engine.h"
-class CocoaSpellingEngine : public SpellingEngine {
+class PlatformSpellingEngine : public SpellingEngine {
public:
void Init(base::File bdict_file) override;
bool InitializeIfNeeded() override;
@@ -19,5 +19,5 @@ class CocoaSpellingEngine : public SpellingEngine {
std::vector<base::string16>* optional_suggestions) override;
};
-#endif // CHROME_RENDERER_SPELLCHECKER_NSSPELLCHECKER_ENGINE_H_
+#endif // CHROME_RENDERER_SPELLCHECKER_PLATFORM_ENGINE_H_
please use gerrit instead 2015/07/09 19:45:32 Please make a separate patch that moves (not copie

Powered by Google App Engine
This is Rietveld 408576698