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

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

Issue 23264020: Move Android to use new Popup Blocker API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added NOTIMPLEMENTED Created 7 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 unified diff | Download patch | Annotate | Revision Log
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_CHROME_WEB_CONTENTS_DELEGATE_ANDROID_H_ 5 #ifndef CHROME_BROWSER_ANDROID_CHROME_WEB_CONTENTS_DELEGATE_ANDROID_H_
6 #define CHROME_BROWSER_ANDROID_CHROME_WEB_CONTENTS_DELEGATE_ANDROID_H_ 6 #define CHROME_BROWSER_ANDROID_CHROME_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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 GetJavaScriptDialogManager() OVERRIDE; 55 GetJavaScriptDialogManager() OVERRIDE;
56 virtual void RequestMediaAccessPermission( 56 virtual void RequestMediaAccessPermission(
57 content::WebContents* web_contents, 57 content::WebContents* web_contents,
58 const content::MediaStreamRequest& request, 58 const content::MediaStreamRequest& request,
59 const content::MediaResponseCallback& callback) OVERRIDE; 59 const content::MediaResponseCallback& callback) OVERRIDE;
60 virtual bool RequestPpapiBrokerPermission( 60 virtual bool RequestPpapiBrokerPermission(
61 content::WebContents* web_contents, 61 content::WebContents* web_contents,
62 const GURL& url, 62 const GURL& url,
63 const base::FilePath& plugin_path, 63 const base::FilePath& plugin_path,
64 const base::Callback<void(bool)>& callback) OVERRIDE; 64 const base::Callback<void(bool)>& callback) OVERRIDE;
65 virtual content::WebContents* OpenURLFromTab(
66 content::WebContents* source,
67 const content::OpenURLParams& params) OVERRIDE;
68 virtual void AddNewContents(content::WebContents* source,
69 content::WebContents* new_contents,
70 WindowOpenDisposition disposition,
71 const gfx::Rect& initial_pos,
72 bool user_gesture,
73 bool* was_blocked) OVERRIDE;
65 74
66 private: 75 private:
67 // NotificationObserver implementation. 76 // NotificationObserver implementation.
68 virtual void Observe(int type, 77 virtual void Observe(int type,
69 const content::NotificationSource& source, 78 const content::NotificationSource& source,
70 const content::NotificationDetails& details) OVERRIDE; 79 const content::NotificationDetails& details) OVERRIDE;
71 80
72 void OnFindResultAvailable(content::WebContents* web_contents, 81 void OnFindResultAvailable(content::WebContents* web_contents,
73 const FindNotificationDetails* find_result); 82 const FindNotificationDetails* find_result);
74 83
75 content::NotificationRegistrar notification_registrar_; 84 content::NotificationRegistrar notification_registrar_;
76 }; 85 };
77 86
78 // Register the native methods through JNI. 87 // Register the native methods through JNI.
79 bool RegisterChromeWebContentsDelegateAndroid(JNIEnv* env); 88 bool RegisterChromeWebContentsDelegateAndroid(JNIEnv* env);
80 89
81 } // namespace android 90 } // namespace android
82 } // namespace chrome 91 } // namespace chrome
83 92
84 #endif // CHROME_BROWSER_ANDROID_CHROME_WEB_CONTENTS_DELEGATE_ANDROID_H_ 93 #endif // CHROME_BROWSER_ANDROID_CHROME_WEB_CONTENTS_DELEGATE_ANDROID_H_
OLDNEW
« no previous file with comments | « chrome/android/testshell/testshell_tab.cc ('k') | chrome/browser/android/chrome_web_contents_delegate_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698