OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 <windows.h> | 5 #include <windows.h> |
6 #include <commctrl.h> | 6 #include <commctrl.h> |
7 | 7 |
8 #include <cstdint> | 8 #include <cstdint> |
9 #include <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 SetForegroundWindow(hwnd); | 203 SetForegroundWindow(hwnd); |
204 dialog->is_foreground_window_ = false; | 204 dialog->is_foreground_window_ = false; |
205 } | 205 } |
206 } | 206 } |
207 | 207 |
208 return S_OK; | 208 return S_OK; |
209 } | 209 } |
210 | 210 |
211 } // namespace | 211 } // namespace |
212 | 212 |
213 std::unique_ptr<It2MeConfirmationDialog> | 213 // static |
214 It2MeConfirmationDialogFactory::Create() { | 214 std::unique_ptr<It2MeConfirmationDialog> It2MeConfirmationDialog::Create() { |
215 return base::MakeUnique<It2MeConfirmationDialogWin>(); | 215 return base::MakeUnique<It2MeConfirmationDialogWin>(); |
216 } | 216 } |
217 | 217 |
218 } // namespace remoting | 218 } // namespace remoting |
OLD | NEW |