diff options
Diffstat (limited to 'views/controls/native/native_view_host_gtk.cc')
-rw-r--r-- | views/controls/native/native_view_host_gtk.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/views/controls/native/native_view_host_gtk.cc b/views/controls/native/native_view_host_gtk.cc index 0c61843..96a1291 100644 --- a/views/controls/native/native_view_host_gtk.cc +++ b/views/controls/native/native_view_host_gtk.cc @@ -130,6 +130,10 @@ void NativeViewHostGtk::InstallClip(int x, int y, int w, int h) { installed_clip_ = true; } +bool NativeViewHostGtk::HasInstalledClip() { + return installed_clip_; +} + void NativeViewHostGtk::UninstallClip() { gtk_widget_shape_combine_mask(host_->native_view(), NULL, 0, 0); installed_clip_ = false; |