From a9b49d5ab79dfacc42575b17e659ec8244069e61 Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Fri, 29 May 2009 22:51:09 +0000 Subject: More views on gtk work: NativeViewPhotoboothGtk, adds a missing method to NativeViewHostGtk and location bar view colors. BUG=none TEST=none Review URL: http://codereview.chromium.org/115958 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17255 0039d316-1c4b-4281-b951-d872f2087c98 --- views/controls/native/native_view_host_gtk.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'views') 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; -- cgit v1.1