Add a method in InspectableWebContentDelegate to set icon for devtools window.
This commit is contained in:
parent
c67ba6de6a
commit
a6627a7286
6 changed files with 28 additions and 0 deletions
|
@ -3,12 +3,17 @@
|
|||
|
||||
#include <string>
|
||||
|
||||
#include "ui/gfx/image/image_skia.h"
|
||||
|
||||
namespace brightray {
|
||||
|
||||
class InspectableWebContentsDelegate {
|
||||
public:
|
||||
virtual ~InspectableWebContentsDelegate() {}
|
||||
|
||||
// Returns the icon of devtools window.
|
||||
virtual gfx::ImageSkia GetDevToolsWindowIcon();
|
||||
|
||||
// Requested by WebContents of devtools.
|
||||
virtual void DevToolsSaveToFile(
|
||||
const std::string& url, const std::string& content, bool save_as) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue