OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/common/platform_util.h" | 5 #include "chrome/common/platform_util.h" |
6 | 6 |
7 #include <commdlg.h> | 7 #include <commdlg.h> |
8 #include <dwmapi.h> | 8 #include <dwmapi.h> |
9 #include <shellapi.h> | 9 #include <shellapi.h> |
10 #include <shlobj.h> | 10 #include <shlobj.h> |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 // MSVC complains if we don't include != 0. | 150 // MSVC complains if we don't include != 0. |
151 return ::IsWindowVisible(view) != 0; | 151 return ::IsWindowVisible(view) != 0; |
152 } | 152 } |
153 | 153 |
154 void SimpleErrorBox(gfx::NativeWindow parent, | 154 void SimpleErrorBox(gfx::NativeWindow parent, |
155 const string16& title, | 155 const string16& title, |
156 const string16& message) { | 156 const string16& message) { |
157 win_util::MessageBox(parent, message, title, MB_OK | MB_SETFOREGROUND); | 157 win_util::MessageBox(parent, message, title, MB_OK | MB_SETFOREGROUND); |
158 } | 158 } |
159 | 159 |
160 RendererPreferences GetInitedRendererPreferences() { | |
161 return RendererPreferences(); | |
162 } | |
163 | |
164 } // namespace platform_util | 160 } // namespace platform_util |
OLD | NEW |