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

Side by Side Diff: content/renderer/input/input_handler_manager_client.h

Issue 139563004: Notification on finish handling of top control gesture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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_RENDERER_INPUT_INPUT_HANDLER_MANAGER_CLIENT_H_ 5 #ifndef CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_CLIENT_H_
6 #define CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_CLIENT_H_ 6 #define CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_CLIENT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 29 matching lines...) Expand all
40 40
41 // Called from the main thread. 41 // Called from the main thread.
42 virtual void SetBoundHandler(const Handler& handler) = 0; 42 virtual void SetBoundHandler(const Handler& handler) = 0;
43 43
44 // Called from the compositor thread. 44 // Called from the compositor thread.
45 virtual void DidAddInputHandler(int routing_id, 45 virtual void DidAddInputHandler(int routing_id,
46 cc::InputHandler* input_handler) = 0; 46 cc::InputHandler* input_handler) = 0;
47 virtual void DidRemoveInputHandler(int routing_id) = 0; 47 virtual void DidRemoveInputHandler(int routing_id) = 0;
48 virtual void DidOverscroll(int routing_id, 48 virtual void DidOverscroll(int routing_id,
49 const cc::DidOverscrollParams& params) = 0; 49 const cc::DidOverscrollParams& params) = 0;
50 virtual void DidFinishTopControlsGesture(int routing_id) = 0;
50 51
51 protected: 52 protected:
52 InputHandlerManagerClient() {} 53 InputHandlerManagerClient() {}
53 54
54 private: 55 private:
55 DISALLOW_COPY_AND_ASSIGN(InputHandlerManagerClient); 56 DISALLOW_COPY_AND_ASSIGN(InputHandlerManagerClient);
56 }; 57 };
57 58
58 } // namespace content 59 } // namespace content
59 60
60 #endif // CONTENT_COMMON_GPU_INPUT_HANDLER_MANAGER_CLIENT_H_ 61 #endif // CONTENT_COMMON_GPU_INPUT_HANDLER_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/renderer/input/input_handler_manager.cc ('k') | content/renderer/input/input_handler_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698