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

Unified Diff: chrome/browser/ui/views/frame/browser_frame_common_win.cc

Issue 13139004: Deprecate Browser::TYPE_PANEL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/frame/browser_frame_common_win.cc
diff --git a/chrome/browser/ui/views/frame/browser_frame_common_win.cc b/chrome/browser/ui/views/frame/browser_frame_common_win.cc
index 3c3db1e618a57569cc7be163a5d1d940d158a382..269a668f3282c70a971a8da9ed7d4b178e5056ad 100644
--- a/chrome/browser/ui/views/frame/browser_frame_common_win.cc
+++ b/chrome/browser/ui/views/frame/browser_frame_common_win.cc
@@ -11,10 +11,6 @@ namespace chrome {
bool ShouldUseNativeFrame(const BrowserView* browser_view,
const ui::ThemeProvider* theme_provider) {
- // App panel windows draw their own frame.
- if (browser_view->IsPanel())
- 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.
@@ -27,4 +23,3 @@ bool ShouldUseNativeFrame(const BrowserView* browser_view,
}
} // namespace browser
-
« no previous file with comments | « chrome/browser/ui/views/frame/browser_frame.cc ('k') | chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698