Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
2008-09-18 David Hyatt <hyatt@apple.com>
Move to only one constructor for Widgets. Rename data to m_data and make it have an #ifdef only for platforms that have platform-specific data (Mac and Gtk). Reviewed by Sam Weinig * WebCore.base.exp: * platform/Widget.cpp: (WebCore::Widget::init): * platform/Widget.h: * platform/gtk/WidgetGtk.cpp: (WebCore::Widget::Widget): (WebCore::Widget::~Widget): (WebCore::Widget::cursor): (WebCore::Widget::setCursor): * platform/mac/WidgetMac.mm: (WebCore::Widget::Widget): (WebCore::Widget::~Widget): (WebCore::Widget::addToSuperview): (WebCore::Widget::removeFromSuperview): (WebCore::Widget::beforeMouseDown): (WebCore::Widget::afterMouseDown): * platform/qt/WidgetQt.cpp: (WebCore::Widget::Widget): * platform/win/WidgetWin.cpp: (WebCore::Widget::Widget): * platform/wx/WidgetWx.cpp: (WebCore::Widget::Widget): Canonical link: https://commits.webkit.org/28926@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@36647 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
9 changed files
with
63 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -53,15 +53,9 @@ | ||
|
||
namespace WebCore { | ||
|
||
Widget::Widget() | ||
{ | ||
init(); | ||
} | ||
|
||
Widget::Widget(QWidget* widget) | ||
{ | ||
init(); | ||
m_widget = widget; | ||
init(widget); | ||
} | ||
|
||
Widget::~Widget() | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -38,15 +38,9 @@ | ||
|
||
namespace WebCore { | ||
|
||
Widget::Widget() | ||
{ | ||
init(); | ||
} | ||
|
||
Widget::Widget(PlatformWidget widget) | ||
{ | ||
init(); | ||
m_widget = widget; | ||
init(widget); | ||
} | ||
|
||
Widget::~Widget() | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -34,15 +34,9 @@ | ||
|
||
namespace WebCore { | ||
|
||
Widget::Widget() | ||
{ | ||
init(); | ||
} | ||
|
||
Widget::Widget(PlatformWidget widget) | ||
{ | ||
init(); | ||
m_widget = widget; | ||
init(widget); | ||
} | ||
|
||
Widget::~Widget() | ||