summaryrefslogtreecommitdiffstats
path: root/views/widget/widget_gtk.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/widget/widget_gtk.h')
-rw-r--r--views/widget/widget_gtk.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/views/widget/widget_gtk.h b/views/widget/widget_gtk.h
index 3799a4a..b36856f 100644
--- a/views/widget/widget_gtk.h
+++ b/views/widget/widget_gtk.h
@@ -137,7 +137,11 @@ class WidgetGtk
virtual bool GetAccelerator(int cmd_id, 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 ThemeProvider* GetThemeProvider() const;
+ virtual ThemeProvider* GetDefaultThemeProvider();
virtual FocusManager* GetFocusManager();
virtual void ViewHierarchyChanged(bool is_add, View *parent,
View *child);
@@ -160,12 +164,9 @@ class WidgetGtk
void SetFocusTraversableParent(FocusTraversable* parent);
void SetFocusTraversableParentView(View* parent_view);
- // Retrieves the WidgetGtk associated with |widget|.
+ // Gets the WidgetGtk in the userdata section of the widget.
static WidgetGtk* GetViewForNative(GtkWidget* widget);
- // Retrieves the WindowGtk associated with |widget|.
- static WindowGtk* GetWindowForNative(GtkWidget* widget);
-
// Sets the drop target to NULL. This is invoked by DropTargetGTK when the
// drop is done.
void ResetDropTarget();