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

Side by Side Diff: content/renderer/renderer_webkitplatformsupport_impl.h

Issue 20860003: Remove hyphenation code from Chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 4 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
6 #define CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 6 #define CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/platform_file.h" 10 #include "base/platform_file.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 void set_plugin_refresh_allowed(bool plugin_refresh_allowed) { 52 void set_plugin_refresh_allowed(bool plugin_refresh_allowed) {
53 plugin_refresh_allowed_ = plugin_refresh_allowed; 53 plugin_refresh_allowed_ = plugin_refresh_allowed;
54 } 54 }
55 // Platform methods: 55 // Platform methods:
56 virtual WebKit::WebClipboard* clipboard(); 56 virtual WebKit::WebClipboard* clipboard();
57 virtual WebKit::WebMimeRegistry* mimeRegistry(); 57 virtual WebKit::WebMimeRegistry* mimeRegistry();
58 virtual WebKit::WebFileUtilities* fileUtilities(); 58 virtual WebKit::WebFileUtilities* fileUtilities();
59 virtual WebKit::WebSandboxSupport* sandboxSupport(); 59 virtual WebKit::WebSandboxSupport* sandboxSupport();
60 virtual WebKit::WebCookieJar* cookieJar(); 60 virtual WebKit::WebCookieJar* cookieJar();
61 virtual WebKit::WebHyphenator* hyphenator();
62 virtual WebKit::WebThemeEngine* themeEngine(); 61 virtual WebKit::WebThemeEngine* themeEngine();
63 virtual WebKit::WebSpeechSynthesizer* createSpeechSynthesizer( 62 virtual WebKit::WebSpeechSynthesizer* createSpeechSynthesizer(
64 WebKit::WebSpeechSynthesizerClient* client); 63 WebKit::WebSpeechSynthesizerClient* client);
65 virtual bool sandboxEnabled(); 64 virtual bool sandboxEnabled();
66 virtual unsigned long long visitedLinkHash( 65 virtual unsigned long long visitedLinkHash(
67 const char* canonicalURL, size_t length); 66 const char* canonicalURL, size_t length);
68 virtual bool isLinkVisited(unsigned long long linkHash); 67 virtual bool isLinkVisited(unsigned long long linkHash);
69 virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); 68 virtual WebKit::WebMessagePortChannel* createMessagePortChannel();
70 virtual void prefetchHostName(const WebKit::WebString&); 69 virtual void prefetchHostName(const WebKit::WebString&);
71 virtual WebKit::WebPrescientNetworking* prescientNetworking(); 70 virtual WebKit::WebPrescientNetworking* prescientNetworking();
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 174
176 class FileUtilities; 175 class FileUtilities;
177 scoped_ptr<FileUtilities> file_utilities_; 176 scoped_ptr<FileUtilities> file_utilities_;
178 177
179 class MimeRegistry; 178 class MimeRegistry;
180 scoped_ptr<MimeRegistry> mime_registry_; 179 scoped_ptr<MimeRegistry> mime_registry_;
181 180
182 class SandboxSupport; 181 class SandboxSupport;
183 scoped_ptr<SandboxSupport> sandbox_support_; 182 scoped_ptr<SandboxSupport> sandbox_support_;
184 183
185 class Hyphenator;
186 scoped_ptr<Hyphenator> hyphenator_;
187
188 // This counter keeps track of the number of times sudden termination is 184 // This counter keeps track of the number of times sudden termination is
189 // enabled or disabled. It starts at 0 (enabled) and for every disable 185 // enabled or disabled. It starts at 0 (enabled) and for every disable
190 // increments by 1, for every enable decrements by 1. When it reaches 0, 186 // increments by 1, for every enable decrements by 1. When it reaches 0,
191 // we tell the browser to enable fast termination. 187 // we tell the browser to enable fast termination.
192 int sudden_termination_disables_; 188 int sudden_termination_disables_;
193 189
194 // If true, then a GetPlugins call is allowed to rescan the disk. 190 // If true, then a GetPlugins call is allowed to rescan the disk.
195 bool plugin_refresh_allowed_; 191 bool plugin_refresh_allowed_;
196 192
197 // Implementation of the WebSharedWorkerRepository APIs (provides an interface 193 // Implementation of the WebSharedWorkerRepository APIs (provides an interface
(...skipping 18 matching lines...) Expand all
216 scoped_refptr<cc::ContextProvider> shared_offscreen_context_; 212 scoped_refptr<cc::ContextProvider> shared_offscreen_context_;
217 213
218 webkit::WebCompositorSupportImpl compositor_support_; 214 webkit::WebCompositorSupportImpl compositor_support_;
219 215
220 scoped_ptr<WebCryptoImpl> web_crypto_; 216 scoped_ptr<WebCryptoImpl> web_crypto_;
221 }; 217 };
222 218
223 } // namespace content 219 } // namespace content
224 220
225 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 221 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/hyphenator/hyphenator_unittest.cc ('k') | content/renderer/renderer_webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698