Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Issue 12251010: Ensure that when themes in desktop chrome AURA on Windows use the opaque browser frame view. (Closed)

Created:
7 years, 10 months ago by ananta
Modified:
7 years, 10 months ago
Reviewers:
Sergey Ulanov, sky
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Ensure that when themes in desktop chrome AURA on Windows use the opaque browser frame view. To achieve this we need to mimic the implementation in BrowserFrameWin::ShouldUseNativeFrame in the DesktopBrowserFrameAura::ShouldUseNativeFrame override. The code in BrowserFrameWin::ShouldUseNativeFrame has been moved to a helper function in the browser namespace ShouldUseNativeFrame in the newly added files browser_frame_common_win.h/.cc. This is invoked from BrowserFrameWin and from the BrowserDesktopRootWindowHostWin::ShouldUseNativeFrame override which is invoked via the DesktopBrowserFrameAura::ShouldUseNativeFrame override for AURA BUG=175372 R=sky Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182281

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Total comments: 2

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -15 lines) Patch
M chrome/browser/ui/views/frame/browser_desktop_root_window_host_win.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_desktop_root_window_host_win.cc View 1 2 3 4 5 3 chunks +8 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/frame/browser_frame_common_win.h View 1 2 3 4 5 1 chunk +30 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/frame/browser_frame_common_win.cc View 1 2 3 4 5 1 chunk +34 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_frame_win.cc View 1 2 3 4 5 2 chunks +4 lines, -15 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_root_window_host_win.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
ananta
7 years, 10 months ago (2013-02-13 00:21:54 UTC) #1
sky
https://codereview.chromium.org/12251010/diff/5002/chrome/browser/ui/views/frame/browser_frame_common_win.h File chrome/browser/ui/views/frame/browser_frame_common_win.h (right): https://codereview.chromium.org/12251010/diff/5002/chrome/browser/ui/views/frame/browser_frame_common_win.h#newcode21 chrome/browser/ui/views/frame/browser_frame_common_win.h:21: namespace browser { browser->chrome https://codereview.chromium.org/12251010/diff/5002/chrome/browser/ui/views/frame/desktop_browser_frame_aura.cc File chrome/browser/ui/views/frame/desktop_browser_frame_aura.cc (right): https://codereview.chromium.org/12251010/diff/5002/chrome/browser/ui/views/frame/desktop_browser_frame_aura.cc#newcode95 ...
7 years, 10 months ago (2013-02-13 00:42:54 UTC) #2
ananta
https://codereview.chromium.org/12251010/diff/5002/chrome/browser/ui/views/frame/browser_frame_common_win.h File chrome/browser/ui/views/frame/browser_frame_common_win.h (right): https://codereview.chromium.org/12251010/diff/5002/chrome/browser/ui/views/frame/browser_frame_common_win.h#newcode21 chrome/browser/ui/views/frame/browser_frame_common_win.h:21: namespace browser { On 2013/02/13 00:42:54, sky wrote: > ...
7 years, 10 months ago (2013-02-13 01:43:21 UTC) #3
sky
LGTM https://codereview.chromium.org/12251010/diff/11014/ui/views/widget/desktop_aura/desktop_root_window_host_win.h File ui/views/widget/desktop_aura/desktop_root_window_host_win.h (right): https://codereview.chromium.org/12251010/diff/11014/ui/views/widget/desktop_aura/desktop_root_window_host_win.h#newcode203 ui/views/widget/desktop_aura/desktop_root_window_host_win.h:203: const DesktopNativeWidgetAura* desktop_native_widget_aura() { This should be: const ...
7 years, 10 months ago (2013-02-13 14:49:44 UTC) #4
ananta
https://codereview.chromium.org/12251010/diff/11014/ui/views/widget/desktop_aura/desktop_root_window_host_win.h File ui/views/widget/desktop_aura/desktop_root_window_host_win.h (right): https://codereview.chromium.org/12251010/diff/11014/ui/views/widget/desktop_aura/desktop_root_window_host_win.h#newcode203 ui/views/widget/desktop_aura/desktop_root_window_host_win.h:203: const DesktopNativeWidgetAura* desktop_native_widget_aura() { On 2013/02/13 14:49:44, sky wrote: ...
7 years, 10 months ago (2013-02-13 19:07:58 UTC) #5
Sergey Ulanov
7 years, 10 months ago (2013-02-13 20:22:59 UTC) #6
Message was sent while issue was closed.
Reverted because it was breaking many tests on windows. Please make sure your
try results are *green* before landing this again. There were many repeated
failing tests in you try jobs and you landed it anyway.

Powered by Google App Engine
This is Rietveld 408576698