summaryrefslogtreecommitdiffstats
path: root/webkit/port/page
diff options
context:
space:
mode:
authorpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-19 16:02:00 +0000
committerpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-19 16:02:00 +0000
commit94ee65445a5b30d0c8bdbb7c655893a0897fb46a (patch)
tree672435f472a8af20bdc36e27122e5cd71ffab8cb /webkit/port/page
parent23afa0fbdf77203d6ff57394ed0e2c1c3195b2bd (diff)
downloadchromium_src-94ee65445a5b30d0c8bdbb7c655893a0897fb46a.zip
chromium_src-94ee65445a5b30d0c8bdbb7c655893a0897fb46a.tar.gz
chromium_src-94ee65445a5b30d0c8bdbb7c655893a0897fb46a.tar.bz2
Add empty stub to get classname so ImageMac can use it.
Review URL: http://codereview.chromium.org/3169 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2409 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port/page')
-rw-r--r--webkit/port/page/WebCoreFrameBridge.mm20
1 files changed, 20 insertions, 0 deletions
diff --git a/webkit/port/page/WebCoreFrameBridge.mm b/webkit/port/page/WebCoreFrameBridge.mm
new file mode 100644
index 0000000..cddaf2f
--- /dev/null
+++ b/webkit/port/page/WebCoreFrameBridge.mm
@@ -0,0 +1,20 @@
+// Copyright (c) 2008 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// WebCoreFrameBridge is an ObjC bridge between WebCore and WebKit, which we
+// probably don't need to use for Chromium. If we do, it will probably differ
+// substantially from the Apple implementation since we won't have the JS
+// bindings available.
+//
+// We do, however, need to stub this class because ImageMac needs to find the
+// application bundle so it can load default image resources. It does this
+// by finding the bundle of a known class, and it chooses to use
+// WebCoreFrameBridge. As a result, we have to provide linkage of at least
+// the classname so that the use in ImageMac resolves.
+
+@implementation WebCoreFrameBridge
+
+// nothing needed....
+
+@end