virtual void ShowNotification(
const content::ShowDesktopNotificationHostMsgParams& params,
content::RenderFrameHost* render_frame_host,
- content::DesktopNotificationDelegate* delegate,
+ scoped_ptr<content::DesktopNotificationDelegate> delegate,
base::Closure* cancel_callback)
OVERRIDE;
virtual void UpdateNotificationIcon(
void ConfirmJsResult(JNIEnv*, jobject, int id, jstring prompt);
void CancelJsResult(JNIEnv*, jobject, int id);
void ExitFullscreen(JNIEnv*, jobject, jlong web_contents);
- void NotificationDisplayed(JNIEnv*, jobject, jlong delegate);
- void NotificationError(JNIEnv*, jobject, jlong delegate);
- void NotificationClicked(JNIEnv*, jobject, jint id, jlong delegate);
- void NotificationClosed(JNIEnv*, jobject, jint id, bool by_user,
- jlong delegate);
+ void NotificationDisplayed(JNIEnv*, jobject, jint id);
+ void NotificationError(JNIEnv*, jobject, jint id);
+ void NotificationClicked(JNIEnv*, jobject, jint id);
+ void NotificationClosed(JNIEnv*, jobject, jint id, bool by_user);
void OnFilesSelected(
JNIEnv*, jobject, int process_id, int render_id,
int mode, jstring filepath, jstring display_name);