Chromium Code Reviews| Index: content/public/browser/web_contents.h |
| diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h |
| index 879e8d8513c03fa6ccb621249098bb66873a0fab..a77d134c0ba7e3fa30fa84b4176c879e2a35371d 100644 |
| --- a/content/public/browser/web_contents.h |
| +++ b/content/public/browser/web_contents.h |
| @@ -408,11 +408,11 @@ class WebContents : public PageNavigator, |
| // Returns the outermost native view. This will be used as the parent for |
| // dialog boxes. |
| - virtual gfx::NativeWindow GetTopLevelNativeWindow() = 0; |
| + virtual gfx::NativeWindow GetTopLevelNativeWindow() const = 0; |
|
jam
2015/02/03 05:53:43
they don't have const by design. see http://www.ch
Evan Stade
2015/02/03 17:48:40
ok, will remove changes to content. Why do some of
|
| // Computes the rectangle for the native widget that contains the contents of |
| // the tab in the screen coordinate system. |
| - virtual gfx::Rect GetContainerBounds() = 0; |
| + virtual gfx::Rect GetContainerBounds() const = 0; |
| // Get the bounds of the View, relative to the parent. |
| virtual gfx::Rect GetViewBounds() = 0; |