diff options
author | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-16 20:30:07 +0000 |
---|---|---|
committer | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-16 20:30:07 +0000 |
commit | b47049a6e55ec20778869fd596694addb307aa75 (patch) | |
tree | c574c8db1a2851cec65dd0c559d79a6153033395 /remoting/host/disconnect_window_mac.h | |
parent | 5b5dc341eeaf170ad4aa6d6ba98f8e97c47211dd (diff) | |
download | chromium_src-b47049a6e55ec20778869fd596694addb307aa75.zip chromium_src-b47049a6e55ec20778869fd596694addb307aa75.tar.gz chromium_src-b47049a6e55ec20778869fd596694addb307aa75.tar.bz2 |
Moved the localized strings from ChromotinHost to HostUserInterface, closer to the UI objects that consume them. Removed a dependency on ChromotingHost from the continue window UI wrapper.
BUG=104544
Review URL: https://chromiumcodereview.appspot.com/11886051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177207 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/disconnect_window_mac.h')
-rw-r--r-- | remoting/host/disconnect_window_mac.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/remoting/host/disconnect_window_mac.h b/remoting/host/disconnect_window_mac.h index c5e1db9..a490aec 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; |