| 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/ppp_printing_dev.h" | 7 #include "ppapi/c/dev/ppp_printing_dev.h" |
| 8 #include "ppapi/c/ppb_instance.h" | 8 #include "ppapi/c/ppb_instance.h" |
| 9 #include "ppapi/cpp/common.h" | 9 #include "ppapi/cpp/common.h" |
| 10 #include "ppapi/cpp/dev/graphics_3d_dev.h" | 10 #include "ppapi/cpp/dev/graphics_3d_dev.h" |
| 11 #include "ppapi/cpp/dev/scrollbar_dev.h" | |
| 12 #include "ppapi/cpp/dev/widget_dev.h" | |
| 13 #include "ppapi/cpp/graphics_2d.h" | 11 #include "ppapi/cpp/graphics_2d.h" |
| 14 #include "ppapi/cpp/image_data.h" | 12 #include "ppapi/cpp/image_data.h" |
| 15 #include "ppapi/cpp/logging.h" | 13 #include "ppapi/cpp/logging.h" |
| 16 #include "ppapi/cpp/module.h" | 14 #include "ppapi/cpp/module.h" |
| 17 #include "ppapi/cpp/module_impl.h" | 15 #include "ppapi/cpp/module_impl.h" |
| 18 #include "ppapi/cpp/point.h" | 16 #include "ppapi/cpp/point.h" |
| 19 #include "ppapi/cpp/resource.h" | 17 #include "ppapi/cpp/resource.h" |
| 20 #include "ppapi/cpp/var.h" | 18 #include "ppapi/cpp/var.h" |
| 21 | 19 |
| 22 namespace { | 20 namespace { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 46 } | 44 } |
| 47 | 45 |
| 48 void Instance::DidChangeView(const pp::Rect& /*position*/, | 46 void Instance::DidChangeView(const pp::Rect& /*position*/, |
| 49 const pp::Rect& /*clip*/) { | 47 const pp::Rect& /*clip*/) { |
| 50 } | 48 } |
| 51 | 49 |
| 52 void Instance::DidChangeFocus(bool /*has_focus*/) { | 50 void Instance::DidChangeFocus(bool /*has_focus*/) { |
| 53 } | 51 } |
| 54 | 52 |
| 55 | 53 |
| 56 bool Instance::HandleDocumentLoad(const URLLoader_Dev& /*url_loader*/) { | 54 bool Instance::HandleDocumentLoad(const URLLoader& /*url_loader*/) { |
| 57 return false; | 55 return false; |
| 58 } | 56 } |
| 59 | 57 |
| 60 bool Instance::HandleInputEvent(const PP_InputEvent& /*event*/) { | 58 bool Instance::HandleInputEvent(const PP_InputEvent& /*event*/) { |
| 61 return false; | 59 return false; |
| 62 } | 60 } |
| 63 | 61 |
| 64 Var Instance::GetInstanceObject() { | 62 Var Instance::GetInstanceObject() { |
| 65 return Var(); | 63 return Var(); |
| 66 } | 64 } |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 if (!that) | 142 if (!that) |
| 145 return NULL; | 143 return NULL; |
| 146 InterfaceNameToObjectMap::iterator found = | 144 InterfaceNameToObjectMap::iterator found = |
| 147 that->interface_name_to_objects_.find(interface_name); | 145 that->interface_name_to_objects_.find(interface_name); |
| 148 if (found == that->interface_name_to_objects_.end()) | 146 if (found == that->interface_name_to_objects_.end()) |
| 149 return NULL; | 147 return NULL; |
| 150 return found->second; | 148 return found->second; |
| 151 } | 149 } |
| 152 | 150 |
| 153 } // namespace pp | 151 } // namespace pp |
| OLD | NEW |