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

Side by Side Diff: content/shell/renderer/shell_content_renderer_client.h

Issue 19594005: Use a mock implementation of Platform::crypto() for layout tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase onto master 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_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_
6 #define CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ 6 #define CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 virtual WebKit::WebMediaStreamCenter* OverrideCreateWebMediaStreamCenter( 50 virtual WebKit::WebMediaStreamCenter* OverrideCreateWebMediaStreamCenter(
51 WebKit::WebMediaStreamCenterClient* client) OVERRIDE; 51 WebKit::WebMediaStreamCenterClient* client) OVERRIDE;
52 virtual WebKit::WebRTCPeerConnectionHandler* 52 virtual WebKit::WebRTCPeerConnectionHandler*
53 OverrideCreateWebRTCPeerConnectionHandler( 53 OverrideCreateWebRTCPeerConnectionHandler(
54 WebKit::WebRTCPeerConnectionHandlerClient* client) OVERRIDE; 54 WebKit::WebRTCPeerConnectionHandlerClient* client) OVERRIDE;
55 virtual WebKit::WebMIDIAccessor* OverrideCreateMIDIAccessor( 55 virtual WebKit::WebMIDIAccessor* OverrideCreateMIDIAccessor(
56 WebKit::WebMIDIAccessorClient* client) OVERRIDE; 56 WebKit::WebMIDIAccessorClient* client) OVERRIDE;
57 virtual WebKit::WebAudioDevice* OverrideCreateAudioDevice( 57 virtual WebKit::WebAudioDevice* OverrideCreateAudioDevice(
58 double sample_rate) OVERRIDE; 58 double sample_rate) OVERRIDE;
59 virtual WebKit::WebClipboard* OverrideWebClipboard() OVERRIDE; 59 virtual WebKit::WebClipboard* OverrideWebClipboard() OVERRIDE;
60 virtual WebKit::WebCrypto* OverrideWebCrypto() OVERRIDE;
60 virtual WebKit::WebHyphenator* OverrideWebHyphenator() OVERRIDE; 61 virtual WebKit::WebHyphenator* OverrideWebHyphenator() OVERRIDE;
61 virtual WebKit::WebThemeEngine* OverrideThemeEngine() OVERRIDE; 62 virtual WebKit::WebThemeEngine* OverrideThemeEngine() OVERRIDE;
62 virtual bool AllowBrowserPlugin( 63 virtual bool AllowBrowserPlugin(
63 WebKit::WebPluginContainer* container) const OVERRIDE; 64 WebKit::WebPluginContainer* container) const OVERRIDE;
64 65
65 private: 66 private:
66 void WebTestProxyCreated(RenderView* render_view, 67 void WebTestProxyCreated(RenderView* render_view,
67 WebTestRunner::WebTestProxyBase* proxy); 68 WebTestRunner::WebTestProxyBase* proxy);
68 69
69 scoped_ptr<ShellRenderProcessObserver> shell_observer_; 70 scoped_ptr<ShellRenderProcessObserver> shell_observer_;
70 scoped_ptr<MockWebClipboardImpl> clipboard_; 71 scoped_ptr<MockWebClipboardImpl> clipboard_;
71 scoped_ptr<webkit_glue::MockWebHyphenator> hyphenator_; 72 scoped_ptr<webkit_glue::MockWebHyphenator> hyphenator_;
72 }; 73 };
73 74
74 } // namespace content 75 } // namespace content
75 76
76 #endif // CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ 77 #endif // CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/renderer/renderer_webkitplatformsupport_impl.cc ('k') | content/shell/renderer/shell_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698