X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fathena%2Fwm%2Fbezel_controller.h;h=ec0cee13efc3a454e0ae000bc7a4de0fc811ea97;hb=3545e9f2671f595d2a2f3ee75ca0393b01e35ef6;hp=7bec71ad343c1ea28d401184b7415e18727c3d83;hpb=7d210d4c7e9ba36e635eabc5b5780495f8a63292;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/athena/wm/bezel_controller.h b/src/athena/wm/bezel_controller.h index 7bec71a..ec0cee1 100644 --- a/src/athena/wm/bezel_controller.h +++ b/src/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;