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

Side by Side Diff: ui/views/controls/slide_out_view_impl.h

Issue 11836003: Allow message center and related bubbles to render on Windows. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove ifdefs. Created 7 years, 11 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef UI_VIEWS_CONTROLS_SLIDE_OUT_VIEW_IMPL_H_
6 #define UI_VIEWS_CONTROLS_SLIDE_OUT_VIEW_IMPL_H_
7
8 #include "ui/views/controls/slide_out_view.h"
9 #include "ui/views/view.h"
10 #include "ui/views/views_export.h"
11
12 namespace views {
13
14 // SlideOutViewImpl implements the view transformations that accompany a
15 // swipe out gesture.
16 class SlideOutViewImpl : public SlideOutView::Impl {
17 public:
18 SlideOutViewImpl(SlideOutView* view);
19 virtual ~SlideOutViewImpl();
20
21 // Used when the scroll amount changes, this method should transform |view|
msw 2013/01/17 02:28:30 nit: These comments should go with the pure virtua
dewittj 2013/01/17 21:25:18 Gone.
22 // appropriately.
23 virtual void TransformView(float scroll_amount) OVERRIDE;
24 // Restores the view to its original state.
25 virtual void RestoreView() OVERRIDE;
26 // Completes the slideout animation.
27 virtual void HideView(SlideOutView::SlideDirection direction) OVERRIDE;
28
29 private:
30 views::SlideOutView* view_;
31
32 DISALLOW_COPY_AND_ASSIGN(SlideOutViewImpl);
33 };
34
35 } // namespace views
36
37 #endif // UI_VIEWS_CONTROLS_SLIDE_OUT_VIEW_IMPL_H_
38
39
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698