summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-29 22:51:09 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-29 22:51:09 +0000
commita9b49d5ab79dfacc42575b17e659ec8244069e61 (patch)
tree86bf280819301b5e970d4fefd0adc3bc4b6926f6 /views
parent5e6bcba5758b5349ae525886e31a35f703edabab (diff)
downloadchromium_src-a9b49d5ab79dfacc42575b17e659ec8244069e61.zip
chromium_src-a9b49d5ab79dfacc42575b17e659ec8244069e61.tar.gz
chromium_src-a9b49d5ab79dfacc42575b17e659ec8244069e61.tar.bz2
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
Diffstat (limited to 'views')
-rw-r--r--views/controls/native/native_view_host_gtk.cc4
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;