virtual ~ScreenCaptureNotificationUIGtk();
// ScreenCaptureNotificationUI interface
- virtual void OnStarted(const base::Closure& stop_callback) OVERRIDE;
+ virtual gfx::NativeViewId OnStarted(const base::Closure& stop_callback)
+ OVERRIDE;
private:
CHROMEGTK_CALLBACK_1(ScreenCaptureNotificationUIGtk, gboolean, OnDelete,
gtk_window_present(GTK_WINDOW(window_));
}
-void ScreenCaptureNotificationUIGtk::OnStarted(
+gfx::NativeViewId ScreenCaptureNotificationUIGtk::OnStarted(
const base::Closure& stop_callback) {
DCHECK(stop_callback_.is_null());
DCHECK(!stop_callback.is_null());
stop_callback_ = stop_callback;
CreateWindow();
+
+ return 0;
}
void ScreenCaptureNotificationUIGtk::HideWindow() {