Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 CC_INPUT_BROWSER_CONTROLS_OFFSET_MANAGER_H_ | 5 #ifndef CC_INPUT_BROWSER_CONTROLS_OFFSET_MANAGER_H_ |
| 6 #define CC_INPUT_BROWSER_CONTROLS_OFFSET_MANAGER_H_ | 6 #define CC_INPUT_BROWSER_CONTROLS_OFFSET_MANAGER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 88 float animation_start_value_; | 88 float animation_start_value_; |
| 89 base::TimeTicks animation_stop_time_; | 89 base::TimeTicks animation_stop_time_; |
| 90 float animation_stop_value_; | 90 float animation_stop_value_; |
| 91 AnimationDirection animation_direction_; | 91 AnimationDirection animation_direction_; |
| 92 | 92 |
| 93 BrowserControlsState permitted_state_; | 93 BrowserControlsState permitted_state_; |
| 94 | 94 |
| 95 // Accumulated scroll delta since last baseline reset | 95 // Accumulated scroll delta since last baseline reset |
| 96 float accumulated_scroll_delta_; | 96 float accumulated_scroll_delta_; |
| 97 | 97 |
| 98 // Content offset when last baseline reset occurred | 98 // Content offset when last baseline reset occurred. |
| 99 float baseline_content_offset_; | 99 float baseline_top_content_offset_; |
| 100 float baseline_bottom_content_offset_; | |
|
aelias_OOO_until_Jul13
2016/11/04 04:35:09
I tried Chrome Home flag locally and observed the
mdjones
2016/11/05 00:17:26
The issue with the bottom bar overlapping is addre
aelias_OOO_until_Jul13
2016/11/05 00:47:15
This bug can't be fixed properly with a change to
mdjones
2016/11/07 17:14:45
I think what you are talking about may have alread
aelias_OOO_until_Jul13
2016/11/08 00:37:46
Yeah, OK, I see the appropriate code exists in CC
| |
| 100 | 101 |
| 101 // The percent height of the visible control such that it must be shown | 102 // The percent height of the visible control such that it must be shown |
| 102 // when the user stops the scroll. | 103 // when the user stops the scroll. |
| 103 float controls_show_threshold_; | 104 float controls_show_threshold_; |
| 104 | 105 |
| 105 // The percent height of the visible control such that it must be hidden | 106 // The percent height of the visible control such that it must be hidden |
| 106 // when the user stops the scroll. | 107 // when the user stops the scroll. |
| 107 float controls_hide_threshold_; | 108 float controls_hide_threshold_; |
| 108 | 109 |
| 109 bool pinch_gesture_active_; | 110 bool pinch_gesture_active_; |
| 110 | 111 |
| 111 DISALLOW_COPY_AND_ASSIGN(BrowserControlsOffsetManager); | 112 DISALLOW_COPY_AND_ASSIGN(BrowserControlsOffsetManager); |
| 112 }; | 113 }; |
| 113 | 114 |
| 114 } // namespace cc | 115 } // namespace cc |
| 115 | 116 |
| 116 #endif // CC_INPUT_BROWSER_CONTROLS_OFFSET_MANAGER_H_ | 117 #endif // CC_INPUT_BROWSER_CONTROLS_OFFSET_MANAGER_H_ |
| OLD | NEW |