Changeset 99714 in webkit


Ignore:
Timestamp:
Nov 9, 2011, 7:30:38 AM (14 years ago)
Author:
pfeldman@chromium.org
Message:

Chromium: Add plumbing to enable dragging dev tools via the empty space on the toolbar.
https://bugs.webkit.org/show_bug.cgi?id=71842

These are the only WebKit-side changes needed. The rest will be done on the Chromium side.

Chromium bug: http://crbug.com/44350

Patch by Alexei Svitkine <asvitkine@chromium.org> on 2011-11-09
Reviewed by Pavel Feldman.

  • public/WebDevToolsFrontendClient.h:

(WebKit::WebDevToolsFrontendClient::moveWindowBy):

  • src/InspectorFrontendClientImpl.cpp:

(WebKit::InspectorFrontendClientImpl::moveWindowBy):

Location:
trunk/Source/WebKit/chromium
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/chromium/ChangeLog

    r99661 r99714  
     12011-11-09  Alexei Svitkine  <asvitkine@chromium.org>
     2
     3        Chromium: Add plumbing to enable dragging dev tools via the empty space on the toolbar.
     4        https://bugs.webkit.org/show_bug.cgi?id=71842
     5
     6        These are the only WebKit-side changes needed. The rest will be done on the Chromium side.
     7
     8        Chromium bug: http://crbug.com/44350
     9
     10        Reviewed by Pavel Feldman.
     11
     12        * public/WebDevToolsFrontendClient.h:
     13        (WebKit::WebDevToolsFrontendClient::moveWindowBy):
     14        * src/InspectorFrontendClientImpl.cpp:
     15        (WebKit::InspectorFrontendClientImpl::moveWindowBy):
     16
    1172011-11-08  Jay Civelli  <jcivelli@chromium.org>
    218
  • trunk/Source/WebKit/chromium/public/WebDevToolsFrontendClient.h

    r95901 r99714  
    3535
    3636class WebString;
     37struct WebFloatPoint;
    3738struct WebDevToolsMessageData;
    3839
     
    5051    virtual void requestDockWindow() { }
    5152    virtual void requestUndockWindow() { }
     53    virtual void moveWindowBy(const WebFloatPoint&) { }
    5254    virtual void saveAs(const WebString& fileName, const WebString& content) { }
    5355
  • trunk/Source/WebKit/chromium/src/InspectorFrontendClientImpl.cpp

    r95901 r99714  
    4141#include "WebDevToolsFrontendClient.h"
    4242#include "WebDevToolsFrontendImpl.h"
     43#include "WebFloatPoint.h"
    4344#include "WebString.h"
    4445
     
    8283void InspectorFrontendClientImpl::moveWindowBy(float x, float y)
    8384{
     85    m_client->moveWindowBy(WebFloatPoint(x, y));
    8486}
    8587
Note: See TracChangeset for help on using the changeset viewer.