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

Side by Side Diff: ui/views/test/capture_tracking_view.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 (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 #ifndef UI_VIEWS_TEST_CAPTURE_TRACKING_VIEW_ 5 #ifndef UI_VIEWS_TEST_CAPTURE_TRACKING_VIEW_
6 #define UI_VIEWS_TEST_CAPTURE_TRACKING_VIEW_ 6 #define UI_VIEWS_TEST_CAPTURE_TRACKING_VIEW_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h"
9 #include "ui/views/view.h" 10 #include "ui/views/view.h"
10 11
11 namespace views { 12 namespace views {
12 namespace test { 13 namespace test {
13 14
14 // Used to track OnMousePressed() and OnMouseCaptureLost(). 15 // Used to track OnMousePressed() and OnMouseCaptureLost().
15 class CaptureTrackingView : public views::View { 16 class CaptureTrackingView : public views::View {
16 public: 17 public:
17 CaptureTrackingView(); 18 CaptureTrackingView();
18 ~CaptureTrackingView() override; 19 ~CaptureTrackingView() override;
(...skipping 15 matching lines...) Expand all
34 bool got_press_; 35 bool got_press_;
35 bool got_capture_lost_; 36 bool got_capture_lost_;
36 37
37 DISALLOW_COPY_AND_ASSIGN(CaptureTrackingView); 38 DISALLOW_COPY_AND_ASSIGN(CaptureTrackingView);
38 }; 39 };
39 40
40 } // namespace test 41 } // namespace test
41 } // namespace views 42 } // namespace views
42 43
43 #endif // UI_VIEWS_TEST_CAPTURE_TRACKING_VIEW_ 44 #endif // UI_VIEWS_TEST_CAPTURE_TRACKING_VIEW_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698