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

Side by Side Diff: chrome/browser/ui/views/tabs/window_finder_win.cc

Issue 1545153002: Switch to standard integer types in chrome/browser/ui/views/. (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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/browser/ui/views/tabs/window_finder.h" 5 #include "chrome/browser/ui/views/tabs/window_finder.h"
6 6
7 #include <shobjidl.h> 7 #include <shobjidl.h>
8 8
9 #include "base/macros.h"
9 #include "base/win/scoped_gdi_object.h" 10 #include "base/win/scoped_gdi_object.h"
10 #include "base/win/windows_version.h" 11 #include "base/win/windows_version.h"
11 #include "ui/aura/window.h" 12 #include "ui/aura/window.h"
12 #include "ui/gfx/screen.h" 13 #include "ui/gfx/screen.h"
13 #include "ui/gfx/win/dpi.h" 14 #include "ui/gfx/win/dpi.h"
14 #include "ui/views/widget/desktop_aura/desktop_window_tree_host_win.h" 15 #include "ui/views/widget/desktop_aura/desktop_window_tree_host_win.h"
15 #include "ui/views/win/hwnd_util.h" 16 #include "ui/views/win/hwnd_util.h"
16 17
17 #if defined(USE_ASH) 18 #if defined(USE_ASH)
18 gfx::NativeWindow GetLocalProcessWindowAtPointAsh( 19 gfx::NativeWindow GetLocalProcessWindowAtPointAsh(
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 const gfx::Point& screen_point, 244 const gfx::Point& screen_point,
244 const std::set<gfx::NativeWindow>& ignore, 245 const std::set<gfx::NativeWindow>& ignore,
245 gfx::NativeWindow source) { 246 gfx::NativeWindow source) {
246 #if defined(USE_ASH) 247 #if defined(USE_ASH)
247 if (host_desktop_type == chrome::HOST_DESKTOP_TYPE_ASH) 248 if (host_desktop_type == chrome::HOST_DESKTOP_TYPE_ASH)
248 return GetLocalProcessWindowAtPointAsh(screen_point, ignore); 249 return GetLocalProcessWindowAtPointAsh(screen_point, ignore);
249 #endif 250 #endif
250 return LocalProcessWindowFinder::GetProcessWindowAtPoint( 251 return LocalProcessWindowFinder::GetProcessWindowAtPoint(
251 screen_point, RemapIgnoreSet(ignore)); 252 screen_point, RemapIgnoreSet(ignore));
252 } 253 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_unittest.cc ('k') | chrome/browser/ui/views/task_manager_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698