| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "stdafx.h" | 5 #include "stdafx.h" |
| 6 #include <corewindow.h> | 6 #include <corewindow.h> |
| 7 | 7 |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "ui/gfx/geometry/safe_integer_conversions.h" | 9 #include "ui/gfx/geometry/safe_integer_conversions.h" |
| 10 #include "ui/gfx/win/msg_util.h" | 10 #include "ui/gfx/win/msg_util.h" |
| (...skipping 1164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1175 }; | 1175 }; |
| 1176 | 1176 |
| 1177 | 1177 |
| 1178 mswr::ComPtr<winapp::Core::ICoreApplication> InitWindows7() { | 1178 mswr::ComPtr<winapp::Core::ICoreApplication> InitWindows7() { |
| 1179 HRESULT hr = ::CoInitializeEx(NULL, COINIT_MULTITHREADED); | 1179 HRESULT hr = ::CoInitializeEx(NULL, COINIT_MULTITHREADED); |
| 1180 if (FAILED(hr)) | 1180 if (FAILED(hr)) |
| 1181 CHECK(false); | 1181 CHECK(false); |
| 1182 return mswr::Make<CoreApplicationWin7Emulation>(); | 1182 return mswr::Make<CoreApplicationWin7Emulation>(); |
| 1183 } | 1183 } |
| 1184 | 1184 |
| OLD | NEW |