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

Side by Side Diff: ui/views/bubble/bubble_window_targeter.h

Issue 1543173002: Switch to standard integer types in 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 "base/macros.h"
5 #include "ui/views/views_export.h" 6 #include "ui/views/views_export.h"
6 #include "ui/wm/core/masked_window_targeter.h" 7 #include "ui/wm/core/masked_window_targeter.h"
7 8
8 namespace aura { 9 namespace aura {
9 class Window; 10 class Window;
10 } 11 }
11 12
12 namespace views { 13 namespace views {
13 class BubbleDelegateView; 14 class BubbleDelegateView;
14 15
15 // A convenient window-targeter that uses a mask based on the content-bounds of 16 // A convenient window-targeter that uses a mask based on the content-bounds of
16 // the bubble-frame. 17 // the bubble-frame.
17 class VIEWS_EXPORT BubbleWindowTargeter 18 class VIEWS_EXPORT BubbleWindowTargeter
18 : public NON_EXPORTED_BASE(wm::MaskedWindowTargeter) { 19 : public NON_EXPORTED_BASE(wm::MaskedWindowTargeter) {
19 public: 20 public:
20 explicit BubbleWindowTargeter(BubbleDelegateView* bubble); 21 explicit BubbleWindowTargeter(BubbleDelegateView* bubble);
21 ~BubbleWindowTargeter() override; 22 ~BubbleWindowTargeter() override;
22 23
23 private: 24 private:
24 // wm::MaskedWindowTargeter: 25 // wm::MaskedWindowTargeter:
25 bool GetHitTestMask(aura::Window* window, gfx::Path* mask) const override; 26 bool GetHitTestMask(aura::Window* window, gfx::Path* mask) const override;
26 27
27 views::BubbleDelegateView* bubble_; 28 views::BubbleDelegateView* bubble_;
28 29
29 DISALLOW_COPY_AND_ASSIGN(BubbleWindowTargeter); 30 DISALLOW_COPY_AND_ASSIGN(BubbleWindowTargeter);
30 }; 31 };
31 32
32 } // namespace views 33 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698