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

Side by Side Diff: components/test_runner/blink_test_platform_support_win.cc

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "components/test_runner/blink_test_platform_support.h" 5 #include "components/test_runner/blink_test_platform_support.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <stddef.h>
8 #include <iostream> 9 #include <iostream>
9 #include <list> 10 #include <list>
10 #include <string> 11 #include <string>
11 12
12 #include "base/command_line.h" 13 #include "base/command_line.h"
13 #include "base/files/file_path.h" 14 #include "base/files/file_path.h"
14 #include "base/files/file_util.h" 15 #include "base/files/file_util.h"
15 #include "base/logging.h" 16 #include "base/logging.h"
17 #include "base/macros.h"
16 #include "base/path_service.h" 18 #include "base/path_service.h"
17 #include "base/strings/utf_string_conversions.h" 19 #include "base/strings/utf_string_conversions.h"
18 #include "ui/gfx/win/direct_write.h" 20 #include "ui/gfx/win/direct_write.h"
19 21
20 #define SIZEOF_STRUCT_WITH_SPECIFIED_LAST_MEMBER(struct_name, member) \ 22 #define SIZEOF_STRUCT_WITH_SPECIFIED_LAST_MEMBER(struct_name, member) \
21 offsetof(struct_name, member) + \ 23 offsetof(struct_name, member) + \
22 (sizeof static_cast<struct_name*>(0)->member) 24 (sizeof static_cast<struct_name*>(0)->member)
23 #define NONCLIENTMETRICS_SIZE_PRE_VISTA \ 25 #define NONCLIENTMETRICS_SIZE_PRE_VISTA \
24 SIZEOF_STRUCT_WITH_SPECIFIED_LAST_MEMBER(NONCLIENTMETRICS, lfMessageFont) 26 SIZEOF_STRUCT_WITH_SPECIFIED_LAST_MEMBER(NONCLIENTMETRICS, lfMessageFont)
25 27
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 std::cerr << *it << "\n"; 112 std::cerr << *it << "\n";
111 } 113 }
112 return errors.empty(); 114 return errors.empty();
113 } 115 }
114 116
115 bool BlinkTestPlatformInitialize() { 117 bool BlinkTestPlatformInitialize() {
116 return SetupFonts(); 118 return SetupFonts();
117 } 119 }
118 120
119 } // namespace test_runner 121 } // namespace test_runner
OLDNEW
« no previous file with comments | « components/test_runner/blink_test_platform_support_mac.mm ('k') | components/test_runner/event_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698