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

Unified Diff: athena/wm/bezel_controller.h

Issue 545393002: Adding split view divider widget. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing a NOTREACHED in the test Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « athena/wm/DEPS ('k') | athena/wm/bezel_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/wm/bezel_controller.h
diff --git a/athena/wm/bezel_controller.h b/athena/wm/bezel_controller.h
index 7bec71ad343c1ea28d401184b7415e18727c3d83..ec0cee13efc3a454e0ae000bc7a4de0fc811ea97 100644
--- a/athena/wm/bezel_controller.h
+++ b/athena/wm/bezel_controller.h
@@ -37,18 +37,18 @@ class BezelController : public ui::EventHandler {
// Beginning of a bezel scroll gesture started from the |bezel|.
// |delta| is the difference between the x-coordinate of the current scroll
// position and the bezel. It will be zero or negative for the right bezel.
- virtual void ScrollBegin(Bezel bezel, float delta) = 0;
+ virtual void BezelScrollBegin(Bezel bezel, float delta) = 0;
// End of the current bezel scroll
- virtual void ScrollEnd() = 0;
+ virtual void BezelScrollEnd() = 0;
// Update of the scroll position for the currently active bezel scroll.
// |delta| has the same meaning as in ScrollBegin().
- virtual void ScrollUpdate(float delta) = 0;
+ virtual void BezelScrollUpdate(float delta) = 0;
// Should return false if the delegate isn't going to react to the scroll
// events.
- virtual bool CanScroll() = 0;
+ virtual bool BezelCanScroll() = 0;
};
explicit BezelController(aura::Window* container);
@@ -75,10 +75,6 @@ class BezelController : public ui::EventHandler {
// BEZEL_SROLLING states.
void SetState(State state, float scroll_delta);
- // Returns the bezel corresponding to the |location| or BEZEL_NONE if the
- // location is outside of the bezel area.
- Bezel GetBezel(const gfx::PointF& location);
-
// ui::EventHandler overrides
virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
« no previous file with comments | « athena/wm/DEPS ('k') | athena/wm/bezel_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698