Changeset 238296 in webkit


Ignore:
Timestamp:
Nov 16, 2018 12:18:47 PM (5 years ago)
Author:
commit-queue@webkit.org
Message:

[WinCairo][WebKitTestRunner] Test contents window is displayed while testing.
https://bugs.webkit.org/show_bug.cgi?id=191593

Patch by Takashi Komori <Takashi.Komori@sony.com> on 2018-11-16
Reviewed by Alex Christensen.

Hide TestRunner window and taskbar button.

  • WebKitTestRunner/win/PlatformWebViewWin.cpp:

(WTR::PlatformWebView::PlatformWebView):
(WTR::PlatformWebView::windowSnapshotImage):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r238293 r238296  
     12018-11-16  Takashi Komori  <Takashi.Komori@sony.com>
     2
     3        [WinCairo][WebKitTestRunner] Test contents window is displayed while testing.
     4        https://bugs.webkit.org/show_bug.cgi?id=191593
     5
     6        Reviewed by Alex Christensen.
     7
     8        Hide TestRunner window and taskbar button.
     9
     10        * WebKitTestRunner/win/PlatformWebViewWin.cpp:
     11        (WTR::PlatformWebView::PlatformWebView):
     12        (WTR::PlatformWebView::windowSnapshotImage):
     13
    1142018-11-16  Alex Christensen  <achristensen@webkit.org>
    215
  • trunk/Tools/WebKitTestRunner/win/PlatformWebViewWin.cpp

    r238098 r238296  
    7070    RECT viewRect = {0, 0, 800, 600};
    7171    m_window = ::CreateWindowEx(
    72         0,
     72        WS_EX_TOOLWINDOW,
    7373        hostWindowClassName,
    7474        testRunnerWindowName,
    7575        WS_OVERLAPPEDWINDOW,
    76         0,
    77         0,
     76        -viewRect.right,
     77        -viewRect.bottom,
    7878        viewRect.right,
    7979        viewRect.bottom,
     
    219219        return nullptr;
    220220
     221    ::InvalidateRect(m_window, nullptr, true);
    221222    ::SelectObject(memoryDC.get(), bitmap.get());
    222223    ::BitBlt(memoryDC.get(),
Note: See TracChangeset for help on using the changeset viewer.