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

Unified Diff: extensions/browser/guest_view/app_view/app_view_guest.cc

Issue 1307243002: Cleanup content:: prefixes in GuestView files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: extensions/browser/guest_view/app_view/app_view_guest.cc
diff --git a/extensions/browser/guest_view/app_view/app_view_guest.cc b/extensions/browser/guest_view/app_view/app_view_guest.cc
index 206a45b0e2dd1eea742799495e34247378662309..64bcd906eee20357c1cd13cbabb722d4130cbe27 100644
--- a/extensions/browser/guest_view/app_view/app_view_guest.cc
+++ b/extensions/browser/guest_view/app_view/app_view_guest.cc
@@ -96,14 +96,14 @@ bool AppViewGuest::CompletePendingRequest(
}
// static
-GuestViewBase* AppViewGuest::Create(content::WebContents* owner_web_contents) {
+GuestViewBase* AppViewGuest::Create(WebContents* owner_web_contents) {
return new AppViewGuest(owner_web_contents);
}
-AppViewGuest::AppViewGuest(content::WebContents* owner_web_contents)
+AppViewGuest::AppViewGuest(WebContents* owner_web_contents)
: GuestView<AppViewGuest>(owner_web_contents),
- app_view_guest_delegate_(
- ExtensionsAPIClient::Get()->CreateAppViewGuestDelegate()),
+ app_view_guest_delegate_(ExtensionsAPIClient::Get()
+ ->CreateAppViewGuestDelegate()),
weak_ptr_factory_(this) {
if (app_view_guest_delegate_)
app_delegate_.reset(app_view_guest_delegate_->CreateAppDelegate());
@@ -120,7 +120,7 @@ bool AppViewGuest::HandleContextMenu(const content::ContextMenuParams& params) {
}
void AppViewGuest::RequestMediaAccessPermission(
- content::WebContents* web_contents,
+ WebContents* web_contents,
const content::MediaStreamRequest& request,
const content::MediaResponseCallback& callback) {
if (!app_delegate_) {
@@ -137,10 +137,9 @@ void AppViewGuest::RequestMediaAccessPermission(
guest_extension);
}
-bool AppViewGuest::CheckMediaAccessPermission(
- content::WebContents* web_contents,
- const GURL& security_origin,
- content::MediaStreamType type) {
+bool AppViewGuest::CheckMediaAccessPermission(WebContents* web_contents,
+ const GURL& security_origin,
+ content::MediaStreamType type) {
if (!app_delegate_) {
return WebContentsDelegate::CheckMediaAccessPermission(
web_contents, security_origin, type);

Powered by Google App Engine
This is Rietveld 408576698