Index: chrome/browser/ui/extensions/native_app_window.h |
diff --git a/chrome/browser/ui/extensions/native_app_window.h b/chrome/browser/ui/extensions/native_app_window.h |
index 1f721b3b992e811e171fd7a48b8b20392a2d10e7..c6e1db83f7b4068b4fc0bd47961ccc7f894fc875 100644 |
--- a/chrome/browser/ui/extensions/native_app_window.h |
+++ b/chrome/browser/ui/extensions/native_app_window.h |
@@ -7,6 +7,7 @@ |
#include "chrome/browser/ui/base_window.h" |
#include "chrome/browser/ui/extensions/shell_window.h" |
+#include "ui/gfx/insets.h" |
// This is an interface to a native implementation of a shell window, used for |
// new-style packaged apps. Shell windows contain a web contents, but no tabs |
@@ -39,6 +40,10 @@ class NativeAppWindow : public BaseWindow { |
// this. |
virtual void RenderViewHostChanged() = 0; |
+ // Returns the difference between the window bounds (including titlebar and |
+ // borders) and the content bounds, if any. |
+ virtual gfx::Insets GetFrameInsets() const = 0; |
+ |
virtual ~NativeAppWindow() {} |
}; |