Molybden API
Loading...
Searching...
No Matches
profile_prefs.hpp
1// Copyright (c) 2000-2024 TeamDev. All rights reserved.
2// TeamDev PROPRIETARY and CONFIDENTIAL.
3// Use is subject to license terms.
4
5#ifndef MOLYBDEN_PROFILE_PREFS_HPP
6#define MOLYBDEN_PROFILE_PREFS_HPP
7
8namespace molybden {
9
10class Profile;
11
16 public:
20 virtual std::shared_ptr<Profile> profile() = 0;
21
32 virtual bool isAutofillEnabled() = 0;
33
38 virtual void enableAutofill() = 0;
39
44 virtual void disableAutofill() = 0;
45
52 virtual bool isCaretBrowsingEnabled() = 0;
53
57 virtual void enableCaretBrowsing() = 0;
58
62 virtual void disableCaretBrowsing() = 0;
63
68 virtual void enablePdfViewer() = 0;
69
74 virtual void disablePdfViewer() = 0;
75
92 virtual bool isPdfViewerEnabled() = 0;
93
94 virtual ~ProfilePrefs() = default;
95};
96
97} // namespace molybden
98
99#endif // MOLYBDEN_PROFILE_PREFS_HPP
The Chromium profile preferences.
Definition profile_prefs.hpp:15
virtual void disableCaretBrowsing()=0
Disables the caret browsing.
virtual bool isCaretBrowsingEnabled()=0
Returns true if the caret browsing is enabled.
virtual void disablePdfViewer()=0
Disables the built-in PDF viewer.
virtual bool isPdfViewerEnabled()=0
Indicates whether the built-in PDF viewer is enabled or not.
virtual void enablePdfViewer()=0
Enables the built-in PDF viewer.
virtual bool isAutofillEnabled()=0
Returns true if the web form autofill for the simple HTML INPUT values, credit cards,...
virtual void enableAutofill()=0
Enables the web form autofill for the simple HTML INPUT values, credit cards, and user data.
virtual void disableAutofill()=0
Disables the web form autofill for the simple HTML INPUT values, credit cards, and user data.
virtual void enableCaretBrowsing()=0
Enables the caret browsing.
virtual std::shared_ptr< Profile > profile()=0
Returns the profile for these preferences.