| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/cpp/instance.h" | 5 #include "ppapi/cpp/instance.h" |
| 6 | 6 |
| 7 #include "ppapi/c/dev/ppb_messaging_dev.h" | 7 #include "ppapi/c/dev/ppb_messaging_dev.h" |
| 8 #include "ppapi/c/dev/ppp_printing_dev.h" | 8 #include "ppapi/c/dev/ppp_printing_dev.h" |
| 9 #include "ppapi/c/ppb_instance.h" | 9 #include "ppapi/c/ppb_instance.h" |
| 10 #include "ppapi/cpp/common.h" | 10 #include "ppapi/cpp/common.h" |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 | 59 |
| 60 | 60 |
| 61 bool Instance::HandleDocumentLoad(const URLLoader& /*url_loader*/) { | 61 bool Instance::HandleDocumentLoad(const URLLoader& /*url_loader*/) { |
| 62 return false; | 62 return false; |
| 63 } | 63 } |
| 64 | 64 |
| 65 bool Instance::HandleInputEvent(const PP_InputEvent& /*event*/) { | 65 bool Instance::HandleInputEvent(const PP_InputEvent& /*event*/) { |
| 66 return false; | 66 return false; |
| 67 } | 67 } |
| 68 | 68 |
| 69 void Instance::HandleMessage(const Var& /*message_data*/) { | 69 void Instance::HandleMessage(const Var& /*message*/) { |
| 70 return; | 70 return; |
| 71 } | 71 } |
| 72 | 72 |
| 73 Var Instance::GetInstanceObject() { | 73 Var Instance::GetInstanceObject() { |
| 74 return Var(); | 74 return Var(); |
| 75 } | 75 } |
| 76 | 76 |
| 77 Var Instance::GetSelectedText(bool /* html */) { | 77 Var Instance::GetSelectedText(bool /* html */) { |
| 78 return Var(); | 78 return Var(); |
| 79 } | 79 } |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 if (!that) | 165 if (!that) |
| 166 return NULL; | 166 return NULL; |
| 167 InterfaceNameToObjectMap::iterator found = | 167 InterfaceNameToObjectMap::iterator found = |
| 168 that->interface_name_to_objects_.find(interface_name); | 168 that->interface_name_to_objects_.find(interface_name); |
| 169 if (found == that->interface_name_to_objects_.end()) | 169 if (found == that->interface_name_to_objects_.end()) |
| 170 return NULL; | 170 return NULL; |
| 171 return found->second; | 171 return found->second; |
| 172 } | 172 } |
| 173 | 173 |
| 174 } // namespace pp | 174 } // namespace pp |
| OLD | NEW |