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

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: CR feedback 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
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..28749c8adda9c8a2e40b1b60aed3897fd66e73ba 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_;
+ 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;

Powered by Google App Engine
This is Rietveld 408576698