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

Side by Side Diff: content/browser/media/capture/window_activity_tracker_mac.h

Issue 1994013002: Fix "unused variable" warnings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update to reflect recent change to Mac code Created 4 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 CONTENT_BROWSER_MEDIA_CAPTURE_WINDOW_ACTIVITY_TRACKER_MAC_H_ 5 #ifndef CONTENT_BROWSER_MEDIA_CAPTURE_WINDOW_ACTIVITY_TRACKER_MAC_H_
6 #define CONTENT_BROWSER_MEDIA_CAPTURE_WINDOW_ACTIVITY_TRACKER_MAC_H_ 6 #define CONTENT_BROWSER_MEDIA_CAPTURE_WINDOW_ACTIVITY_TRACKER_MAC_H_
7 7
8 #import <AppKit/AppKit.h> 8 #import <AppKit/AppKit.h>
9 #import <CoreFoundation/CoreFoundation.h> 9 #import <CoreFoundation/CoreFoundation.h>
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 class CONTENT_EXPORT WindowActivityTrackerMac : public WindowActivityTracker { 42 class CONTENT_EXPORT WindowActivityTrackerMac : public WindowActivityTracker {
43 public: 43 public:
44 explicit WindowActivityTrackerMac(NSView* view); 44 explicit WindowActivityTrackerMac(NSView* view);
45 ~WindowActivityTrackerMac() final; 45 ~WindowActivityTrackerMac() final;
46 46
47 base::WeakPtr<WindowActivityTracker> GetWeakPtr() final; 47 base::WeakPtr<WindowActivityTracker> GetWeakPtr() final;
48 48
49 private: 49 private:
50 void OnMouseActivity(); 50 void OnMouseActivity();
51 51
52 NSView* const view_;
53 base::scoped_nsobject<MouseTracker> mouse_tracker_; 52 base::scoped_nsobject<MouseTracker> mouse_tracker_;
54 53
55 base::WeakPtrFactory<WindowActivityTrackerMac> weak_factory_; 54 base::WeakPtrFactory<WindowActivityTrackerMac> weak_factory_;
56 55
57 DISALLOW_COPY_AND_ASSIGN(WindowActivityTrackerMac); 56 DISALLOW_COPY_AND_ASSIGN(WindowActivityTrackerMac);
58 }; 57 };
59 58
60 } // namespace content 59 } // namespace content
61 60
62 #endif // CONTENT_BROWSER_MEDIA_CAPTURE_WINDOW_ACTIVITY_TRACKER_MAC_H_ 61 #endif // CONTENT_BROWSER_MEDIA_CAPTURE_WINDOW_ACTIVITY_TRACKER_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698