OLD | NEW |
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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 int request_id, | 47 int request_id, |
48 int number_of_matches, | 48 int number_of_matches, |
49 const gfx::Rect& selection_rect, | 49 const gfx::Rect& selection_rect, |
50 int active_match_ordinal, | 50 int active_match_ordinal, |
51 bool final_update) override; | 51 bool final_update) override; |
52 virtual void FindMatchRectsReply(content::WebContents* web_contents, | 52 virtual void FindMatchRectsReply(content::WebContents* web_contents, |
53 int version, | 53 int version, |
54 const std::vector<gfx::RectF>& rects, | 54 const std::vector<gfx::RectF>& rects, |
55 const gfx::RectF& active_rect) override; | 55 const gfx::RectF& active_rect) override; |
56 virtual content::JavaScriptDialogManager* | 56 virtual content::JavaScriptDialogManager* |
57 GetJavaScriptDialogManager() override; | 57 GetJavaScriptDialogManager(content::WebContents* source) override; |
58 virtual void RequestMediaAccessPermission( | 58 virtual void RequestMediaAccessPermission( |
59 content::WebContents* web_contents, | 59 content::WebContents* web_contents, |
60 const content::MediaStreamRequest& request, | 60 const content::MediaStreamRequest& request, |
61 const content::MediaResponseCallback& callback) override; | 61 const content::MediaResponseCallback& callback) override; |
62 virtual bool CheckMediaAccessPermission( | 62 virtual bool CheckMediaAccessPermission( |
63 content::WebContents* web_contents, | 63 content::WebContents* web_contents, |
64 const GURL& security_origin, | 64 const GURL& security_origin, |
65 content::MediaStreamType type) override; | 65 content::MediaStreamType type) override; |
66 virtual bool RequestPpapiBrokerPermission( | 66 virtual bool RequestPpapiBrokerPermission( |
67 content::WebContents* web_contents, | 67 content::WebContents* web_contents, |
(...skipping 21 matching lines...) Expand all Loading... |
89 content::NotificationRegistrar notification_registrar_; | 89 content::NotificationRegistrar notification_registrar_; |
90 }; | 90 }; |
91 | 91 |
92 // Register the native methods through JNI. | 92 // Register the native methods through JNI. |
93 bool RegisterChromeWebContentsDelegateAndroid(JNIEnv* env); | 93 bool RegisterChromeWebContentsDelegateAndroid(JNIEnv* env); |
94 | 94 |
95 } // namespace android | 95 } // namespace android |
96 } // namespace chrome | 96 } // namespace chrome |
97 | 97 |
98 #endif // CHROME_BROWSER_ANDROID_CHROME_WEB_CONTENTS_DELEGATE_ANDROID_H_ | 98 #endif // CHROME_BROWSER_ANDROID_CHROME_WEB_CONTENTS_DELEGATE_ANDROID_H_ |
OLD | NEW |