| Index: chrome/browser/devtools/devtools_contents_resizing_strategy.h
|
| diff --git a/chrome/browser/devtools/devtools_contents_resizing_strategy.h b/chrome/browser/devtools/devtools_contents_resizing_strategy.h
|
| index e3767fd6e95ca8c1977f3c896cfff1b03c00e550..a1e687cdd42089bdc2506c93d18f3b82755c7d77 100644
|
| --- a/chrome/browser/devtools/devtools_contents_resizing_strategy.h
|
| +++ b/chrome/browser/devtools/devtools_contents_resizing_strategy.h
|
| @@ -18,12 +18,14 @@ class DevToolsContentsResizingStrategy {
|
| DevToolsContentsResizingStrategy(
|
| const gfx::Insets& insets,
|
| const gfx::Size& min_size);
|
| + explicit DevToolsContentsResizingStrategy(const gfx::Rect& bounds);
|
|
|
| void CopyFrom(const DevToolsContentsResizingStrategy& strategy);
|
| bool Equals(const DevToolsContentsResizingStrategy& strategy);
|
|
|
| const gfx::Insets& insets() const { return insets_; }
|
| const gfx::Size& min_size() const { return min_size_; }
|
| + const gfx::Rect& bounds() const { return bounds_; }
|
|
|
| private:
|
| // Insets of contents inside DevTools.
|
| @@ -32,6 +34,9 @@ class DevToolsContentsResizingStrategy {
|
| // Minimum size of contents.
|
| gfx::Size min_size_;
|
|
|
| + // Contents bounds. When non-empty, used instead of insets.
|
| + gfx::Rect bounds_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(DevToolsContentsResizingStrategy);
|
| };
|
|
|
|
|