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

Side by Side Diff: content/public/renderer/content_renderer_client.h

Issue 24702003: [webcrypto] Remove the mock implementation of WebCrypto. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add ContentRendererClient Created 7 years, 2 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
« no previous file with comments | « no previous file | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 11 matching lines...) Expand all
22 class SkBitmap; 22 class SkBitmap;
23 23
24 namespace base { 24 namespace base {
25 class FilePath; 25 class FilePath;
26 class MessageLoop; 26 class MessageLoop;
27 } 27 }
28 28
29 namespace WebKit { 29 namespace WebKit {
30 class WebAudioDevice; 30 class WebAudioDevice;
31 class WebClipboard; 31 class WebClipboard;
32 class WebCrypto;
33 class WebFrame; 32 class WebFrame;
34 class WebMIDIAccessor; 33 class WebMIDIAccessor;
35 class WebMIDIAccessorClient; 34 class WebMIDIAccessorClient;
36 class WebMediaStreamCenter; 35 class WebMediaStreamCenter;
37 class WebMediaStreamCenterClient; 36 class WebMediaStreamCenterClient;
38 class WebPlugin; 37 class WebPlugin;
39 class WebPluginContainer; 38 class WebPluginContainer;
40 class WebPrescientNetworking; 39 class WebPrescientNetworking;
41 class WebRTCPeerConnectionHandler; 40 class WebRTCPeerConnectionHandler;
42 class WebRTCPeerConnectionHandlerClient; 41 class WebRTCPeerConnectionHandlerClient;
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 148
150 // Allows the embedder to override the WebThemeEngine used. If it returns NULL 149 // Allows the embedder to override the WebThemeEngine used. If it returns NULL
151 // the content layer will provide an engine. 150 // the content layer will provide an engine.
152 virtual WebKit::WebThemeEngine* OverrideThemeEngine(); 151 virtual WebKit::WebThemeEngine* OverrideThemeEngine();
153 152
154 // Allows the embedder to override the WebSpeechSynthesizer used. 153 // Allows the embedder to override the WebSpeechSynthesizer used.
155 // If it returns NULL the content layer will provide an engine. 154 // If it returns NULL the content layer will provide an engine.
156 virtual WebKit::WebSpeechSynthesizer* OverrideSpeechSynthesizer( 155 virtual WebKit::WebSpeechSynthesizer* OverrideSpeechSynthesizer(
157 WebKit::WebSpeechSynthesizerClient* client); 156 WebKit::WebSpeechSynthesizerClient* client);
158 157
159 // Allows the embedder to override the WebCrypto used.
160 // If it returns NULL the content layer will handle crypto.
161 virtual WebKit::WebCrypto* OverrideWebCrypto();
162
163 // Returns true if the renderer process should schedule the idle handler when 158 // Returns true if the renderer process should schedule the idle handler when
164 // all widgets are hidden. 159 // all widgets are hidden.
165 virtual bool RunIdleHandlerWhenWidgetsHidden(); 160 virtual bool RunIdleHandlerWhenWidgetsHidden();
166 161
167 // Returns true if a popup window should be allowed. 162 // Returns true if a popup window should be allowed.
168 virtual bool AllowPopup(); 163 virtual bool AllowPopup();
169 164
170 // Returns true if the navigation was handled by the embedder and should be 165 // Returns true if the navigation was handled by the embedder and should be
171 // ignored by WebKit. This method is used by CEF. 166 // ignored by WebKit. This method is used by CEF.
172 virtual bool HandleNavigation(WebKit::WebFrame* frame, 167 virtual bool HandleNavigation(WebKit::WebFrame* frame,
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 257
263 // Returns true if we should apply the cross-site document blocking policy to 258 // Returns true if we should apply the cross-site document blocking policy to
264 // this renderer process. Currently, we apply the policy only to a renderer 259 // this renderer process. Currently, we apply the policy only to a renderer
265 // process running on a normal page from the web. 260 // process running on a normal page from the web.
266 virtual bool ShouldEnableSiteIsolationPolicy() const; 261 virtual bool ShouldEnableSiteIsolationPolicy() const;
267 }; 262 };
268 263
269 } // namespace content 264 } // namespace content
270 265
271 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 266 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698