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

Side by Side Diff: ui/views/mus/native_widget_mus.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 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/views/mus/input_method_mus_unittest.cc ('k') | ui/views/mus/native_widget_mus_unittest.cc » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 // This has to be before any other includes, else default is picked up. 5 // This has to be before any other includes, else default is picked up.
6 // See base/logging for details on this. 6 // See base/logging for details on this.
7 #define NOTIMPLEMENTED_POLICY 5 7 #define NOTIMPLEMENTED_POLICY 5
8 8
9 #include "ui/views/mus/native_widget_mus.h" 9 #include "ui/views/mus/native_widget_mus.h"
10 10
11 #include <map> 11 #include <map>
12 #include <utility> 12 #include <utility>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/callback.h" 15 #include "base/callback.h"
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/memory/ptr_util.h"
17 #include "base/message_loop/message_loop.h" 18 #include "base/message_loop/message_loop.h"
18 #include "base/run_loop.h" 19 #include "base/run_loop.h"
19 #include "base/threading/thread_task_runner_handle.h" 20 #include "base/threading/thread_task_runner_handle.h"
20 #include "services/ui/public/cpp/property_type_converters.h" 21 #include "services/ui/public/cpp/property_type_converters.h"
21 #include "services/ui/public/cpp/window.h" 22 #include "services/ui/public/cpp/window.h"
22 #include "services/ui/public/cpp/window_observer.h" 23 #include "services/ui/public/cpp/window_observer.h"
23 #include "services/ui/public/cpp/window_property.h" 24 #include "services/ui/public/cpp/window_property.h"
24 #include "services/ui/public/cpp/window_tree_client.h" 25 #include "services/ui/public/cpp/window_tree_client.h"
25 #include "services/ui/public/interfaces/cursor.mojom.h" 26 #include "services/ui/public/interfaces/cursor.mojom.h"
26 #include "services/ui/public/interfaces/window_manager.mojom.h" 27 #include "services/ui/public/interfaces/window_manager.mojom.h"
(...skipping 1552 matching lines...) Expand 10 before | Expand all | Expand 10 after
1579 1580
1580 gfx::Path mask_path; 1581 gfx::Path mask_path;
1581 native_widget_delegate_->GetHitTestMask(&mask_path); 1582 native_widget_delegate_->GetHitTestMask(&mask_path);
1582 // TODO(jamescook): Use the full path for the mask. 1583 // TODO(jamescook): Use the full path for the mask.
1583 gfx::Rect mask_rect = 1584 gfx::Rect mask_rect =
1584 gfx::ToEnclosingRect(gfx::SkRectToRectF(mask_path.getBounds())); 1585 gfx::ToEnclosingRect(gfx::SkRectToRectF(mask_path.getBounds()));
1585 window_->SetHitTestMask(mask_rect); 1586 window_->SetHitTestMask(mask_rect);
1586 } 1587 }
1587 1588
1588 } // namespace views 1589 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/mus/input_method_mus_unittest.cc ('k') | ui/views/mus/native_widget_mus_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698