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

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

Issue 13037003: permissionrequest API for guest Download. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync @tott Created 7 years, 8 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 int number_of_matches, 47 int number_of_matches,
48 const gfx::Rect& selection_rect, 48 const gfx::Rect& selection_rect,
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 void 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 const base::Callback<void(bool)>& callback) 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
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_
OLDNEW
« no previous file with comments | « android_webview/native/aw_web_contents_delegate.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