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

Unified Diff: chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.h

Issue 195283003: Adds a hide button to the desktop capture notification bar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.h
diff --git a/chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.h b/chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.h
index 97126c818162e07ed298d9541d1a17b0d9894fc4..9193da39477a52dad6ae7107c6d18094dffd8630 100644
--- a/chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.h
+++ b/chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.h
@@ -19,11 +19,13 @@
@private
base::Closure stop_callback_;
base::scoped_nsobject<NSButton> stopButton_;
+ base::scoped_nsobject<NSButton> minimizeButton_;
}
- (id)initWithCallback:(const base::Closure&)stop_callback
text:(const base::string16&)text;
- (void)stopSharing:(id)sender;
+- (void)minimize:(id)sender;
@end

Powered by Google App Engine
This is Rietveld 408576698