OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/nacl_irt/ppapi_dispatcher.h" | 5 #include "ppapi/nacl_irt/ppapi_dispatcher.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 | 105 |
106 IPC::Sender* PpapiDispatcher::GetBrowserSender() { | 106 IPC::Sender* PpapiDispatcher::GetBrowserSender() { |
107 return this; | 107 return this; |
108 } | 108 } |
109 | 109 |
110 std::string PpapiDispatcher::GetUILanguage() { | 110 std::string PpapiDispatcher::GetUILanguage() { |
111 NOTIMPLEMENTED(); | 111 NOTIMPLEMENTED(); |
112 return std::string(); | 112 return std::string(); |
113 } | 113 } |
114 | 114 |
115 void PpapiDispatcher::PreCacheFont(const void* logfontw) { | 115 void PpapiDispatcher::PreCacheFontForFlash(const void* logfontw) { |
116 NOTIMPLEMENTED(); | 116 NOTIMPLEMENTED(); |
117 } | 117 } |
118 | 118 |
119 void PpapiDispatcher::SetActiveURL(const std::string& url) { | 119 void PpapiDispatcher::SetActiveURL(const std::string& url) { |
120 NOTIMPLEMENTED(); | 120 NOTIMPLEMENTED(); |
121 } | 121 } |
122 | 122 |
123 PP_Resource PpapiDispatcher::CreateBrowserFont( | 123 PP_Resource PpapiDispatcher::CreateBrowserFont( |
124 proxy::Connection connection, | 124 proxy::Connection connection, |
125 PP_Instance instance, | 125 PP_Instance instance, |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 NOTREACHED(); | 208 NOTREACHED(); |
209 return; | 209 return; |
210 } | 210 } |
211 std::map<uint32, proxy::PluginDispatcher*>::iterator dispatcher = | 211 std::map<uint32, proxy::PluginDispatcher*>::iterator dispatcher = |
212 plugin_dispatchers_.find(id); | 212 plugin_dispatchers_.find(id); |
213 if (dispatcher != plugin_dispatchers_.end()) | 213 if (dispatcher != plugin_dispatchers_.end()) |
214 dispatcher->second->OnMessageReceived(msg); | 214 dispatcher->second->OnMessageReceived(msg); |
215 } | 215 } |
216 | 216 |
217 } // namespace ppapi | 217 } // namespace ppapi |
OLD | NEW |