diff options
Diffstat (limited to 'chrome/browser/spellchecker_common.h')
-rw-r--r-- | chrome/browser/spellchecker_common.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/chrome/browser/spellchecker_common.h b/chrome/browser/spellchecker_common.h new file mode 100644 index 0000000..a64b724 --- /dev/null +++ b/chrome/browser/spellchecker_common.h @@ -0,0 +1,22 @@ +// Copyright (c) 2009 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_BROWSER_SPELLCHECKER_COMMON_H_ +#define CHROME_BROWSER_SPELLCHECKER_COMMON_H_ + +#include <string> +#include <vector> + +// Some constants and typedefs that are common to all spellchecker +// files/classes/backends/platforms/whatever. + +typedef std::string Language; +typedef std::vector<Language> Languages; + +static const int kMaxSuggestions = 5; // Max number of dictionary suggestions. + +static const int kMaxAutoCorrectWordSize = 8; + +#endif // CHROME_BROWSER_SPELLCHECKER_COMMON_H_ + |