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

Unified Diff: chrome/browser/ui/panels/panel_titlebar_view_cocoa.h

Issue 8365020: Update Panel titlebar text and icon layout when resized on Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 2 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/panels/panel_titlebar_view_cocoa.h
diff --git a/chrome/browser/ui/panels/panel_titlebar_view_cocoa.h b/chrome/browser/ui/panels/panel_titlebar_view_cocoa.h
index 28441303096d67361db53cfb228262fc55d76e18..0cd2fce69baaab2577cf35efbf2a06125c496264 100644
--- a/chrome/browser/ui/panels/panel_titlebar_view_cocoa.h
+++ b/chrome/browser/ui/panels/panel_titlebar_view_cocoa.h
@@ -66,8 +66,8 @@ enum PanelDragState {
- (void)updateCloseButtonLayout;
- (void)updateIconAndTitleLayout;
-// We need to update our look when the Chrome theme changes or window focus
-// changes.
+// Various events that we'll need to redraw our titlebar for.
+- (void)didChangeFrame:(NSNotification*)notification;
- (void)didChangeTheme:(NSNotification*)notification;
- (void)didChangeMainWindow:(NSNotification*)notification;
@@ -93,6 +93,8 @@ enum PanelDragState {
- (PanelWindowControllerCocoa*)controller;
+- (NSTextField*)title;
+
// Simulates click on a close button. Used to test panel closing.
- (void)simulateCloseButtonClick;
« no previous file with comments | « chrome/browser/ui/panels/panel_browser_window_cocoa_unittest.mm ('k') | chrome/browser/ui/panels/panel_titlebar_view_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698