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

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

Issue 10831025: mac: Remove now-unneeded includes of cocoa_protocols.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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_TITLEBAR_VIEW_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_TITLEBAR_VIEW_COCOA_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_TITLEBAR_VIEW_COCOA_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_TITLEBAR_VIEW_COCOA_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #import "base/mac/cocoa_protocols.h"
11 #import "chrome/browser/ui/cocoa/tracking_area.h" 10 #import "chrome/browser/ui/cocoa/tracking_area.h"
12 11
13 @class CrTrackingArea; 12 @class CrTrackingArea;
14 @class HoverImageButton; 13 @class HoverImageButton;
15 @class PanelWindowControllerCocoa; 14 @class PanelWindowControllerCocoa;
16 15
17 // A class that works as a custom titlebar for Panels. It is placed on top of 16 // A class that works as a custom titlebar for Panels. It is placed on top of
18 // the regular Cocoa titlebar. We paint theme image on it, and it's 17 // the regular Cocoa titlebar. We paint theme image on it, and it's
19 // the place for the close button, page favicon, title label and a button to 18 // the place for the close button, page favicon, title label and a button to
20 // minimize/restore the panel. 19 // minimize/restore the panel.
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 - (void)pressLeftMouseButtonTitlebar:(NSPoint)mouseLocation 137 - (void)pressLeftMouseButtonTitlebar:(NSPoint)mouseLocation
139 modifiers:(int)modifierFlags; 138 modifiers:(int)modifierFlags;
140 - (void)releaseLeftMouseButtonTitlebar:(int)modifierFlags; 139 - (void)releaseLeftMouseButtonTitlebar:(int)modifierFlags;
141 - (void)dragTitlebar:(NSPoint)mouseLocation; 140 - (void)dragTitlebar:(NSPoint)mouseLocation;
142 - (void)cancelDragTitlebar; 141 - (void)cancelDragTitlebar;
143 - (void)finishDragTitlebar; 142 - (void)finishDragTitlebar;
144 143
145 @end // @interface PanelTitlebarViewCocoa(TestingAPI) 144 @end // @interface PanelTitlebarViewCocoa(TestingAPI)
146 145
147 #endif // CHROME_BROWSER_UI_PANELS_PANEL_TITLEBAR_VIEW_COCOA_H_ 146 #endif // CHROME_BROWSER_UI_PANELS_PANEL_TITLEBAR_VIEW_COCOA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698