2014-03-04 08:12:02 +00:00
|
|
|
#ifndef BRIGHTRAY_INSPECTABLE_WEB_CONTENTS_DELEGATE_H_
|
|
|
|
#define BRIGHTRAY_INSPECTABLE_WEB_CONTENTS_DELEGATE_H_
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
namespace brightray {
|
|
|
|
|
|
|
|
class InspectableWebContentsDelegate {
|
|
|
|
public:
|
|
|
|
virtual ~InspectableWebContentsDelegate() {}
|
|
|
|
|
2014-04-04 16:10:09 +00:00
|
|
|
// Requested by WebContents of devtools.
|
2016-04-12 07:35:35 +00:00
|
|
|
virtual void DevToolsReloadPage() {}
|
2014-04-04 16:10:09 +00:00
|
|
|
virtual void DevToolsSaveToFile(
|
|
|
|
const std::string& url, const std::string& content, bool save_as) {}
|
|
|
|
virtual void DevToolsAppendToFile(
|
|
|
|
const std::string& url, const std::string& content) {}
|
2016-03-15 02:23:40 +00:00
|
|
|
virtual void DevToolsRequestFileSystems() {}
|
2015-07-24 09:43:36 +00:00
|
|
|
virtual void DevToolsAddFileSystem(
|
|
|
|
const base::FilePath& file_system_path) {}
|
2015-06-04 16:51:23 +00:00
|
|
|
virtual void DevToolsRemoveFileSystem(
|
2015-07-24 09:43:36 +00:00
|
|
|
const base::FilePath& file_system_path) {}
|
2016-05-06 23:06:00 +00:00
|
|
|
virtual void DevToolsIndexPath(
|
|
|
|
int request_id, const std::string& file_system_path) {}
|
|
|
|
virtual void DevToolsStopIndexing(int request_id) {}
|
|
|
|
virtual void DevToolsSearchInPath(
|
|
|
|
int request_id,
|
|
|
|
const std::string& file_system_path,
|
|
|
|
const std::string& query) {}
|
2014-03-04 08:12:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace brightray
|
|
|
|
|
|
|
|
#endif // BRIGHTRAY_INSPECTABLE_WEB_CONTENTS_DELEGATE_H_
|