Chromium Code Reviews| Index: extensions/shell/browser/shell_desktop_controller.h |
| diff --git a/extensions/shell/browser/shell_desktop_controller.h b/extensions/shell/browser/shell_desktop_controller.h |
| index afaef8ad5f2688fc99c4b008aa5b65dd1e0468d6..35c1a3b8b6cc2ef29a639f6fcceadffecc18f39e 100644 |
| --- a/extensions/shell/browser/shell_desktop_controller.h |
| +++ b/extensions/shell/browser/shell_desktop_controller.h |
| @@ -30,6 +30,7 @@ class BrowserContext; |
| } |
| namespace gfx { |
| +class Insets; |
| class Size; |
| } |
| @@ -85,6 +86,11 @@ class ShellDesktopController : public aura::client::WindowTreeClient, |
| // Closes and destroys the app windows. |
| void CloseAppWindows(); |
| +#if defined(OS_CHROMEOS) |
|
oshima
2014/08/14 00:19:02
do you need this ifdef?
I believe the CHROMEOS be
pkotwicz
2014/08/14 15:49:39
Removed the ifdef. Once app shell is for more than
|
| + // Sets the screen's work area insets. |
|
pkotwicz
2014/08/13 13:48:55
There is no app API for setting the work area boun
oshima
2014/08/14 00:19:02
I was fine with something like this,
static_cast<
|
| + void SetDisplayWorkAreaInsets(const gfx::Insets& insets); |
| +#endif |
| + |
| // Overridden from aura::client::WindowTreeClient: |
| virtual aura::Window* GetDefaultParent(aura::Window* context, |
| aura::Window* window, |