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

Side by Side Diff: chrome/browser/ui/panels/panel_window_controller_cocoa.h

Issue 10180011: Support painting panels with chromium themes on GTK. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch to land Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_
7 7
8 // A class acting as the Objective-C controller for the Panel window 8 // A class acting as the Objective-C controller for the Panel window
9 // object. Handles interactions between Cocoa and the cross-platform 9 // object. Handles interactions between Cocoa and the cross-platform
10 // code. Each window has a single titlebar and is managed/owned by Panel. 10 // code. Each window has a single titlebar and is managed/owned by Panel.
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 // See Panel::FullScreenModeChanged. 132 // See Panel::FullScreenModeChanged.
133 - (void)fullScreenModeChanged:(bool)isFullScreen; 133 - (void)fullScreenModeChanged:(bool)isFullScreen;
134 134
135 // Helper for NSWindow, returns NO for minimized panels in some cases, so they 135 // Helper for NSWindow, returns NO for minimized panels in some cases, so they
136 // are not un-minimized when another panel is minimized. 136 // are not un-minimized when another panel is minimized.
137 - (BOOL)canBecomeKeyWindow; 137 - (BOOL)canBecomeKeyWindow;
138 138
139 // Returns true if browser window requested activation of the window. 139 // Returns true if browser window requested activation of the window.
140 - (BOOL)activationRequestedByBrowser; 140 - (BOOL)activationRequestedByBrowser;
141 141
142 // Returns width of titlebar when shown in "icon only" mode.
143 - (int)titlebarIconOnlyWidthInScreenCoordinates;
144
145 - (void)ensureFullyVisible; 142 - (void)ensureFullyVisible;
146 143
147 - (void)updateWindowLevel; 144 - (void)updateWindowLevel;
148 145
149 // Turns on user-resizable corners/sides indications and enables live resize. 146 // Turns on user-resizable corners/sides indications and enables live resize.
150 - (void)enableResizeByMouse:(BOOL)enable; 147 - (void)enableResizeByMouse:(BOOL)enable;
151 148
152 @end // @interface PanelWindowController 149 @end // @interface PanelWindowController
153 150
154 #endif // CHROME_BROWSER_UI_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_ 151 #endif // CHROME_BROWSER_UI_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel_titlebar_view_cocoa.mm ('k') | chrome/browser/ui/panels/panel_window_controller_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698