diff options
Diffstat (limited to 'chromium/ui/platform_window/extensions/wayland_extension.h')
-rw-r--r-- | chromium/ui/platform_window/extensions/wayland_extension.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/ui/platform_window/extensions/wayland_extension.h b/chromium/ui/platform_window/extensions/wayland_extension.h index 810dce5d7ca..3b5995e0e8f 100644 --- a/chromium/ui/platform_window/extensions/wayland_extension.h +++ b/chromium/ui/platform_window/extensions/wayland_extension.h @@ -39,6 +39,11 @@ class COMPONENT_EXPORT(PLATFORM_WINDOW) WaylandExtension { // snapping. virtual void CommitSnap(WaylandWindowSnapDirection snap) = 0; + // Signals the underneath platform whether the current tab of the browser + // window can go back. The underneath platform might react, for example, + // by minimizing the window upon a system wide back gesture. + virtual void SetCanGoBack(bool value) = 0; + protected: virtual ~WaylandExtension(); |