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

Side by Side Diff: services/window_manager/capture_controller.h

Issue 1391243003: Move //mojo/services/X/public/... to //mojo/services/X/... (part 4). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_3-x-no_public_2-x-no_public_1
Patch Set: copyright header Created 5 years, 2 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 SERVICES_WINDOW_MANAGER_CAPTURE_CONTROLLER_H_ 5 #ifndef SERVICES_WINDOW_MANAGER_CAPTURE_CONTROLLER_H_
6 #define SERVICES_WINDOW_MANAGER_CAPTURE_CONTROLLER_H_ 6 #define SERVICES_WINDOW_MANAGER_CAPTURE_CONTROLLER_H_
7 7
8 #include "base/observer_list.h" 8 #include "base/observer_list.h"
9 #include "mojo/services/view_manager/public/cpp/view_observer.h" 9 #include "mojo/services/view_manager/cpp/view_observer.h"
10 10
11 namespace window_manager { 11 namespace window_manager {
12 12
13 class CaptureControllerObserver; 13 class CaptureControllerObserver;
14 14
15 // Manages input capture. A view which has capture will take all input events. 15 // Manages input capture. A view which has capture will take all input events.
16 class CaptureController : public mojo::ViewObserver { 16 class CaptureController : public mojo::ViewObserver {
17 public: 17 public:
18 CaptureController(); 18 CaptureController();
19 ~CaptureController() override; 19 ~CaptureController() override;
(...skipping 20 matching lines...) Expand all
40 }; 40 };
41 41
42 void SetCaptureController(mojo::View* view, 42 void SetCaptureController(mojo::View* view,
43 CaptureController* capture_controller); 43 CaptureController* capture_controller);
44 CaptureController* GetCaptureController(mojo::View* view); 44 CaptureController* GetCaptureController(mojo::View* view);
45 mojo::View* GetCaptureView(mojo::View* view); 45 mojo::View* GetCaptureView(mojo::View* view);
46 46
47 } // namespace window_manager 47 } // namespace window_manager
48 48
49 #endif // SERVICES_WINDOW_MANAGER_CAPTURE_CONTROLLER_H_ 49 #endif // SERVICES_WINDOW_MANAGER_CAPTURE_CONTROLLER_H_
OLDNEW
« no previous file with comments | « services/window_manager/basic_focus_rules.cc ('k') | services/window_manager/capture_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698