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

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

Issue 23678008: Refactor KeySystems code to call a function to populate the info. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add missing file Created 7 years, 3 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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 virtual bool IsExternalPepperPlugin(const std::string& module_name) OVERRIDE; 132 virtual bool IsExternalPepperPlugin(const std::string& module_name) OVERRIDE;
133 // TODO(victorhsieh): move to ChromeContentBrowserClient once we migrate 133 // TODO(victorhsieh): move to ChromeContentBrowserClient once we migrate
134 // PPAPI FileIO host to browser. 134 // PPAPI FileIO host to browser.
135 virtual bool IsPluginAllowedToCallRequestOSFileHandle( 135 virtual bool IsPluginAllowedToCallRequestOSFileHandle(
136 WebKit::WebPluginContainer* container) OVERRIDE; 136 WebKit::WebPluginContainer* container) OVERRIDE;
137 virtual WebKit::WebSpeechSynthesizer* OverrideSpeechSynthesizer( 137 virtual WebKit::WebSpeechSynthesizer* OverrideSpeechSynthesizer(
138 WebKit::WebSpeechSynthesizerClient* client) OVERRIDE; 138 WebKit::WebSpeechSynthesizerClient* client) OVERRIDE;
139 virtual bool ShouldReportDetailedMessageForSource( 139 virtual bool ShouldReportDetailedMessageForSource(
140 const base::string16& source) const OVERRIDE; 140 const base::string16& source) const OVERRIDE;
141 virtual bool AllowPepperMediaStreamAPI(const GURL& url) OVERRIDE; 141 virtual bool AllowPepperMediaStreamAPI(const GURL& url) OVERRIDE;
142 142
xhwang 2013/09/04 21:48:40 remove this empty line? I don't see why AddKeySyst
ddorwin 2013/09/06 18:30:00 Done.
143 virtual void AddKeySystems(
144 std::vector<content::KeySystemInfo>* key_systems) OVERRIDE;
145
143 // For testing. 146 // For testing.
144 void SetExtensionDispatcher(extensions::Dispatcher* extension_dispatcher); 147 void SetExtensionDispatcher(extensions::Dispatcher* extension_dispatcher);
145 148
146 #if defined(ENABLE_SPELLCHECK) 149 #if defined(ENABLE_SPELLCHECK)
147 // Sets a new |spellcheck|. Used for low-mem restart and testing only. 150 // Sets a new |spellcheck|. Used for low-mem restart and testing only.
148 // Takes ownership of |spellcheck|. 151 // Takes ownership of |spellcheck|.
149 void SetSpellcheck(SpellCheck* spellcheck); 152 void SetSpellcheck(SpellCheck* spellcheck);
150 #endif 153 #endif
151 154
152 // Called in low-memory conditions to dump the memory used by the spellchecker 155 // Called in low-memory conditions to dump the memory used by the spellchecker
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 #endif 209 #endif
207 210
208 #if defined(ENABLE_PLUGINS) 211 #if defined(ENABLE_PLUGINS)
209 std::set<std::string> allowed_file_handle_origins_; 212 std::set<std::string> allowed_file_handle_origins_;
210 #endif 213 #endif
211 }; 214 };
212 215
213 } // namespace chrome 216 } // namespace chrome
214 217
215 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 218 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/chrome_content_renderer_client.cc » ('j') | content/public/renderer/content_renderer_client.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698