• ben@chromium.org's avatar
    Completes the GetWindowRect/GetRootWindowRect/GetScreenInfo changes I thought... · 010882ff
    ben@chromium.org authored
    Completes the GetWindowRect/GetRootWindowRect/GetScreenInfo changes I thought I had finished with my last CL.
    
    . Disable a check in BrowserMessageFilter that these messages are not handled on the UI thread, for Aura. In Aura, these messages need to be handled on the UI thread (since aura::Windows are not threadsafe). We do not have the NPAPI plugin constraints regular windows has, so this check is not important.
    . Properly handle these messages in RWH, by sprinkling in some more defined(USE_AURA) to go with the defined(OS_POSIX).
    . Properly define RenderWidgetHostView::GetDefaultScreenInfo() (it was being done as an override to a static?.. oops).
    . Get rid of the USE_AURA NOTIMPLEMENTED() definition of the above in render_widget_host_view.cc, replacing with an impl in rwhva.cc. Also moves the _mac and _touch variants to their own .mm/.cc files.
    . Gets rid of WillWmDestroy for Aura. It's normal-windows-only.
    
    BUG=none
    TEST=none
    Review URL: http://codereview.chromium.org/8566011
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109965 0039d316-1c4b-4281-b951-d872f2087c98
    010882ff
tab_contents.cc 74.7 KB