Commit 61402f9a authored by eric@webkit.org's avatar eric@webkit.org

2010-08-07 Jay Civelli <jcivelli@chromium.org>

        Reviewed by Eric Seidel.

        [Chromium] Remove unecessary focus code.
        https://bugs.webkit.org/show_bug.cgi?id=43542

        * platform/chromium/ChromiumBridge.h:
        * platform/chromium/WidgetChromium.cpp:
        (WebCore::Widget::setFocus):
2010-08-07  Jay Civelli  <jcivelli@chromium.org>

        Reviewed by Eric Seidel.

        Removed unecessary focus code.
        https://bugs.webkit.org/show_bug.cgi?id=43542

        * src/ChromiumBridge.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64935 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent f43f4d1e
2010-08-07 Jay Civelli <jcivelli@chromium.org>
Reviewed by Eric Seidel.
[Chromium] Remove unecessary focus code.
https://bugs.webkit.org/show_bug.cgi?id=43542
* platform/chromium/ChromiumBridge.h:
* platform/chromium/WidgetChromium.cpp:
(WebCore::Widget::setFocus):
2010-08-07 Gyuyoung Kim <gyuyoung.kim@samsung.com>
Reviewed by Eric Seidel.
......@@ -260,7 +260,6 @@ namespace WebCore {
// Widget -------------------------------------------------------------
static void widgetSetCursor(Widget*, const Cursor&);
static void widgetSetFocus(Widget*);
};
} // namespace WebCore
......
......@@ -65,8 +65,6 @@ void Widget::paint(GraphicsContext*, const IntRect&)
void Widget::setFocus(bool focused)
{
if (focused)
ChromiumBridge::widgetSetFocus(this);
}
void Widget::setIsSelected(bool)
......
2010-08-07 Jay Civelli <jcivelli@chromium.org>
Reviewed by Eric Seidel.
Removed unecessary focus code.
https://bugs.webkit.org/show_bug.cgi?id=43542
* src/ChromiumBridge.cpp:
2010-08-06 Victor Wang <victorw@chromium.org>
Reviewed by Kent Tamura.
......
......@@ -862,13 +862,6 @@ void ChromiumBridge::widgetSetCursor(Widget* widget, const Cursor& cursor)
client->setCursor(WebCursorInfo(cursor));
}
void ChromiumBridge::widgetSetFocus(Widget* widget)
{
ChromeClientImpl* client = toChromeClientImpl(widget);
if (client)
client->focus();
}
WorkerContextProxy* WorkerContextProxy::create(Worker* worker)
{
return WebWorkerClientImpl::createWorkerContextProxy(worker);
......
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