| OLD | NEW |
| 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 "remoting/host/continue_window.h" | 5 #include "remoting/host/continue_window.h" |
| 6 | 6 |
| 7 #include <windows.h> | 7 #include <windows.h> |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 | 141 |
| 142 HWND hwndDefault = GetDlgItem(hwnd_, IDC_CONTINUE_DEFAULT); | 142 HWND hwndDefault = GetDlgItem(hwnd_, IDC_CONTINUE_DEFAULT); |
| 143 CHECK(hwndDefault); | 143 CHECK(hwndDefault); |
| 144 SetWindowText(hwndDefault, strings.continue_button_text.c_str()); | 144 SetWindowText(hwndDefault, strings.continue_button_text.c_str()); |
| 145 | 145 |
| 146 HWND hwndCancel = GetDlgItem(hwnd_, IDC_CONTINUE_CANCEL); | 146 HWND hwndCancel = GetDlgItem(hwnd_, IDC_CONTINUE_CANCEL); |
| 147 CHECK(hwndCancel); | 147 CHECK(hwndCancel); |
| 148 SetWindowText(hwndCancel, strings.stop_sharing_button_text.c_str()); | 148 SetWindowText(hwndCancel, strings.stop_sharing_button_text.c_str()); |
| 149 } | 149 } |
| 150 | 150 |
| 151 ContinueWindow* ContinueWindow::Create() { | 151 scoped_ptr<ContinueWindow> ContinueWindow::Create() { |
| 152 return new ContinueWindowWin(); | 152 return scoped_ptr<ContinueWindow>(new ContinueWindowWin()); |
| 153 } | 153 } |
| 154 | 154 |
| 155 } // namespace remoting | 155 } // namespace remoting |
| OLD | NEW |