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

Side by Side Diff: chrome/browser/ui/cocoa/status_bubble_mac.h

Issue 16012017: Use a direct include of strings headers in chrome/browser/ui/cocoa/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_COCOA_STATUS_BUBBLE_MAC_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_STATUS_BUBBLE_MAC_H_
6 #define CHROME_BROWSER_UI_COCOA_STATUS_BUBBLE_MAC_H_ 6 #define CHROME_BROWSER_UI_COCOA_STATUS_BUBBLE_MAC_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #import <Cocoa/Cocoa.h> 10 #import <Cocoa/Cocoa.h>
11 #import <QuartzCore/QuartzCore.h> 11 #import <QuartzCore/QuartzCore.h>
12 12
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/string16.h" 15 #include "base/strings/string16.h"
16 #include "chrome/browser/ui/status_bubble.h" 16 #include "chrome/browser/ui/status_bubble.h"
17 #include "googleurl/src/gurl.h" 17 #include "googleurl/src/gurl.h"
18 18
19 class StatusBubbleMacTest; 19 class StatusBubbleMacTest;
20 20
21 class StatusBubbleMac : public StatusBubble { 21 class StatusBubbleMac : public StatusBubble {
22 public: 22 public:
23 // The various states that a status bubble may be in. Public for delegate 23 // The various states that a status bubble may be in. Public for delegate
24 // access (for testing). 24 // access (for testing).
25 enum StatusBubbleState { 25 enum StatusBubbleState {
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 @interface NSObject(StatusBubbleDelegate) 183 @interface NSObject(StatusBubbleDelegate)
184 // Called to query the delegate about the frame StatusBubble should position 184 // Called to query the delegate about the frame StatusBubble should position
185 // itself in. Frame is returned in the parent window coordinates. 185 // itself in. Frame is returned in the parent window coordinates.
186 - (NSRect)statusBubbleBaseFrame; 186 - (NSRect)statusBubbleBaseFrame;
187 187
188 // Called from SetState to notify the delegate of state changes. 188 // Called from SetState to notify the delegate of state changes.
189 - (void)statusBubbleWillEnterState:(StatusBubbleMac::StatusBubbleState)state; 189 - (void)statusBubbleWillEnterState:(StatusBubbleMac::StatusBubbleState)state;
190 @end 190 @end
191 191
192 #endif // CHROME_BROWSER_UI_COCOA_STATUS_BUBBLE_MAC_H_ 192 #endif // CHROME_BROWSER_UI_COCOA_STATUS_BUBBLE_MAC_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.mm ('k') | chrome/browser/ui/cocoa/status_bubble_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698