Renamed menuListIsDetaching to disconnectMenuList,
uploadControlDetaching to disconnectUploadControl, and fileChooserDetachingSoon to disconnectFileChooser.
These names match similar methods in WebCore a little better.
* platform/FileChooser.h:
* platform/PopupMenu.h: (WebCore::PopupMenu::disconnectMenuList):
* platform/mac/FileChooserMac.mm: (-[OpenPanelController disconnectFileChooser]):
(WebCore::FileChooser::disconnectUploadControl):
* platform/win/TemporaryLinkStubs.cpp: (FileChooser::disconnectUploadControl):
* rendering/RenderFileUploadControl.cpp: (WebCore::RenderFileUploadControl::~RenderFileUploadControl):
* rendering/RenderMenuList.cpp: (WebCore::RenderMenuList::~RenderMenuList):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17024
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-10-12 Adele Peterson <adele@apple.com>
+
+ RS by Geoff.
+
+ Renamed menuListIsDetaching to disconnectMenuList,
+ uploadControlDetaching to disconnectUploadControl, and fileChooserDetachingSoon to disconnectFileChooser.
+ These names match similar methods in WebCore a little better.
+
+ * platform/FileChooser.h:
+ * platform/PopupMenu.h: (WebCore::PopupMenu::disconnectMenuList):
+ * platform/mac/FileChooserMac.mm: (-[OpenPanelController disconnectFileChooser]):
+ (WebCore::FileChooser::disconnectUploadControl):
+ * platform/win/TemporaryLinkStubs.cpp: (FileChooser::disconnectUploadControl):
+ * rendering/RenderFileUploadControl.cpp: (WebCore::RenderFileUploadControl::~RenderFileUploadControl):
+ * rendering/RenderMenuList.cpp: (WebCore::RenderMenuList::~RenderMenuList):
+
2006-10-12 Adele Peterson <adele@apple.com>
Reviewed by Maciej.
RenderFileUploadControl* uploadControl() const { return m_uploadControl; }
Document* document() { return m_document; }
- void uploadControlDetaching();
+ void disconnectUploadControl();
void chooseFile(const String& filename);
static PassRefPtr<PopupMenu> create(RenderMenuList* menuList);
~PopupMenu();
- void menuListIsDetaching() { m_menuList = 0; }
+ void disconnectMenuList() { m_menuList = 0; }
void clear();
void populate();
WebCoreFrameBridge *_bridge;
}
- (id)initWithFileChooser:(FileChooser *)fileChooser;
-- (void)fileChooserDetachingSoon;
+- (void)disconnectFileChooser;
- (void)beginSheet;
@end
return self;
}
-- (void)fileChooserDetachingSoon
+- (void)disconnectFileChooser
{
_fileChooser = 0;
}
toWidth:width withFont:m_uploadControl->style()->font().primaryFont()->getNSFont()];
}
-void FileChooser::uploadControlDetaching()
+void FileChooser::disconnectUploadControl()
{
if (m_controller)
- [m_controller fileChooserDetachingSoon];
+ [m_controller disconnectFileChooser];
}
void FileChooser::chooseFile(const String& filename)
PassRefPtr<FileChooser> FileChooser::create(Document*, RenderFileUploadControl*) { notImplemented(); return 0; }
void FileChooser::openFileChooser() { notImplemented(); }
String FileChooser::basenameForWidth(int width) const { notImplemented(); return String(); }
-void FileChooser::uploadControlDetaching() { notImplemented(); }
+void FileChooser::disconnectUploadControl() { notImplemented(); }
void FileChooser::chooseFile(const String& filename) { notImplemented(); }
Widget::FocusPolicy Slider::focusPolicy() const { notImplemented(); return NoFocus; }
if (m_button)
m_button->detach();
if (m_fileChooser) {
- m_fileChooser->uploadControlDetaching();
+ m_fileChooser->disconnectUploadControl();
}
}
RenderMenuList::~RenderMenuList()
{
if (m_popup)
- m_popup->menuListIsDetaching();
+ m_popup->disconnectMenuList();
m_popup = 0;
}