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

Side by Side Diff: ash/test/capture_tracking_view.h

Issue 10693135: Remove #pragma once from ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « ash/test/ash_test_base.h ('k') | ash/test/launcher_view_test_api.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 #ifndef ASH_TEST_CAPTURE_TRACKING_VIEW_ 5 #ifndef ASH_TEST_CAPTURE_TRACKING_VIEW_
6 #define ASH_TEST_CAPTURE_TRACKING_VIEW_ 6 #define ASH_TEST_CAPTURE_TRACKING_VIEW_
7 #pragma once
8 7
9 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
10 #include "ui/views/view.h" 9 #include "ui/views/view.h"
11 10
12 namespace ash { 11 namespace ash {
13 namespace test { 12 namespace test {
14 13
15 // Used to track OnMousePressed() and OnMouseCaptureLost(). 14 // Used to track OnMousePressed() and OnMouseCaptureLost().
16 class CaptureTrackingView : public views::View { 15 class CaptureTrackingView : public views::View {
17 public: 16 public:
(...skipping 17 matching lines...) Expand all
35 bool got_press_; 34 bool got_press_;
36 bool got_capture_lost_; 35 bool got_capture_lost_;
37 36
38 DISALLOW_COPY_AND_ASSIGN(CaptureTrackingView); 37 DISALLOW_COPY_AND_ASSIGN(CaptureTrackingView);
39 }; 38 };
40 39
41 } // namespace test 40 } // namespace test
42 } // namespace ash 41 } // namespace ash
43 42
44 #endif // ASH_TEST_CAPTURE_TRACKING_VIEW_ 43 #endif // ASH_TEST_CAPTURE_TRACKING_VIEW_
OLDNEW
« no previous file with comments | « ash/test/ash_test_base.h ('k') | ash/test/launcher_view_test_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698