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

Side by Side Diff: chrome/browser/android/tab_web_contents_delegate_android.h

Issue 2353063005: Refactor ContentViewClient (1/6) (Closed)
Patch Set: fix tests Created 4 years, 2 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_ANDROID_TAB_WEB_CONTENTS_DELEGATE_ANDROID_H_ 5 #ifndef CHROME_BROWSER_ANDROID_TAB_WEB_CONTENTS_DELEGATE_ANDROID_H_
6 #define CHROME_BROWSER_ANDROID_TAB_WEB_CONTENTS_DELEGATE_ANDROID_H_ 6 #define CHROME_BROWSER_ANDROID_TAB_WEB_CONTENTS_DELEGATE_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 void RequestMediaAccessPermission( 64 void RequestMediaAccessPermission(
65 content::WebContents* web_contents, 65 content::WebContents* web_contents,
66 const content::MediaStreamRequest& request, 66 const content::MediaStreamRequest& request,
67 const content::MediaResponseCallback& callback) override; 67 const content::MediaResponseCallback& callback) override;
68 bool CheckMediaAccessPermission(content::WebContents* web_contents, 68 bool CheckMediaAccessPermission(content::WebContents* web_contents,
69 const GURL& security_origin, 69 const GURL& security_origin,
70 content::MediaStreamType type) override; 70 content::MediaStreamType type) override;
71 void RequestMediaDecodePermission( 71 void RequestMediaDecodePermission(
72 content::WebContents* web_contents, 72 content::WebContents* web_contents,
73 const base::Callback<void(bool)>& callback) override; 73 const base::Callback<void(bool)>& callback) override;
74
75 base::android::ScopedJavaLocalRef<jobject>
76 GetContentVideoViewEmbedder() override;
74 bool RequestPpapiBrokerPermission( 77 bool RequestPpapiBrokerPermission(
75 content::WebContents* web_contents, 78 content::WebContents* web_contents,
76 const GURL& url, 79 const GURL& url,
77 const base::FilePath& plugin_path, 80 const base::FilePath& plugin_path,
78 const base::Callback<void(bool)>& callback) override; 81 const base::Callback<void(bool)>& callback) override;
79 content::WebContents* OpenURLFromTab( 82 content::WebContents* OpenURLFromTab(
80 content::WebContents* source, 83 content::WebContents* source,
81 const content::OpenURLParams& params) override; 84 const content::OpenURLParams& params) override;
82 bool ShouldResumeRequestsForCreatedWindow() override; 85 bool ShouldResumeRequestsForCreatedWindow() override;
83 void AddNewContents(content::WebContents* source, 86 void AddNewContents(content::WebContents* source,
(...skipping 17 matching lines...) Expand all
101 content::NotificationRegistrar notification_registrar_; 104 content::NotificationRegistrar notification_registrar_;
102 }; 105 };
103 106
104 // Register the native methods through JNI. 107 // Register the native methods through JNI.
105 bool RegisterTabWebContentsDelegateAndroid(JNIEnv* env); 108 bool RegisterTabWebContentsDelegateAndroid(JNIEnv* env);
106 109
107 } // namespace android 110 } // namespace android
108 } // namespace chrome 111 } // namespace chrome
109 112
110 #endif // CHROME_BROWSER_ANDROID_TAB_WEB_CONTENTS_DELEGATE_ANDROID_H_ 113 #endif // CHROME_BROWSER_ANDROID_TAB_WEB_CONTENTS_DELEGATE_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698