| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 int active_match_ordinal, | 49 int active_match_ordinal, |
| 50 bool final_update) OVERRIDE; | 50 bool final_update) OVERRIDE; |
| 51 virtual void FindMatchRectsReply(content::WebContents* web_contents, | 51 virtual void FindMatchRectsReply(content::WebContents* web_contents, |
| 52 int version, | 52 int version, |
| 53 const std::vector<gfx::RectF>& rects, | 53 const std::vector<gfx::RectF>& rects, |
| 54 const gfx::RectF& active_rect) OVERRIDE; | 54 const gfx::RectF& active_rect) OVERRIDE; |
| 55 virtual content::JavaScriptDialogManager* | 55 virtual content::JavaScriptDialogManager* |
| 56 GetJavaScriptDialogManager() OVERRIDE; | 56 GetJavaScriptDialogManager() OVERRIDE; |
| 57 virtual bool CanDownload(content::RenderViewHost* source, | 57 virtual bool CanDownload(content::RenderViewHost* source, |
| 58 int request_id, | 58 int request_id, |
| 59 const std::string& request_method) OVERRIDE; | 59 const std::string& request_method, |
| 60 bool has_auth) OVERRIDE; |
| 60 virtual void DidNavigateToPendingEntry(content::WebContents* source) OVERRIDE; | 61 virtual void DidNavigateToPendingEntry(content::WebContents* source) OVERRIDE; |
| 61 virtual void DidNavigateMainFramePostCommit( | 62 virtual void DidNavigateMainFramePostCommit( |
| 62 content::WebContents* source) OVERRIDE; | 63 content::WebContents* source) OVERRIDE; |
| 63 virtual void RequestMediaAccessPermission( | 64 virtual void RequestMediaAccessPermission( |
| 64 content::WebContents* web_contents, | 65 content::WebContents* web_contents, |
| 65 const content::MediaStreamRequest& request, | 66 const content::MediaStreamRequest& request, |
| 66 const content::MediaResponseCallback& callback) OVERRIDE; | 67 const content::MediaResponseCallback& callback) OVERRIDE; |
| 67 virtual bool RequestPpapiBrokerPermission( | 68 virtual bool RequestPpapiBrokerPermission( |
| 68 content::WebContents* web_contents, | 69 content::WebContents* web_contents, |
| 69 const GURL& url, | 70 const GURL& url, |
| (...skipping 14 matching lines...) Expand all Loading... |
| 84 base::TimeTicks navigation_start_time_; | 85 base::TimeTicks navigation_start_time_; |
| 85 }; | 86 }; |
| 86 | 87 |
| 87 // Register the native methods through JNI. | 88 // Register the native methods through JNI. |
| 88 bool RegisterChromeWebContentsDelegateAndroid(JNIEnv* env); | 89 bool RegisterChromeWebContentsDelegateAndroid(JNIEnv* env); |
| 89 | 90 |
| 90 } // namespace android | 91 } // namespace android |
| 91 } // namespace chrome | 92 } // namespace chrome |
| 92 | 93 |
| 93 #endif // CHROME_BROWSER_ANDROID_CHROME_WEB_CONTENTS_DELEGATE_ANDROID_H_ | 94 #endif // CHROME_BROWSER_ANDROID_CHROME_WEB_CONTENTS_DELEGATE_ANDROID_H_ |
| OLD | NEW |