Chromium Code Reviews| Index: chrome/browser/views/frame/browser_frame_win.cc |
| diff --git a/chrome/browser/views/frame/browser_frame_win.cc b/chrome/browser/views/frame/browser_frame_win.cc |
| index 0092fa7c42beb0c85a5b84b53d3853680c24745b..7239b53424cf9035fed1398b232f3b5a33b1ca7c 100644 |
| --- a/chrome/browser/views/frame/browser_frame_win.cc |
| +++ b/chrome/browser/views/frame/browser_frame_win.cc |
| @@ -111,6 +111,9 @@ bool BrowserFrameWin::AlwaysUseNativeFrame() const { |
| if (browser_view_->IsBrowserTypePanel()) |
| return false; |
| + if (browser_view_->browser()->type() == Browser::TYPE_EXTENSION_APP) |
|
Peter Kasting
2010/04/28 04:45:17
Nit: Add a comment about this (and, if applicable,
|
| + return false; |
| + |
| // We don't theme popup or app windows, so regardless of whether or not a |
| // theme is active for normal browser windows, we don't want to use the custom |
| // frame for popups/apps. |