Index: views/widget/widget_win.h |
diff --git a/views/widget/widget_win.h b/views/widget/widget_win.h |
index bfb9137c375ae07865dc39f86a2081fbc215ecd3..8b85e471fa04e824e09ca179f0a13f720b7629b4 100644 |
--- a/views/widget/widget_win.h |
+++ b/views/widget/widget_win.h |
@@ -23,9 +23,7 @@ |
#include "views/widget/widget.h" |
namespace app { |
-namespace win { |
-class ScopedProp; |
-} |
+class ViewProp; |
} |
namespace gfx { |
@@ -234,9 +232,8 @@ class WidgetWin : public gfx::WindowImpl, |
virtual bool GetAccelerator(int cmd_id, menus::Accelerator* accelerator); |
virtual Window* GetWindow(); |
virtual const Window* GetWindow() const; |
- virtual void SetNativeWindowProperty(const std::wstring& name, |
- void* value); |
- virtual void* GetNativeWindowProperty(const std::wstring& name); |
+ virtual void SetNativeWindowProperty(const char* name, void* value); |
+ virtual void* GetNativeWindowProperty(const char* name); |
virtual ThemeProvider* GetThemeProvider() const; |
virtual ThemeProvider* GetDefaultThemeProvider() const; |
virtual FocusManager* GetFocusManager(); |
@@ -487,7 +484,7 @@ class WidgetWin : public gfx::WindowImpl, |
bool is_window_; |
private: |
- typedef ScopedVector<app::win::ScopedProp> ScopedProps; |
+ typedef ScopedVector<app::ViewProp> ViewProps; |
// Implementation of GetWindow. Ascends the parents of |hwnd| returning the |
// first ancestor that is a Window. |
@@ -595,7 +592,7 @@ class WidgetWin : public gfx::WindowImpl, |
// we always mod this value with the max view events above . |
int accessibility_view_events_index_; |
- ScopedProps props_; |
+ ViewProps props_; |
DISALLOW_COPY_AND_ASSIGN(WidgetWin); |
}; |