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

Side by Side Diff: ppapi/proxy/plugin_globals.cc

Issue 20214004: move BrowserFontResource_Trusted to content/child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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
« no previous file with comments | « ppapi/proxy/plugin_globals.h ('k') | ppapi/proxy/plugin_main_nacl.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 #include "ppapi/proxy/plugin_globals.h" 5 #include "ppapi/proxy/plugin_globals.h"
6 6
7 #include "base/task_runner.h" 7 #include "base/task_runner.h"
8 #include "base/threading/thread.h" 8 #include "base/threading/thread.h"
9 #include "ipc/ipc_message.h" 9 #include "ipc/ipc_message.h"
10 #include "ipc/ipc_sender.h" 10 #include "ipc/ipc_sender.h"
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 } 174 }
175 175
176 std::string PluginGlobals::GetUILanguage() { 176 std::string PluginGlobals::GetUILanguage() {
177 return plugin_proxy_delegate_->GetUILanguage(); 177 return plugin_proxy_delegate_->GetUILanguage();
178 } 178 }
179 179
180 void PluginGlobals::SetActiveURL(const std::string& url) { 180 void PluginGlobals::SetActiveURL(const std::string& url) {
181 plugin_proxy_delegate_->SetActiveURL(url); 181 plugin_proxy_delegate_->SetActiveURL(url);
182 } 182 }
183 183
184 PP_Resource PluginGlobals::CreateBrowserFont(
185 Connection connection,
186 PP_Instance instance,
187 const PP_BrowserFont_Trusted_Description& desc,
188 const ppapi::Preferences& prefs) {
189 return plugin_proxy_delegate_->CreateBrowserFont(
190 connection, instance, desc, prefs);
191 }
192
184 MessageLoopResource* PluginGlobals::loop_for_main_thread() { 193 MessageLoopResource* PluginGlobals::loop_for_main_thread() {
185 return loop_for_main_thread_.get(); 194 return loop_for_main_thread_.get();
186 } 195 }
187 196
188 bool PluginGlobals::IsPluginGlobals() const { 197 bool PluginGlobals::IsPluginGlobals() const {
189 return true; 198 return true;
190 } 199 }
191 200
192 } // namespace proxy 201 } // namespace proxy
193 } // namespace ppapi 202 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/plugin_globals.h ('k') | ppapi/proxy/plugin_main_nacl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698