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

Unified Diff: chrome/browser/ui/views/apps/chrome_native_app_window_views_aura.cc

Issue 1053303003: [MacViews] Implement colored window frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile on Aura. Created 5 years, 7 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/apps/chrome_native_app_window_views_aura.cc
diff --git a/chrome/browser/ui/views/apps/chrome_native_app_window_views_aura.cc b/chrome/browser/ui/views/apps/chrome_native_app_window_views_aura.cc
index c6540d00000d1baaf8e8acbd371698abd16b494e..9f08476f2e2277a138c58800bb553a9aef4d7a65 100644
--- a/chrome/browser/ui/views/apps/chrome_native_app_window_views_aura.cc
+++ b/chrome/browser/ui/views/apps/chrome_native_app_window_views_aura.cc
@@ -174,10 +174,10 @@ void ChromeNativeAppWindowViewsAura::OnBeforePanelWidgetInit(
}
}
-apps::AppWindowFrameView*
+views::NonClientFrameView*
ChromeNativeAppWindowViewsAura::CreateNonStandardAppFrame() {
- apps::AppWindowFrameView* frame =
- ChromeNativeAppWindowViews::CreateNonStandardAppFrame();
+ apps::AppWindowFrameView* frame = static_cast<apps::AppWindowFrameView*>(
tapted 2015/05/14 04:23:50 This isn't so nice.. What about making ChromeNativ
jackhou1 2015/05/14 06:20:40 Done.
+ ChromeNativeAppWindowViews::CreateNonStandardAppFrame());
// For Aura windows on the Ash desktop the sizes are different and the user
// can resize the window from slightly outside the bounds as well.

Powered by Google App Engine
This is Rietveld 408576698