| Index: chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc
|
| diff --git a/chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc b/chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc
|
| index 6d115c842194009f8c78cfc536813fe3afffb3ad..10f2e5c62e5f0c3b2a1289537343c604909b5aea 100644
|
| --- a/chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc
|
| +++ b/chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc
|
| @@ -9,6 +9,8 @@
|
| #include "chrome/browser/browser_process.h"
|
| #include "chrome/browser/extensions/tab_helper.h"
|
| #include "chrome/browser/favicon/favicon_tab_helper.h"
|
| +#include "chrome/browser/media/media_internals.h"
|
| +#include "chrome/browser/media/media_stream_capture_indicator.h"
|
| #include "chrome/browser/prefs/pref_service.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/ui/browser.h"
|
| @@ -30,6 +32,7 @@
|
| #include "chrome/common/pref_names.h"
|
| #include "chrome/common/url_constants.h"
|
| #include "content/public/browser/notification_service.h"
|
| +#include "content/public/browser/render_process_host.h"
|
| #include "content/public/browser/render_view_host.h"
|
| #include "content/public/browser/user_metrics.h"
|
| #include "content/public/browser/web_contents.h"
|
| @@ -535,6 +538,11 @@ void BrowserTabStripController::SetTabRendererDataFromModel(
|
| data->mini = model_->IsMiniTab(model_index);
|
| data->blocked = model_->IsTabBlocked(model_index);
|
| data->app = extensions::TabHelper::FromWebContents(contents)->is_app();
|
| + int render_process_id = contents->GetRenderProcessHost()->GetID();
|
| + int render_view_id = contents->GetRenderViewHost()->GetRoutingID();
|
| + data->recording =
|
| + MediaInternals::GetInstance()->media_stream_capture_indicator()->
|
| + IsProcessCapturing(render_process_id, render_view_id);
|
| data->mode = browser_->search_model()->mode().mode;
|
| // Get current gradient background animation to paint.
|
| data->gradient_background_opacity = browser_->search_delegate()->
|
|
|