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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_capture_client.cc

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/views/widget/desktop_aura/desktop_capture_client.h ('k') | ui/wm/core/capture_controller.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #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
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
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_capture_client.h ('k') | ui/wm/core/capture_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698