• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/WebKit2-7537.78.2/UIProcess/API/gtk/

Lines Matching +defs:file +defs:type

16  * along with this library; see the file COPYING.LIB.  If not, write to
219 static GtkWidget* webkitWebViewCreateJavaScriptDialog(WebKitWebView* webView, GtkMessageType type, GtkButtonsType buttons, int defaultResponse, const char* message)
223 GTK_DIALOG_DESTROY_WITH_PARENT, type, buttons, "%s", message);
235 switch (scriptDialog->type) {
438 for (GSList* file = filesList.get(); file; file = g_slist_next(file))
439 g_ptr_array_add(filesArray.get(), file->data);
925 * on the dialog type:
956 * @decision_type: a #WebKitPolicyDecisionType denoting the type of @decision
961 * @decision argument is a generic type, but should be casted to a more
962 * specific type when making the decision. For example:
968 * WebKitPolicyDecisionType type)
970 * switch (type) {
1085 * what type of element the mouse cursor is over, a Hit Test is performed
1198 * WebKitWebView::run-file-chooser:
1203 * type='file' /> HTML element, requesting from WebKit to show
1205 * application know the details of the file chooser, as well as to
1219 g_signal_new("run-file-chooser",
1551 void webkitWebViewMakePolicyDecision(WebKitWebView* webView, WebKitPolicyDecisionType type, WebKitPolicyDecision* decision)
1554 g_signal_emit(webView, signals[DECIDE_POLICY], 0, decision, type, &returnValue);
1751 void webkitWebViewInsecureContentDetected(WebKitWebView* webView, WebKitInsecureContentEvent type)
1753 g_signal_emit(webView, signals[INSECURE_CONTENT_DETECTED], 0, type);
1867 * it defaults to "about:blank". The mime type of the document will be "text/html".
1905 * Load the specified @plain_text string into @web_view. The mime type of
2751 * @mime_type: a MIME type
2753 * Whether or not a MIME type can be displayed in @web_view.
2755 * Returns: %TRUE if the MIME type @mime_type can be displayed or %FALSE otherwise
2767 GRefPtr<GFile> file;
2774 GFile* file = G_FILE(object);
2778 if (!g_file_replace_contents_finish(file, result, 0, &error))
2797 // If we are saving to a file we need to write the data on disk before finishing.
2799 ASSERT(G_IS_FILE(data->file.get()));
2800 g_file_replace_contents_async(data->file.get(), reinterpret_cast<const gchar*>(data->webData->bytes()), data->webData->size(),
2876 * @file: the #GFile where the current web page should be saved to.
2884 * specified in @save_mode and writing it to @file.
2890 void webkit_web_view_save_to_file(WebKitWebView* webView, GFile* file, WebKitSaveMode saveMode, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer userData)
2893 g_return_if_fail(G_IS_FILE(file));
2901 data->file = file;
2916 * Returns: %TRUE if the web page was successfully saved to a file or %FALSE otherwise.