| Index: headless/public/web_frame.h
|
| diff --git a/headless/public/web_frame.h b/headless/public/web_frame.h
|
| index 4b0bb0ebb3a781cb74e13f0562c08113269d69c3..c8e5307180cc218e6b92f725c0d3e7dbb487966f 100644
|
| --- a/headless/public/web_frame.h
|
| +++ b/headless/public/web_frame.h
|
| @@ -44,6 +44,16 @@ class HEADLESS_EXPORT WebFrame {
|
| const std::string& source_code,
|
| const ScriptExecutionCallback& callback) = 0;
|
|
|
| + virtual std::string ContentAsText(size_t max_chars) const = 0;
|
| + virtual std::string ContentAsMarkup() const = 0;
|
| + virtual proto::Document ContentAsProtobuf() const = 0;
|
| +
|
| + virtual gfx::Size GetScrollOffset() const = 0;
|
| + virtual void SetScrollOffset(const gfx::Size& offset) = 0;
|
| +
|
| + virtual float GetPageScaleFactor() const = 0;
|
| + virtual void SetPageScaleFactor(float page_scale_factor) = 0;
|
| +
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(WebFrame);
|
| };
|
|
|