OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "content/browser/media/capture/web_contents_tracker.h" | 5 #include "content/browser/media/capture/web_contents_tracker.h" |
6 | 6 |
7 #include "base/thread_task_runner_handle.h" | 7 #include "base/threading/thread_task_runner_handle.h" |
8 #include "content/browser/frame_host/render_frame_host_impl.h" | 8 #include "content/browser/frame_host/render_frame_host_impl.h" |
9 #include "content/browser/renderer_host/render_widget_host_impl.h" | 9 #include "content/browser/renderer_host/render_widget_host_impl.h" |
10 #include "content/public/browser/browser_thread.h" | 10 #include "content/public/browser/browser_thread.h" |
11 #include "content/public/browser/render_process_host.h" | 11 #include "content/public/browser/render_process_host.h" |
12 #include "content/public/browser/render_widget_host_view.h" | 12 #include "content/public/browser/render_widget_host_view.h" |
13 #include "content/public/browser/web_contents.h" | 13 #include "content/public/browser/web_contents.h" |
14 | 14 |
15 namespace content { | 15 namespace content { |
16 | 16 |
17 WebContentsTracker::WebContentsTracker(bool track_fullscreen_rwh) | 17 WebContentsTracker::WebContentsTracker(bool track_fullscreen_rwh) |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 | 165 |
166 void WebContentsTracker::DidShowFullscreenWidget(int routing_id) { | 166 void WebContentsTracker::DidShowFullscreenWidget(int routing_id) { |
167 OnPossibleTargetChange(false); | 167 OnPossibleTargetChange(false); |
168 } | 168 } |
169 | 169 |
170 void WebContentsTracker::DidDestroyFullscreenWidget(int routing_id) { | 170 void WebContentsTracker::DidDestroyFullscreenWidget(int routing_id) { |
171 OnPossibleTargetChange(false); | 171 OnPossibleTargetChange(false); |
172 } | 172 } |
173 | 173 |
174 } // namespace content | 174 } // namespace content |
OLD | NEW |