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

Side by Side Diff: ui/views/widget/widget_hwnd_utils.cc

Issue 1543173002: Switch to standard integer types in ui/views/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
OLDNEW
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 "ui/views/widget/widget_hwnd_utils.h" 5 #include "ui/views/widget/widget_hwnd_utils.h"
6 6
7 #include <dwmapi.h> 7 #include <dwmapi.h>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/win/windows_version.h" 10 #include "base/win/windows_version.h"
11 #include "build/build_config.h"
11 #include "ui/base/l10n/l10n_util_win.h" 12 #include "ui/base/l10n/l10n_util_win.h"
12 #include "ui/base/ui_base_switches.h" 13 #include "ui/base/ui_base_switches.h"
13 #include "ui/views/widget/widget_delegate.h" 14 #include "ui/views/widget/widget_delegate.h"
14 #include "ui/views/win/hwnd_message_handler.h" 15 #include "ui/views/win/hwnd_message_handler.h"
15 16
16 #if defined(OS_WIN) 17 #if defined(OS_WIN)
17 #include "ui/base/win/shell.h" 18 #include "ui/base/win/shell.h"
18 #endif 19 #endif
19 20
20 namespace views { 21 namespace views {
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 DWORD class_style = 0; 159 DWORD class_style = 0;
159 CalculateWindowStylesFromInitParams(params, widget_delegate, 160 CalculateWindowStylesFromInitParams(params, widget_delegate,
160 native_widget_delegate, &style, &ex_style, 161 native_widget_delegate, &style, &ex_style,
161 &class_style); 162 &class_style);
162 handler->set_initial_class_style(class_style); 163 handler->set_initial_class_style(class_style);
163 handler->set_window_style(handler->window_style() | style); 164 handler->set_window_style(handler->window_style() | style);
164 handler->set_window_ex_style(handler->window_ex_style() | ex_style); 165 handler->set_window_ex_style(handler->window_ex_style() | ex_style);
165 } 166 }
166 167
167 } // namespace views 168 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698