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

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

Issue 928303003: [Mac] Use NSTitlebarAccessoryViewController to implement colored app window frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nawc
Patch Set: 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 | « base/mac/sdk_forward_declarations.h ('k') | 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 da61ae216099063531bb1ddbd201662c47e7ed97..044f37d7a49178af8161d9f798341852d88df712 100644
--- a/chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h
+++ b/chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h
@@ -115,6 +115,7 @@ class NativeAppWindowCocoa : public extensions::NativeAppWindow,
void WindowDidEnterFullscreen();
// Called when the window exits fullscreen.
+ void WindowWillExitFullscreen();
void WindowDidExitFullscreen();
// Called to handle a key event.
@@ -217,6 +218,7 @@ class NativeAppWindowCocoa : public extensions::NativeAppWindow,
base::scoped_nsobject<NativeAppWindowController> window_controller_;
base::scoped_nsobject<TitlebarBackgroundView> titlebar_background_view_;
+ base::scoped_nsobject<id> titlebar_accessory_view_controller_;
// For system drag, the whole window is draggable and the non-draggable areas
// have to been explicitly excluded.
« no previous file with comments | « base/mac/sdk_forward_declarations.h ('k') | 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