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/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" |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 | 88 |
89 void WebContentsTracker::AboutToNavigateRenderView(RenderViewHost* rvh) { | 89 void WebContentsTracker::AboutToNavigateRenderView(RenderViewHost* rvh) { |
90 OnWebContentsChangeEvent(); | 90 OnWebContentsChangeEvent(); |
91 } | 91 } |
92 | 92 |
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() { |
99 OnWebContentsChangeEvent(); | 99 OnWebContentsChangeEvent(); |
100 } | 100 } |
101 | 101 |
102 } // namespace content | 102 } // namespace content |
OLD | NEW |