Changeset 141378 in webkit


Ignore:
Timestamp:
Jan 30, 2013 10:00:52 PM (11 years ago)
Author:
Patrick Gansterer
Message:

Port DragImageWin.cpp to WinCE
https://bugs.webkit.org/show_bug.cgi?id=108329

Reviewed by Brent Fulgham.

Add #if !OS(WINCE) around a few lines of the code, so it can be used by the WinCE port too.

  • PlatformWinCE.cmake:
  • platform/win/DragImageWin.cpp:

(WebCore::dragLabelFont):

  • platform/wince/DragImageWinCE.cpp: Removed.
Location:
trunk/Source/WebCore
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r141373 r141378  
     12013-01-30  Patrick Gansterer  <paroga@webkit.org>
     2
     3        Port DragImageWin.cpp to WinCE
     4        https://bugs.webkit.org/show_bug.cgi?id=108329
     5
     6        Reviewed by Brent Fulgham.
     7
     8        Add #if !OS(WINCE) around a few lines of the code, so it can be used by the WinCE port too.
     9
     10        * PlatformWinCE.cmake:
     11        * platform/win/DragImageWin.cpp:
     12        (WebCore::dragLabelFont):
     13        * platform/wince/DragImageWinCE.cpp: Removed.
     14
    1152013-01-30  Hayato Ito  <hayato@chromium.org>
    216
  • trunk/Source/WebCore/PlatformWinCE.cmake

    r141253 r141378  
    3939    platform/win/CursorWin.cpp
    4040    platform/win/DragDataWin.cpp
     41    platform/win/DragImageWin.cpp
    4142    platform/win/EditorWin.cpp
    4243    platform/win/EventLoopWin.cpp
     
    6364    platform/win/WheelEventWin.cpp
    6465
    65     platform/wince/DragImageWince.cpp
    6666    platform/wince/FileSystemWince.cpp
    6767    platform/wince/KURLWince.cpp
  • trunk/Source/WebCore/platform/win/DragImageWin.cpp

    r110503 r141378  
    109109static Font dragLabelFont(int size, bool bold, FontRenderingMode renderingMode)
    110110{
     111    Font result;
     112#if !OS(WINCE)
    111113    NONCLIENTMETRICS metrics;
    112114    metrics.cbSize = sizeof(metrics);
     
    122124    description.setComputedSize((float)size);
    123125    description.setRenderingMode(renderingMode);
    124     Font result = Font(description, 0, 0);
     126    result = Font(description, 0, 0);
    125127    result.update(0);
     128#endif
    126129    return result;
    127130}
Note: See TracChangeset for help on using the changeset viewer.