|
Molybden
|
The BrowserDelegates::onInjectCss action. More...
#include <browser_delegates.hpp>
Public Member Functions | |
| InjectCssAction (std::unique_ptr< rpc::internal::Callback > callback) | |
| void | inject (const std::string &css) |
| Inject the given custom style sheet into the frame's document. | |
| void | proceed () |
| Continue without injecting a custom style sheet. | |
Public Member Functions inherited from molybden::Action | |
| Action (std::unique_ptr< rpc::internal::Callback > callback) | |
Additional Inherited Members | |
Protected Attributes inherited from molybden::Action | |
| std::unique_ptr< rpc::internal::Callback > | callback_ |
The BrowserDelegates::onInjectCss action.
| void molybden::InjectCssAction::inject | ( | const std::string & | css | ) |
Inject the given custom style sheet into the frame's document.
The given CSS properties will be applied only if they are not already defined in the frame's document.
| css | custom CSS properties that will be injected into the document. |