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

Side by Side Diff: chrome/browser/remoting/remoting_options_handler.cc

Issue 6541006: WebUI: Move more files from chrome/browser/dom_ui to chrome/browser/webui. Part 3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "chrome/browser/remoting/remoting_options_handler.h" 5 #include "chrome/browser/remoting/remoting_options_handler.h"
6 6
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "chrome/browser/service/service_process_control_manager.h"
10 #include "chrome/browser/webui/web_ui.h"
9 #include "chrome/common/remoting/chromoting_host_info.h" 11 #include "chrome/common/remoting/chromoting_host_info.h"
10 #include "chrome/browser/dom_ui/web_ui.h"
11 #include "chrome/browser/service/service_process_control_manager.h"
12 #include "grit/generated_resources.h" 12 #include "grit/generated_resources.h"
13 #include "ui/base/l10n/l10n_util.h" 13 #include "ui/base/l10n/l10n_util.h"
14 14
15 namespace remoting { 15 namespace remoting {
16 16
17 RemotingOptionsHandler::RemotingOptionsHandler() 17 RemotingOptionsHandler::RemotingOptionsHandler()
18 : web_ui_(NULL), 18 : web_ui_(NULL),
19 process_control_(NULL) { 19 process_control_(NULL) {
20 } 20 }
21 21
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 status = l10n_util::GetStringUTF16(IDS_REMOTING_STATUS_DISABLED_TEXT); 54 status = l10n_util::GetStringUTF16(IDS_REMOTING_STATUS_DISABLED_TEXT);
55 } 55 }
56 56
57 FundamentalValue enabled_value(enabled); 57 FundamentalValue enabled_value(enabled);
58 StringValue status_value(status); 58 StringValue status_value(status);
59 web_ui_->CallJavascriptFunction(L"options.AdvancedOptions.SetRemotingStatus", 59 web_ui_->CallJavascriptFunction(L"options.AdvancedOptions.SetRemotingStatus",
60 enabled_value, status_value); 60 enabled_value, status_value);
61 } 61 }
62 62
63 } // namespace remoting 63 } // namespace remoting
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_dialog_cloud_internal.h ('k') | chrome/browser/remoting/setup_flow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698