Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Unified Diff: Source/WebCore/platform/Widget.h

Issue 13529026: Removing a bunch of unused platform code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix whitespace and compiler error on Mac. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/platform/SharedBuffer.cpp ('k') | Source/WebCore/platform/cf/SharedBufferCF.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/Widget.h
diff --git a/Source/WebCore/platform/Widget.h b/Source/WebCore/platform/Widget.h
index 017fe4e6b77f225b8cde130c0cf6ee16d393728b..fe8f86915c5c5309bb0ce2bf57eb506fbb564ae6 100644
--- a/Source/WebCore/platform/Widget.h
+++ b/Source/WebCore/platform/Widget.h
@@ -32,15 +32,6 @@
#include <wtf/Forward.h>
#include <wtf/RefCounted.h>
-#if PLATFORM(MAC)
-#include <wtf/RetainPtr.h>
-#endif
-
-#if PLATFORM(QT)
-#include <QPointer>
-#include <qglobal.h>
-#endif
-
typedef WebCore::PageClientChromium* PlatformPageClient;
namespace WebCore {
@@ -146,20 +137,7 @@ public:
// the frame rects be the same no matter what transforms are applied.
virtual bool transformsAffectFrameRect() { return true; }
-#if PLATFORM(MAC)
- NSView* getOuterView() const;
-
- void removeFromSuperview();
-#endif
-
-#if PLATFORM(CHROMIUM)
virtual bool isPluginContainer() const { return false; }
-#endif
-
-#if PLATFORM(QT)
- QObject* bindingObject() const;
- void setBindingObject(QObject*);
-#endif
// Virtual methods to convert points to/from the containing ScrollView
virtual IntRect convertToContainingView(const IntRect&) const;
@@ -187,15 +165,6 @@ private:
bool m_parentVisible;
IntRect m_frame; // Not used when a native widget exists.
-
-#if PLATFORM(MAC)
- WidgetPrivate* m_data;
-#endif
-
-#if PLATFORM(QT)
- QPointer<QObject> m_bindingObject;
-#endif
-
};
} // namespace WebCore
« no previous file with comments | « Source/WebCore/platform/SharedBuffer.cpp ('k') | Source/WebCore/platform/cf/SharedBufferCF.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698