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

Unified Diff: remoting/host/disconnect_window_mac.h

Issue 11886051: Turned UiStrings into a singleton so that the continue window does not depend on ChromotingHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 11 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
« no previous file with comments | « remoting/host/disconnect_window_gtk.cc ('k') | remoting/host/disconnect_window_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/disconnect_window_mac.h
diff --git a/remoting/host/disconnect_window_mac.h b/remoting/host/disconnect_window_mac.h
index c5e1db9fb01bc0e55a718bef6bc7d99e73936162..a490aecf548fbc794f958c1c209c67192d0b3821 100644
--- a/remoting/host/disconnect_window_mac.h
+++ b/remoting/host/disconnect_window_mac.h
@@ -19,16 +19,14 @@ struct UiStrings;
// quickly disconnect a session.
@interface DisconnectWindowController : NSWindowController {
@private
- bool rtl_;
- string16 disconnect_message_;
- string16 disconnect_button_text_;
+ const remoting::UiStrings* ui_strings_;
base::Closure disconnect_callback_;
string16 username_;
IBOutlet NSTextField* connectedToField_;
IBOutlet NSButton* disconnectButton_;
}
-- (id)initWithUiStrings:(const remoting::UiStrings&)ui_strings
+- (id)initWithUiStrings:(const remoting::UiStrings*)ui_strings
callback:(const base::Closure&)disconnect_callback
username:(const std::string&)username;
- (IBAction)stopSharing:(id)sender;
« no previous file with comments | « remoting/host/disconnect_window_gtk.cc ('k') | remoting/host/disconnect_window_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698