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

Side by Side Diff: chrome/common/platform_util_win.cc

Issue 479006: re-apply r34183... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years 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
« no previous file with comments | « chrome/common/platform_util_mac.mm ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/common/platform_util_mac.mm ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698