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

Side by Side Diff: extensions/browser/extension_host.cc

Issue 233093006: Stop disabling force_compositing_mode for background RenderViews. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: background: codemoved Created 6 years, 8 months 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 | Annotate | Revision Log
« no previous file with comments | « extensions/browser/extension_host.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "extensions/browser/extension_host.h" 5 #include "extensions/browser/extension_host.h"
6 6
7 #include <list> 7 #include <list>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 } 420 }
421 421
422 void ExtensionHost::RequestMediaAccessPermission( 422 void ExtensionHost::RequestMediaAccessPermission(
423 content::WebContents* web_contents, 423 content::WebContents* web_contents,
424 const content::MediaStreamRequest& request, 424 const content::MediaStreamRequest& request,
425 const content::MediaResponseCallback& callback) { 425 const content::MediaResponseCallback& callback) {
426 delegate_->ProcessMediaAccessRequest( 426 delegate_->ProcessMediaAccessRequest(
427 web_contents, request, callback, extension()); 427 web_contents, request, callback, extension());
428 } 428 }
429 429
430 bool ExtensionHost::IsNeverVisible(content::WebContents* web_contents) {
431 ViewType view_type = extensions::GetViewType(web_contents);
432 return view_type == extensions::VIEW_TYPE_EXTENSION_BACKGROUND_PAGE;
433 }
434
430 } // namespace extensions 435 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/extension_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698