From 276395f468c8ee05951401a1d352e0dec3c3a3a8 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 1 Apr 2021 17:59:36 +0200 Subject: Matrix: add room directory for joining rooms, resize video thumbnail --- plugins/Page.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/Page.hpp') diff --git a/plugins/Page.hpp b/plugins/Page.hpp index 8ef2b59..b5af7a9 100644 --- a/plugins/Page.hpp +++ b/plugins/Page.hpp @@ -47,6 +47,8 @@ namespace QuickMedia { virtual bool is_single_page() const { return false; } virtual bool is_trackable() const { return false; } virtual bool is_lazy_fetch_page() const { return false; } + // Note: If submit is done without any selection, then the search term is sent as the |title|, not |url| + virtual bool allow_submit_no_selection() const { return false; } // This is called both when first navigating to page and when going back to page virtual void on_navigate_to_page(Body *body) { (void)body; } -- cgit v1.2.3