Callback interface for asynchronous continuation of print dialog requests.
コード例 #1
0
        private int on_print_dialog(cef_print_handler_t *self, int has_selection, cef_print_dialog_callback_t *callback)
        {
            CheckSelf(self);

            CefPrintDialogCallback mCallback = CefPrintDialogCallback.FromNative(callback);

            return(OnPrintDialogDelegate(has_selection != 0, mCallback));
        }
コード例 #2
0
        private int on_print_dialog(cef_print_handler_t *self, int has_selection, cef_print_dialog_callback_t *callback)
        {
            CheckSelf(self);

            var m_callback = CefPrintDialogCallback.FromNative(callback);
            var m_result   = OnPrintDialog(has_selection != 0, m_callback);

            return(m_result ? 1 : 0);
        }
コード例 #3
0
ファイル: CefPrintHandler.cs プロジェクト: rajsite/lvcef
 /// <summary>
 /// Show the print dialog. Execute |callback| once the dialog is dismissed.
 /// Return true if the dialog will be displayed or false to cancel the
 /// printing immediately.
 /// </summary>
 protected abstract bool OnPrintDialog(bool hasSelection, CefPrintDialogCallback callback);
コード例 #4
0
 /// <summary>
 /// Show the print dialog. Execute |callback| once the dialog is dismissed.
 /// Return true if the dialog will be displayed or false to cancel the
 /// printing immediately.
 /// </summary>
 protected abstract bool OnPrintDialog(bool hasSelection, CefPrintDialogCallback callback);
コード例 #5
0
 protected abstract int OnPrintDialogDelegate(bool hasSelection, CefPrintDialogCallback callback);
 /// <summary>
 /// Show the print dialog. Execute |callback| once the dialog is dismissed.
 /// Return true if the dialog will be displayed or false to cancel the
 /// printing immediately.
 /// </summary>
 protected abstract bool OnPrintDialog(CefBrowser browser, bool hasSelection, CefPrintDialogCallback callback);
コード例 #7
0
ファイル: CefPrintHandler.cs プロジェクト: kc5nra/cefglue
 protected abstract int OnPrintDialogDelegate(bool hasSelection, CefPrintDialogCallback callback);