Commit fa486ca2 authored by timothy@apple.com's avatar timothy@apple.com

Add Widget::isPluginView so the JavaScriptDebugServer can identify

plugins that need to be paused during debugging. This will be used
in a upcoming commit.

Reviewed by Kevin McCullough.

* platform/Widget.h: Add isPluginView. Return false.
* plugins/PluginView.h: Add isPluginView. Return true.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33401 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent a9922b67
2008-05-13 Timothy Hatcher <timothy@apple.com>
Add Widget::isPluginView so the JavaScriptDebugServer can identify
plugins that need to be paused during debugging. This will be used
in a upcoming commit.
Reviewed by Kevin McCullough.
* platform/Widget.h: Add isPluginView. Return false.
* plugins/PluginView.h: Add isPluginView. Return true.
2008-05-13 Timothy Hatcher <timothy@apple.com>
Adds an event loop abstraction to platform. This abstraction will be
......@@ -117,6 +117,7 @@ namespace WebCore {
WidgetClient* client() const;
virtual bool isFrameView() const;
virtual bool isPluginView() const { return false; }
virtual void removeFromParent();
......
......@@ -148,6 +148,8 @@ namespace WebCore {
virtual void attachToWindow();
virtual void detachFromWindow();
virtual bool isPluginView() const { return true; }
#if PLATFORM(WIN)
LRESULT wndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
WNDPROC pluginWndProc() const { return m_pluginWndProc; }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment