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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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) OVERRIDE; |
60 virtual void OnStartDownload(content::WebContents* source, | |
61 content::DownloadItem* download) OVERRIDE; | |
62 virtual void DidNavigateToPendingEntry(content::WebContents* source) OVERRIDE; | 60 virtual void DidNavigateToPendingEntry(content::WebContents* source) OVERRIDE; |
63 virtual void DidNavigateMainFramePostCommit( | 61 virtual void DidNavigateMainFramePostCommit( |
64 content::WebContents* source) OVERRIDE; | 62 content::WebContents* source) OVERRIDE; |
65 virtual void RequestMediaAccessPermission( | 63 virtual void RequestMediaAccessPermission( |
66 content::WebContents* web_contents, | 64 content::WebContents* web_contents, |
67 const content::MediaStreamRequest& request, | 65 const content::MediaStreamRequest& request, |
68 const content::MediaResponseCallback& callback) OVERRIDE; | 66 const content::MediaResponseCallback& callback) OVERRIDE; |
69 virtual bool RequestPpapiBrokerPermission( | 67 virtual bool RequestPpapiBrokerPermission( |
70 content::WebContents* web_contents, | 68 content::WebContents* web_contents, |
71 const GURL& url, | 69 const GURL& url, |
(...skipping 14 matching lines...) Expand all Loading... |
86 base::TimeTicks navigation_start_time_; | 84 base::TimeTicks navigation_start_time_; |
87 }; | 85 }; |
88 | 86 |
89 // Register the native methods through JNI. | 87 // Register the native methods through JNI. |
90 bool RegisterChromeWebContentsDelegateAndroid(JNIEnv* env); | 88 bool RegisterChromeWebContentsDelegateAndroid(JNIEnv* env); |
91 | 89 |
92 } // namespace android | 90 } // namespace android |
93 } // namespace chrome | 91 } // namespace chrome |
94 | 92 |
95 #endif // CHROME_BROWSER_ANDROID_CHROME_WEB_CONTENTS_DELEGATE_ANDROID_H_ | 93 #endif // CHROME_BROWSER_ANDROID_CHROME_WEB_CONTENTS_DELEGATE_ANDROID_H_ |
OLD | NEW |