Update broken references to image assets
[chromium-blink-merge.git] / content / public / browser / overscroll_configuration.h
blob2d4c6df5b87482d98b74b3b2502c2466789bb222
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.
5 #ifndef CONTENT_PUBLIC_BROWSER_OVERSCROLL_CONFIGURATION_H_
6 #define CONTENT_PUBLIC_BROWSER_OVERSCROLL_CONFIGURATION_H_
8 #include "base/basictypes.h"
9 #include "content/common/content_export.h"
11 namespace content {
13 // Sets and retrieves various overscroll related configuration values.
14 enum OverscrollConfig {
15 OVERSCROLL_CONFIG_NONE,
16 OVERSCROLL_CONFIG_HORIZ_THRESHOLD_COMPLETE,
17 OVERSCROLL_CONFIG_VERT_THRESHOLD_COMPLETE,
18 OVERSCROLL_CONFIG_HORIZ_THRESHOLD_START_TOUCHPAD,
19 OVERSCROLL_CONFIG_HORIZ_THRESHOLD_START_TOUCHSCREEN,
20 OVERSCROLL_CONFIG_VERT_THRESHOLD_START,
21 OVERSCROLL_CONFIG_HORIZ_RESIST_AFTER,
22 OVERSCROLL_CONFIG_VERT_RESIST_AFTER,
23 OVERSCROLL_CONFIG_COUNT
26 CONTENT_EXPORT void SetOverscrollConfig(OverscrollConfig config, float value);
28 CONTENT_EXPORT float GetOverscrollConfig(OverscrollConfig config);
30 } // namespace content
32 #endif // CONTENT_PUBLIC_BROWSER_OVERSCROLL_CONFIGURATION_H_