| Index: ui/views/cocoa/bridged_native_widget.h
|
| diff --git a/ui/views/cocoa/bridged_native_widget.h b/ui/views/cocoa/bridged_native_widget.h
|
| index adb232cd1406583e88e9a0ab30d3508906e26fba..bf78540679487f804931a7372a0f10d333fe3cb2 100644
|
| --- a/ui/views/cocoa/bridged_native_widget.h
|
| +++ b/ui/views/cocoa/bridged_native_widget.h
|
| @@ -79,6 +79,10 @@ class VIEWS_EXPORT BridgedNativeWidget : public ui::LayerDelegate,
|
| void ReleaseCapture();
|
| bool HasCapture();
|
|
|
| + // See views::Widget.
|
| + void SetNativeWindowProperty(const char* key, void* value);
|
| + void* GetNativeWindowProperty(const char* key) const;
|
| +
|
| // Called internally by the NSWindowDelegate when the window is closing.
|
| void OnWindowWillClose();
|
|
|
| @@ -171,6 +175,10 @@ class VIEWS_EXPORT BridgedNativeWidget : public ui::LayerDelegate,
|
| void PostCapturedEvent(NSEvent* event) override;
|
| void OnMouseCaptureLost() override;
|
|
|
| + // Returns a properties dictionary associated with the NSWindow.
|
| + // Creates and attaches a new instance if not found.
|
| + NSMutableDictionary* GetWindowProperties() const;
|
| +
|
| // Overridden from FocusChangeListener:
|
| void OnWillChangeFocus(View* focused_before,
|
| View* focused_now) override;
|
|
|