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

Side by Side Diff: content/browser/renderer_host/input/touch_selection_controller_client_manager.h

Issue 2883653002: Implement TouchSelectionEditing controls for OOPIF. (Closed)
Patch Set: Mark manager's observer as CONTENT_EXPORT. Created 3 years, 7 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
(Empty)
1 // Copyright 2017 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.
4
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_SELECTION_CONTROLLER_CLIENT_MA NAGER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_SELECTION_CONTROLLER_CLIENT_MA NAGER_H_
7
8 #include "content/common/content_export.h"
9
10 namespace gfx {
11 class SelectionBound;
12 }
13
14 namespace ui {
15 class TouchSelectionController;
16 class TouchSelectionControllerClient;
17 class TouchSelectionMenuClient;
18 }
19
20 namespace content {
21
22 class CONTENT_EXPORT TouchSelectionControllerClientManager {
23 public:
24 virtual ~TouchSelectionControllerClientManager() {}
25
26 class CONTENT_EXPORT Observer {
27 public:
28 virtual ~Observer() {}
29
30 virtual void OnManagerWillDestroy(
31 TouchSelectionControllerClientManager* manager) = 0;
32 };
33
34 virtual void UpdateClientSelectionBounds(
35 const gfx::SelectionBound& start,
36 const gfx::SelectionBound& end,
37 ui::TouchSelectionControllerClient* client,
38 ui::TouchSelectionMenuClient* menu_client) = 0;
39 virtual void InvalidateClient(ui::TouchSelectionControllerClient* client) = 0;
40 virtual ui::TouchSelectionController* GetTouchSelectionController() = 0;
41
42 virtual void AddObserver(Observer* observer) = 0;
43 virtual void RemoveObserver(Observer* observer) = 0;
44 };
45
46 } // namespace content
47
48 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_SELECTION_CONTROLLER_CLIENT _MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698