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

Side by Side Diff: ui/views/controls/slide_out_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_CONTROLS_SLIDE_OUT_VIEW_H_ 5 #ifndef UI_VIEWS_CONTROLS_SLIDE_OUT_VIEW_H_
6 #define UI_VIEWS_CONTROLS_SLIDE_OUT_VIEW_H_ 6 #define UI_VIEWS_CONTROLS_SLIDE_OUT_VIEW_H_
7 7
8 #include "base/macros.h"
8 #include "ui/compositor/layer_animation_observer.h" 9 #include "ui/compositor/layer_animation_observer.h"
9 #include "ui/views/view.h" 10 #include "ui/views/view.h"
10 #include "ui/views/views_export.h" 11 #include "ui/views/views_export.h"
11 12
12 namespace views { 13 namespace views {
13 14
14 // A View that can be closed by a slide-out touch gesture. 15 // A View that can be closed by a slide-out touch gesture.
15 class VIEWS_EXPORT SlideOutView : public views::View, 16 class VIEWS_EXPORT SlideOutView : public views::View,
16 public ui::ImplicitAnimationObserver { 17 public ui::ImplicitAnimationObserver {
17 public: 18 public:
(...skipping 23 matching lines...) Expand all
41 void OnImplicitAnimationsCompleted() override; 42 void OnImplicitAnimationsCompleted() override;
42 43
43 float gesture_scroll_amount_; 44 float gesture_scroll_amount_;
44 45
45 DISALLOW_COPY_AND_ASSIGN(SlideOutView); 46 DISALLOW_COPY_AND_ASSIGN(SlideOutView);
46 }; 47 };
47 48
48 } // namespace views 49 } // namespace views
49 50
50 #endif // UI_VIEWS_CONTROLS_SLIDE_OUT_VIEW_H_ 51 #endif // UI_VIEWS_CONTROLS_SLIDE_OUT_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698