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

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

Issue 1366123002: Cleanup: IWYU for base/gtest_prod_util.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gtest_iwyu
Patch Set: more lint Created 5 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 unified diff | Download patch
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 #ifndef CHROME_BROWSER_UI_COCOA_SCREEN_CAPTURE_NOTIFICATION_UI_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_SCREEN_CAPTURE_NOTIFICATION_UI_COCOA_H_
7
5 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
6 9
7 #include <string> 10 #include <string>
8 11
9 #include "base/callback.h" 12 #include "base/callback.h"
10 #include "base/gtest_prod_util.h"
11 #include "base/mac/scoped_nsobject.h" 13 #include "base/mac/scoped_nsobject.h"
12 #include "base/strings/string16.h" 14 #include "base/strings/string16.h"
13 #include "chrome/browser/ui/screen_capture_notification_ui.h" 15 #include "chrome/browser/ui/screen_capture_notification_ui.h"
14 16
15 // Controller for the screen capture notification window which allows the user 17 // Controller for the screen capture notification window which allows the user
16 // to quickly stop screen capturing. 18 // to quickly stop screen capturing.
17 @interface ScreenCaptureNotificationController 19 @interface ScreenCaptureNotificationController
18 : NSWindowController<NSWindowDelegate> { 20 : NSWindowController<NSWindowDelegate> {
19 @private 21 @private
20 base::Closure stop_callback_; 22 base::Closure stop_callback_;
(...skipping 17 matching lines...) Expand all
38 gfx::NativeViewId OnStarted(const base::Closure& stop_callback) override; 40 gfx::NativeViewId OnStarted(const base::Closure& stop_callback) override;
39 41
40 private: 42 private:
41 friend class ScreenCaptureNotificationUICocoaTest; 43 friend class ScreenCaptureNotificationUICocoaTest;
42 44
43 const base::string16 text_; 45 const base::string16 text_;
44 base::scoped_nsobject<ScreenCaptureNotificationController> windowController_; 46 base::scoped_nsobject<ScreenCaptureNotificationController> windowController_;
45 47
46 DISALLOW_COPY_AND_ASSIGN(ScreenCaptureNotificationUICocoa); 48 DISALLOW_COPY_AND_ASSIGN(ScreenCaptureNotificationUICocoa);
47 }; 49 };
50
51 #endif // CHROME_BROWSER_UI_COCOA_SCREEN_CAPTURE_NOTIFICATION_UI_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/panels/panel_cocoa.h ('k') | chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698