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

Side by Side Diff: chrome/browser/spellchecker/spellchecker_platform_engine.h

Issue 8702019: Use callback_forward.h instead of callback.h where possible. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix include order. Created 9 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file defines the interface that any platform-specific spellchecker 5 // This file defines the interface that any platform-specific spellchecker
6 // needs to implement in order to be used by the browser. 6 // needs to implement in order to be used by the browser.
7 7
8 #ifndef CHROME_BROWSER_SPELLCHECKER_SPELLCHECKER_PLATFORM_ENGINE_H_ 8 #ifndef CHROME_BROWSER_SPELLCHECKER_SPELLCHECKER_PLATFORM_ENGINE_H_
9 #define CHROME_BROWSER_SPELLCHECKER_SPELLCHECKER_PLATFORM_ENGINE_H_ 9 #define CHROME_BROWSER_SPELLCHECKER_SPELLCHECKER_PLATFORM_ENGINE_H_
10 #pragma once 10 #pragma once
11 11
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/callback.h" 15 #include "base/callback_forward.h"
16 #include "base/string16.h" 16 #include "base/string16.h"
17 17
18 class BrowserMessageFilter; 18 class BrowserMessageFilter;
19 19
20 namespace SpellCheckerPlatform { 20 namespace SpellCheckerPlatform {
21 21
22 // Get the languages supported by the platform spellchecker and store them in 22 // Get the languages supported by the platform spellchecker and store them in
23 // |spellcheck_languages|. Note that they must be converted to 23 // |spellcheck_languages|. Note that they must be converted to
24 // Chromium style codes (en-US not en_US). See spellchecker.cc for a full list. 24 // Chromium style codes (en-US not en_US). See spellchecker.cc for a full list.
25 void GetAvailableLanguages(std::vector<std::string>* spellcheck_languages); 25 void GetAvailableLanguages(std::vector<std::string>* spellcheck_languages);
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // not be null. 89 // not be null.
90 void RequestTextCheck(int route_id, 90 void RequestTextCheck(int route_id,
91 int identifier, 91 int identifier,
92 int document_tag, 92 int document_tag,
93 const string16& text, 93 const string16& text,
94 BrowserMessageFilter* destination); 94 BrowserMessageFilter* destination);
95 95
96 } // namespace SpellCheckerPlatform 96 } // namespace SpellCheckerPlatform
97 97
98 #endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECKER_PLATFORM_ENGINE_H_ 98 #endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECKER_PLATFORM_ENGINE_H_
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_store_file.h ('k') | chrome/browser/webdata/web_data_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698