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

Side by Side Diff: chrome/renderer/chrome_content_renderer_client.h

Issue 254473011: Introduce chrome.shell.createWindow stub API for app_shell (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix deps (shell-api) Created 6 years, 7 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 CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 virtual bool ShouldReportDetailedMessageForSource( 124 virtual bool ShouldReportDetailedMessageForSource(
125 const base::string16& source) const OVERRIDE; 125 const base::string16& source) const OVERRIDE;
126 virtual bool ShouldEnableSiteIsolationPolicy() const OVERRIDE; 126 virtual bool ShouldEnableSiteIsolationPolicy() const OVERRIDE;
127 virtual blink::WebWorkerPermissionClientProxy* 127 virtual blink::WebWorkerPermissionClientProxy*
128 CreateWorkerPermissionClientProxy(content::RenderFrame* render_frame, 128 CreateWorkerPermissionClientProxy(content::RenderFrame* render_frame,
129 blink::WebFrame* frame) OVERRIDE; 129 blink::WebFrame* frame) OVERRIDE;
130 virtual bool AllowPepperMediaStreamAPI(const GURL& url) OVERRIDE; 130 virtual bool AllowPepperMediaStreamAPI(const GURL& url) OVERRIDE;
131 virtual void AddKeySystems( 131 virtual void AddKeySystems(
132 std::vector<content::KeySystemInfo>* key_systems) OVERRIDE; 132 std::vector<content::KeySystemInfo>* key_systems) OVERRIDE;
133 133
134 // For testing. 134 // Takes ownership.
135 void SetExtensionDispatcher(extensions::Dispatcher* extension_dispatcher); 135 void SetExtensionDispatcherForTest(
136 extensions::Dispatcher* extension_dispatcher);
137 extensions::Dispatcher* GetExtensionDispatcherForTest();
136 138
137 #if defined(ENABLE_SPELLCHECK) 139 #if defined(ENABLE_SPELLCHECK)
138 // Sets a new |spellcheck|. Used for testing only. 140 // Sets a new |spellcheck|. Used for testing only.
139 // Takes ownership of |spellcheck|. 141 // Takes ownership of |spellcheck|.
140 void SetSpellcheck(SpellCheck* spellcheck); 142 void SetSpellcheck(SpellCheck* spellcheck);
141 #endif 143 #endif
142 144
143 static blink::WebPlugin* CreatePlugin( 145 static blink::WebPlugin* CreatePlugin(
144 content::RenderFrame* render_frame, 146 content::RenderFrame* render_frame,
145 blink::WebLocalFrame* frame, 147 blink::WebLocalFrame* frame,
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; 200 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_;
199 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; 201 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_;
200 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; 202 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_;
201 #if defined(ENABLE_WEBRTC) 203 #if defined(ENABLE_WEBRTC)
202 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; 204 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_;
203 #endif 205 #endif
204 scoped_ptr<SearchBouncer> search_bouncer_; 206 scoped_ptr<SearchBouncer> search_bouncer_;
205 }; 207 };
206 208
207 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 209 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698