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

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

Issue 2353063005: Refactor ContentViewClient (1/6) (Closed)
Patch Set: rebased 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
boliu 2016/09/27 23:28:45 random new line
Jinsuk Kim 2016/09/28 03:58:52 Removed.
74 bool RequestPpapiBrokerPermission( 75 bool RequestPpapiBrokerPermission(
75 content::WebContents* web_contents, 76 content::WebContents* web_contents,
76 const GURL& url, 77 const GURL& url,
77 const base::FilePath& plugin_path, 78 const base::FilePath& plugin_path,
78 const base::Callback<void(bool)>& callback) override; 79 const base::Callback<void(bool)>& callback) override;
79 content::WebContents* OpenURLFromTab( 80 content::WebContents* OpenURLFromTab(
80 content::WebContents* source, 81 content::WebContents* source,
81 const content::OpenURLParams& params) override; 82 const content::OpenURLParams& params) override;
82 bool ShouldResumeRequestsForCreatedWindow() override; 83 bool ShouldResumeRequestsForCreatedWindow() override;
83 void AddNewContents(content::WebContents* source, 84 void AddNewContents(content::WebContents* source,
(...skipping 17 matching lines...) Expand all
101 content::NotificationRegistrar notification_registrar_; 102 content::NotificationRegistrar notification_registrar_;
102 }; 103 };
103 104
104 // Register the native methods through JNI. 105 // Register the native methods through JNI.
105 bool RegisterTabWebContentsDelegateAndroid(JNIEnv* env); 106 bool RegisterTabWebContentsDelegateAndroid(JNIEnv* env);
106 107
107 } // namespace android 108 } // namespace android
108 } // namespace chrome 109 } // namespace chrome
109 110
110 #endif // CHROME_BROWSER_ANDROID_TAB_WEB_CONTENTS_DELEGATE_ANDROID_H_ 111 #endif // CHROME_BROWSER_ANDROID_TAB_WEB_CONTENTS_DELEGATE_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698