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

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

Issue 691823002: Add WebContents source to methods in WebContentsDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
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 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
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_
OLDNEW
« no previous file with comments | « athena/content/web_activity.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