| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 CONTENT_BROWSER_WEB_CONTENTS_AURA_WINDOW_SLIDER_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_AURA_WINDOW_SLIDER_H_ |
| 6 #define CONTENT_BROWSER_WEB_CONTENTS_AURA_WINDOW_SLIDER_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_AURA_WINDOW_SLIDER_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 float delta_x_; | 113 float delta_x_; |
| 114 | 114 |
| 115 // This keeps track of the layer created by the delegate. | 115 // This keeps track of the layer created by the delegate. |
| 116 scoped_ptr<ui::Layer> slider_; | 116 scoped_ptr<ui::Layer> slider_; |
| 117 | 117 |
| 118 // This manages the shadow for the layers. | 118 // This manages the shadow for the layers. |
| 119 scoped_ptr<ShadowLayerDelegate> shadow_; | 119 scoped_ptr<ShadowLayerDelegate> shadow_; |
| 120 | 120 |
| 121 base::WeakPtrFactory<WindowSlider> weak_factory_; | 121 base::WeakPtrFactory<WindowSlider> weak_factory_; |
| 122 | 122 |
| 123 const float min_start_threshold_; | 123 const float horiz_start_threshold_; |
| 124 const float complete_threshold_; | 124 const float complete_threshold_; |
| 125 | 125 |
| 126 DISALLOW_COPY_AND_ASSIGN(WindowSlider); | 126 DISALLOW_COPY_AND_ASSIGN(WindowSlider); |
| 127 }; | 127 }; |
| 128 | 128 |
| 129 } // namespace content | 129 } // namespace content |
| 130 | 130 |
| 131 #endif // CONTENT_BROWSER_WEB_CONTENTS_AURA_WINDOW_SLIDER_H_ | 131 #endif // CONTENT_BROWSER_WEB_CONTENTS_AURA_WINDOW_SLIDER_H_ |
| OLD | NEW |