summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authordarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-18 05:56:27 +0000
committerdarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-18 05:56:27 +0000
commit989b6e8061bff363e43f13f5aa9bacef6b321603 (patch)
tree4e588113a9bfea64fc043a62914222cd445165c3 /webkit
parent63d4a0247c81ec38d37bee7b181d00bba1925f7a (diff)
downloadchromium_src-989b6e8061bff363e43f13f5aa9bacef6b321603.zip
chromium_src-989b6e8061bff363e43f13f5aa9bacef6b321603.tar.gz
chromium_src-989b6e8061bff363e43f13f5aa9bacef6b321603.tar.bz2
Add stubs for these functions. They seem to get pulled in as a result of PLATFORM(CHROMIUM) being referenced in ScrollView.h and Widget.h.
I predict that you will still see green! TBR=pinkerton Review URL: http://codereview.chromium.org/7655 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3596 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/port/platform/mac/ScrollViewMac.mm40
1 files changed, 40 insertions, 0 deletions
diff --git a/webkit/port/platform/mac/ScrollViewMac.mm b/webkit/port/platform/mac/ScrollViewMac.mm
index ac21217..55e3d72 100644
--- a/webkit/port/platform/mac/ScrollViewMac.mm
+++ b/webkit/port/platform/mac/ScrollViewMac.mm
@@ -221,4 +221,44 @@ bool ScrollView::isScrollable() {
return false;
}
+// PLATFORM(CHROMIUM) is defined, so we need to stub these methods:
+
+void ScrollView::detachFromWindow()
+{
+}
+
+void ScrollView::attachToWindow()
+{
+}
+
+void ScrollView::hide()
+{
+}
+
+void ScrollView::show()
+{
+}
+
+void ScrollView::themeChanged()
+{
+}
+
+void ScrollView::setParent(ScrollView* parentView)
+{
+}
+
+void Widget::setParent(ScrollView* parentView)
+{
+}
+
+IntPoint Widget::convertSelfToChild(const Widget* child, const IntPoint& point) const
+{
+ return IntPoint();
+}
+
+IntPoint Widget::convertChildToSelf(const Widget* child, const IntPoint& point) const
+{
+ return IntPoint();
+}
+
}