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

Side by Side Diff: ui/views/test/test_views.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 5 years 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_TEST_VIEWS_H_ 5 #ifndef UI_VIEWS_TEST_TEST_VIEWS_H_
6 #define UI_VIEWS_TEST_TEST_VIEWS_H_ 6 #define UI_VIEWS_TEST_TEST_VIEWS_H_
7 7
8 #include "base/macros.h"
8 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
9 #include "ui/events/event_constants.h" 10 #include "ui/events/event_constants.h"
10 #include "ui/views/view.h" 11 #include "ui/views/view.h"
11 12
12 namespace views { 13 namespace views {
13 14
14 // A view that requests a set amount of space. 15 // A view that requests a set amount of space.
15 class StaticSizedView : public View { 16 class StaticSizedView : public View {
16 public: 17 public:
17 explicit StaticSizedView(const gfx::Size& size); 18 explicit StaticSizedView(const gfx::Size& size);
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 std::map<ui::EventType, int> event_count_; 110 std::map<ui::EventType, int> event_count_;
110 int last_flags_; 111 int last_flags_;
111 HandleMode handle_mode_; 112 HandleMode handle_mode_;
112 113
113 DISALLOW_COPY_AND_ASSIGN(EventCountView); 114 DISALLOW_COPY_AND_ASSIGN(EventCountView);
114 }; 115 };
115 116
116 } // namespace views 117 } // namespace views
117 118
118 #endif // UI_VIEWS_TEST_TEST_VIEWS_H_ 119 #endif // UI_VIEWS_TEST_TEST_VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698