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

Side by Side Diff: ui/aura/client/capture_client_observer.h

Issue 2436023003: Adds CaptureClientObserver as a way to track changes in capture (Closed)
Patch Set: fix comments Created 4 years, 1 month 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
« no previous file with comments | « ui/aura/client/capture_client.h ('k') | ui/aura/client/default_capture_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 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 UI_AURA_CLIENT_CAPTURE_CLIENT_OBSERVER_H_
6 #define UI_AURA_CLIENT_CAPTURE_CLIENT_OBSERVER_H_
7
8 #include "ui/aura/aura_export.h"
9
10 namespace aura {
11 class Window;
12
13 namespace client {
14
15 // Used to observe changes in capture.
16 class AURA_EXPORT CaptureClientObserver {
17 public:
18 virtual void OnCaptureChanged(Window* lost_capture,
19 Window* gained_capture) = 0;
20
21 protected:
22 virtual ~CaptureClientObserver() {}
23 };
24
25 } // namespace client
26 } // namespace aura
27
28 #endif // UI_AURA_CLIENT_CAPTURE_CLIENT_OBSERVER_H_
OLDNEW
« no previous file with comments | « ui/aura/client/capture_client.h ('k') | ui/aura/client/default_capture_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698