| Index: mojo/services/view_manager/public/cpp/view.h
|
| diff --git a/mojo/services/view_manager/public/cpp/view.h b/mojo/services/view_manager/public/cpp/view.h
|
| index d888ef0998d80b4260f9d45cda1615b7969636a8..f015a76b12c879b23af0e2b7ada39af4d3847851 100644
|
| --- a/mojo/services/view_manager/public/cpp/view.h
|
| +++ b/mojo/services/view_manager/public/cpp/view.h
|
| @@ -5,9 +5,9 @@
|
| #ifndef MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_H_
|
| #define MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_H_
|
|
|
| +#include <stdint.h>
|
| #include <vector>
|
|
|
| -#include "base/basictypes.h"
|
| #include "base/observer_list.h"
|
| #include "geometry/public/interfaces/geometry.mojom.h"
|
| #include "mojo/public/cpp/bindings/array.h"
|
| @@ -87,7 +87,7 @@ class View {
|
| void ClearLocalProperty(const ViewProperty<T>* property);
|
|
|
| // Type of a function to delete a property that this view owns.
|
| - typedef void (*PropertyDeallocator)(int64 value);
|
| + typedef void (*PropertyDeallocator)(int64_t value);
|
|
|
| // A View is drawn if the View and all its ancestors are visible and the
|
| // View is attached to the root.
|
| @@ -141,12 +141,13 @@ class View {
|
| View(ViewManager* manager, Id id);
|
|
|
| // Called by the public {Set,Get,Clear}Property functions.
|
| - int64 SetLocalPropertyInternal(const void* key,
|
| - const char* name,
|
| - PropertyDeallocator deallocator,
|
| - int64 value,
|
| - int64 default_value);
|
| - int64 GetLocalPropertyInternal(const void* key, int64 default_value) const;
|
| + int64_t SetLocalPropertyInternal(const void* key,
|
| + const char* name,
|
| + PropertyDeallocator deallocator,
|
| + int64_t value,
|
| + int64_t default_value);
|
| + int64_t GetLocalPropertyInternal(const void* key,
|
| + int64_t default_value) const;
|
|
|
| void LocalDestroy();
|
| void LocalAddChild(View* child);
|
| @@ -193,7 +194,7 @@ class View {
|
| // WindowProperty<>.
|
| struct Value {
|
| const char* name;
|
| - int64 value;
|
| + int64_t value;
|
| PropertyDeallocator deallocator;
|
| };
|
|
|
|
|