| OLD | NEW |
| 1 // Copyright (c) 2011 The Native Client Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "native_client/src/shared/ppapi_proxy/browser_ppp_scrollbar.h" | 5 #include "native_client/src/shared/ppapi_proxy/browser_ppp_scrollbar.h" |
| 6 | 6 |
| 7 // Include file order cannot be observed because ppp_instance declares a | 7 // Include file order cannot be observed because ppp_instance declares a |
| 8 // structure return type that causes an error on Windows. | 8 // structure return type that causes an error on Windows. |
| 9 // TODO(sehr, brettw): fix the return types and include order in PPAPI. | 9 // TODO(sehr, brettw): fix the return types and include order in PPAPI. |
| 10 #include "ppapi/c/pp_instance.h" | 10 #include "ppapi/c/pp_instance.h" |
| 11 #include "ppapi/c/pp_resource.h" | 11 #include "ppapi/c/pp_resource.h" |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 const PPP_Scrollbar_Dev* BrowserScrollbar::GetInterface() { | 59 const PPP_Scrollbar_Dev* BrowserScrollbar::GetInterface() { |
| 60 static const PPP_Scrollbar_Dev scrollbar_interface = { | 60 static const PPP_Scrollbar_Dev scrollbar_interface = { |
| 61 ValueChanged, | 61 ValueChanged, |
| 62 OverlayChanged | 62 OverlayChanged |
| 63 }; | 63 }; |
| 64 return &scrollbar_interface; | 64 return &scrollbar_interface; |
| 65 } | 65 } |
| 66 | 66 |
| 67 } // namespace ppapi_proxy | 67 } // namespace ppapi_proxy |
| 68 | 68 |
| OLD | NEW |