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

Side by Side Diff: ui/gfx/win/window_impl.cc

Issue 1543183002: Switch to standard integer types in ui/gfx/. (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
« no previous file with comments | « ui/gfx/win/window_impl.h ('k') | ui/gfx/x/x11_atom_cache.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) 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/gfx/win/window_impl.h" 5 #include "ui/gfx/win/window_impl.h"
6 6
7 #include <list> 7 #include <list>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/debug/alias.h" 10 #include "base/debug/alias.h"
11 #include "base/macros.h"
11 #include "base/memory/singleton.h" 12 #include "base/memory/singleton.h"
12 #include "base/strings/string_number_conversions.h" 13 #include "base/strings/string_number_conversions.h"
13 #include "base/synchronization/lock.h" 14 #include "base/synchronization/lock.h"
14 #include "base/win/wrapped_window_proc.h" 15 #include "base/win/wrapped_window_proc.h"
15 #include "ui/gfx/win/hwnd_util.h" 16 #include "ui/gfx/win/hwnd_util.h"
16 17
17 namespace gfx { 18 namespace gfx {
18 19
19 static const DWORD kWindowDefaultChildStyle = 20 static const DWORD kWindowDefaultChildStyle =
20 WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN | WS_CLIPSIBLINGS; 21 WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN | WS_CLIPSIBLINGS;
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 } 303 }
303 304
304 ATOM WindowImpl::GetWindowClassAtom() { 305 ATOM WindowImpl::GetWindowClassAtom() {
305 HICON icon = GetDefaultWindowIcon(); 306 HICON icon = GetDefaultWindowIcon();
306 HICON small_icon = GetSmallWindowIcon(); 307 HICON small_icon = GetSmallWindowIcon();
307 ClassInfo class_info(initial_class_style(), icon, small_icon); 308 ClassInfo class_info(initial_class_style(), icon, small_icon);
308 return ClassRegistrar::GetInstance()->RetrieveClassAtom(class_info); 309 return ClassRegistrar::GetInstance()->RetrieveClassAtom(class_info);
309 } 310 }
310 311
311 } // namespace gfx 312 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gfx/win/window_impl.h ('k') | ui/gfx/x/x11_atom_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698