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

Unified Diff: chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h

Issue 916833005: [Mac] Use a custom view to implement colored app windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 5 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/apps/native_app_window_cocoa.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h
diff --git a/chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h b/chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h
index b8aef3d69fc3a8307df9290958c192582491edee..d41d80abbeec4168680d1992d202fcf11b8f4c65 100644
--- a/chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h
+++ b/chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h
@@ -23,6 +23,7 @@ class ExtensionKeybindingRegistryCocoa;
class NativeAppWindowCocoa;
@class ShellNSWindow;
class SkRegion;
+@class TitlebarBackgroundView;
// A window controller for a minimal window to host a web app view. Passes
// Objective-C notifications to the C++ bridge.
@@ -206,6 +207,7 @@ class NativeAppWindowCocoa : public extensions::NativeAppWindow,
SkColor inactive_frame_color_;
base::scoped_nsobject<NativeAppWindowController> window_controller_;
+ base::scoped_nsobject<TitlebarBackgroundView> titlebar_background_view_;
// For system drag, the whole window is draggable and the non-draggable areas
// have to been explicitly excluded.
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/apps/native_app_window_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698