| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2011 The Native Client Authors. All rights reserved. | 2 * Copyright 2011 The Chromium Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can | 3 * Use of this source code is governed by a BSD-style license that can |
| 4 * be found in the LICENSE file. | 4 * be found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 #include "native_client/src/shared/ppapi_proxy/plugin_instance_data.h" | 7 #include "native_client/src/shared/ppapi_proxy/plugin_instance_data.h" |
| 8 | 8 |
| 9 #include <tr1/unordered_map> | 9 #include <tr1/unordered_map> |
| 10 | 10 |
| 11 namespace ppapi_proxy { | 11 namespace ppapi_proxy { |
| 12 | 12 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 void PluginInstanceData::DidChangeView(PP_Instance id, | 46 void PluginInstanceData::DidChangeView(PP_Instance id, |
| 47 PP_Rect position, | 47 PP_Rect position, |
| 48 PP_Rect clip) { | 48 PP_Rect clip) { |
| 49 PluginInstanceData* instance = FromPP(id); | 49 PluginInstanceData* instance = FromPP(id); |
| 50 if (instance) { | 50 if (instance) { |
| 51 instance->set_position(position); | 51 instance->set_position(position); |
| 52 } | 52 } |
| 53 } | 53 } |
| 54 | 54 |
| 55 } // namespace ppapi_proxy | 55 } // namespace ppapi_proxy |
| OLD | NEW |