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

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

Issue 1612: Implement "iframe shim" behavior for windowed plugins.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years, 2 months 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/render_messages.h ('k') | chrome/plugin/webplugin_delegate_stub.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/win_util.h" 5 #include "chrome/common/win_util.h"
6 6
7 #include <atlbase.h> 7 #include <atlbase.h>
8 #include <atlapp.h> 8 #include <atlapp.h>
9 #include <commdlg.h> 9 #include <commdlg.h>
10 #include <dwmapi.h> 10 #include <dwmapi.h>
11 #include <shellapi.h> 11 #include <shellapi.h>
12 #include <shlobj.h> 12 #include <shlobj.h>
13 13
14 #include "base/file_util.h" 14 #include "base/file_util.h"
15 #include "base/gfx/bitmap_header.h" 15 #include "base/gfx/gdi_util.h"
16 #include "base/gfx/png_encoder.h" 16 #include "base/gfx/png_encoder.h"
17 #include "base/logging.h" 17 #include "base/logging.h"
18 #include "base/registry.h" 18 #include "base/registry.h"
19 #include "base/scoped_handle.h" 19 #include "base/scoped_handle.h"
20 #include "base/string_util.h" 20 #include "base/string_util.h"
21 #include "base/win_util.h" 21 #include "base/win_util.h"
22 #include "chrome/common/l10n_util.h" 22 #include "chrome/common/l10n_util.h"
23 #include "generated_resources.h" 23 #include "generated_resources.h"
24 24
25 // Ensure that we pick up this link library. 25 // Ensure that we pick up this link library.
(...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after
800 std::wstring localized_caption; 800 std::wstring localized_caption;
801 const wchar_t* caption_ptr = caption.c_str(); 801 const wchar_t* caption_ptr = caption.c_str();
802 if (l10n_util::AdjustStringForLocaleDirection(caption, &localized_caption)) 802 if (l10n_util::AdjustStringForLocaleDirection(caption, &localized_caption))
803 caption_ptr = localized_caption.c_str(); 803 caption_ptr = localized_caption.c_str();
804 804
805 return ::MessageBox(hwnd, text_ptr, caption_ptr, actual_flags); 805 return ::MessageBox(hwnd, text_ptr, caption_ptr, actual_flags);
806 } 806 }
807 807
808 } // namespace win_util 808 } // namespace win_util
809 809
OLDNEW
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/plugin/webplugin_delegate_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698