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

Side by Side Diff: chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/string16.h" 10 #include "base/strings/string16.h"
11 #include "chrome/browser/ui/screen_capture_notification_ui.h" 11 #include "chrome/browser/ui/screen_capture_notification_ui.h"
12 12
13 // Controller for the screen capture notification window which allows the user 13 // Controller for the screen capture notification window which allows the user
14 // to quickly stop screen capturing. 14 // to quickly stop screen capturing.
15 @interface ScreenCaptureNotificationController : NSWindowController { 15 @interface ScreenCaptureNotificationController : NSWindowController {
16 @private 16 @private
17 base::Closure stop_callback_; 17 base::Closure stop_callback_;
18 string16 title_; 18 string16 title_;
19 IBOutlet NSTextField* statusField_; 19 IBOutlet NSTextField* statusField_;
20 IBOutlet NSButton* stopButton_; 20 IBOutlet NSButton* stopButton_;
21 } 21 }
22 22
23 - (id)initWithCallback:(const base::Closure&)stop_callback 23 - (id)initWithCallback:(const base::Closure&)stop_callback
24 title:(const string16&)title; 24 title:(const string16&)title;
25 - (IBAction)stopSharing:(id)sender; 25 - (IBAction)stopSharing:(id)sender;
26 @end 26 @end
27 27
28 // A floating window with a custom border. The custom border and background 28 // A floating window with a custom border. The custom border and background
29 // content is defined by DisconnectView. Declared here so that it can be 29 // content is defined by DisconnectView. Declared here so that it can be
30 // instantiated via a xib. 30 // instantiated via a xib.
31 @interface ScreenCaptureNotificationWindow : NSWindow 31 @interface ScreenCaptureNotificationWindow : NSWindow
32 @end 32 @end
33 33
34 // The custom background/border for the ScreenCaptureNotificationWindow. 34 // The custom background/border for the ScreenCaptureNotificationWindow.
35 // Declared here so that it can be instantiated via a xib. 35 // Declared here so that it can be instantiated via a xib.
36 @interface ScreenCaptureNotificationView : NSView 36 @interface ScreenCaptureNotificationView : NSView
37 @end 37 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm ('k') | chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698