| 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/renderer_host/media/web_contents_tracker.h" | 5 #include "content/browser/media/capture/web_contents_tracker.h" |
| 6 | 6 |
| 7 #include "base/message_loop/message_loop_proxy.h" | 7 #include "base/message_loop/message_loop_proxy.h" |
| 8 #include "content/public/browser/browser_thread.h" | 8 #include "content/public/browser/browser_thread.h" |
| 9 #include "content/public/browser/render_process_host.h" | 9 #include "content/public/browser/render_process_host.h" |
| 10 #include "content/public/browser/render_view_host.h" | 10 #include "content/public/browser/render_view_host.h" |
| 11 #include "content/public/browser/web_contents.h" | 11 #include "content/public/browser/web_contents.h" |
| 12 | 12 |
| 13 namespace content { | 13 namespace content { |
| 14 | 14 |
| 15 WebContentsTracker::WebContentsTracker() {} | 15 WebContentsTracker::WebContentsTracker() {} |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 void WebContentsTracker::DidNavigateMainFrame( | 93 void WebContentsTracker::DidNavigateMainFrame( |
| 94 const LoadCommittedDetails& details, const FrameNavigateParams& params) { | 94 const LoadCommittedDetails& details, const FrameNavigateParams& params) { |
| 95 OnWebContentsChangeEvent(); | 95 OnWebContentsChangeEvent(); |
| 96 } | 96 } |
| 97 | 97 |
| 98 void WebContentsTracker::WebContentsDestroyed(WebContents* web_contents) { | 98 void WebContentsTracker::WebContentsDestroyed(WebContents* web_contents) { |
| 99 OnWebContentsChangeEvent(); | 99 OnWebContentsChangeEvent(); |
| 100 } | 100 } |
| 101 | 101 |
| 102 } // namespace content | 102 } // namespace content |
| OLD | NEW |