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

Side by Side Diff: content/browser/web_contents/aura/window_slider.h

Issue 18603008: Seperate horizontal and vertical overscrolling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed broken unit test Created 7 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
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_unittest.cc ('k') | content/browser/web_contents/aura/window_slider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698