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

Side by Side Diff: chrome/browser/renderer_host/render_message_filter.h

Issue 6392045: Integrating Mac OS Grammar checker into Chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated the patch to catch up WebKit side changes. Created 9 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_
7 #pragma once 7 #pragma once
8 8
9 #if defined(OS_WIN) 9 #if defined(OS_WIN)
10 #include <windows.h> 10 #include <windows.h>
(...skipping 19 matching lines...) Expand all
30 #include "ui/gfx/native_widget_types.h" 30 #include "ui/gfx/native_widget_types.h"
31 31
32 class ChromeURLRequestContext; 32 class ChromeURLRequestContext;
33 struct FontDescriptor; 33 struct FontDescriptor;
34 class HostContentSettingsMap; 34 class HostContentSettingsMap;
35 class HostZoomMap; 35 class HostZoomMap;
36 class NotificationsPrefsCache; 36 class NotificationsPrefsCache;
37 class PpapiPluginProcessHost; 37 class PpapiPluginProcessHost;
38 class Profile; 38 class Profile;
39 class RenderWidgetHelper; 39 class RenderWidgetHelper;
40 class TextCheckingResult;
40 class URLRequestContextGetter; 41 class URLRequestContextGetter;
41 struct ViewHostMsg_CreateWindow_Params; 42 struct ViewHostMsg_CreateWindow_Params;
42 struct ViewHostMsg_CreateWorker_Params; 43 struct ViewHostMsg_CreateWorker_Params;
43 44
44 namespace webkit { 45 namespace webkit {
45 namespace npapi { 46 namespace npapi {
46 struct WebPluginInfo; 47 struct WebPluginInfo;
47 } 48 }
48 } 49 }
49 50
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 void OnLaunchNaCl(const std::wstring& url, 168 void OnLaunchNaCl(const std::wstring& url,
168 int channel_descriptor, 169 int channel_descriptor,
169 IPC::Message* reply_msg); 170 IPC::Message* reply_msg);
170 void OnGenerateRoutingID(int* route_id); 171 void OnGenerateRoutingID(int* route_id);
171 void OnDownloadUrl(const IPC::Message& message, 172 void OnDownloadUrl(const IPC::Message& message,
172 const GURL& url, 173 const GURL& url,
173 const GURL& referrer); 174 const GURL& referrer);
174 void OnPlatformCheckSpelling(const string16& word, int tag, bool* correct); 175 void OnPlatformCheckSpelling(const string16& word, int tag, bool* correct);
175 void OnPlatformFillSuggestionList(const string16& word, 176 void OnPlatformFillSuggestionList(const string16& word,
176 std::vector<string16>* suggestions); 177 std::vector<string16>* suggestions);
178 void OnRequestTextCheck(int route_id,
179 int identifier,
180 int document_tag,
181 string16 text);
Hironori Bono 2011/02/09 05:43:51 nit: 'string16' -> 'const string16&'?
177 void OnGetDocumentTag(IPC::Message* reply_msg); 182 void OnGetDocumentTag(IPC::Message* reply_msg);
178 void OnDocumentWithTagClosed(int tag); 183 void OnDocumentWithTagClosed(int tag);
179 void OnShowSpellingPanel(bool show); 184 void OnShowSpellingPanel(bool show);
180 void OnUpdateSpellingPanelWithMisspelledWord(const string16& word); 185 void OnUpdateSpellingPanelWithMisspelledWord(const string16& word);
181 void OnDnsPrefetch(const std::vector<std::string>& hostnames); 186 void OnDnsPrefetch(const std::vector<std::string>& hostnames);
182 void OnRendererHistograms(int sequence_number, 187 void OnRendererHistograms(int sequence_number,
183 const std::vector<std::string>& histogram_info); 188 const std::vector<std::string>& histogram_info);
184 #if defined(USE_TCMALLOC) 189 #if defined(USE_TCMALLOC)
185 void OnRendererTcmalloc(base::ProcessId pid, const std::string& output); 190 void OnRendererTcmalloc(base::ProcessId pid, const std::string& output);
186 #endif 191 #endif
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 virtual ~CookiesEnabledCompletion(); 500 virtual ~CookiesEnabledCompletion();
496 501
497 virtual void RunWithParams(const Tuple1<int>& params); 502 virtual void RunWithParams(const Tuple1<int>& params);
498 503
499 private: 504 private:
500 IPC::Message* reply_msg_; 505 IPC::Message* reply_msg_;
501 scoped_refptr<RenderMessageFilter> filter_; 506 scoped_refptr<RenderMessageFilter> filter_;
502 }; 507 };
503 508
504 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ 509 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698