OLD | NEW |
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 #include "ui/views/widget/desktop_aura/desktop_capture_client.h" | 5 #include "ui/views/widget/desktop_aura/desktop_capture_client.h" |
6 | 6 |
7 #include "ui/aura/window.h" | 7 #include "ui/aura/window.h" |
8 #include "ui/aura/window_event_dispatcher.h" | 8 #include "ui/aura/window_event_dispatcher.h" |
9 #include "ui/aura/window_tracker.h" | 9 #include "ui/aura/window_tracker.h" |
10 #include "ui/aura/window_tree_host.h" | 10 #include "ui/aura/window_tree_host.h" |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 | 91 |
92 aura::Window* DesktopCaptureClient::GetGlobalCaptureWindow() { | 92 aura::Window* DesktopCaptureClient::GetGlobalCaptureWindow() { |
93 for (CaptureClients::iterator i = capture_clients_->begin(); | 93 for (CaptureClients::iterator i = capture_clients_->begin(); |
94 i != capture_clients_->end(); ++i) { | 94 i != capture_clients_->end(); ++i) { |
95 if ((*i)->capture_window_) | 95 if ((*i)->capture_window_) |
96 return (*i)->capture_window_; | 96 return (*i)->capture_window_; |
97 } | 97 } |
98 return NULL; | 98 return NULL; |
99 } | 99 } |
100 | 100 |
| 101 void DesktopCaptureClient::AddObserver( |
| 102 aura::client::CaptureClientObserver* observer) { |
| 103 NOTREACHED(); |
| 104 } |
| 105 |
| 106 void DesktopCaptureClient::RemoveObserver( |
| 107 aura::client::CaptureClientObserver* observer) { |
| 108 NOTREACHED(); |
| 109 } |
| 110 |
101 } // namespace views | 111 } // namespace views |
OLD | NEW |