Chromium Code Reviews| Index: ui/aura/root_window.cc |
| diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc |
| index aaec097a2fb4b4fe7d832b936de9a0e986aeea4b..449ec0903515c44c10b00011a16d4f7358f8ece8 100644 |
| --- a/ui/aura/root_window.cc |
| +++ b/ui/aura/root_window.cc |
| @@ -115,6 +115,12 @@ gfx::Size RootWindow::GetHostSize() const { |
| return rect.size(); |
| } |
| +void RootWindow::SetScreenWorkAreaInsets(const gfx::Insets& insets) { |
| + screen_->set_work_area_insets(insets); |
|
sky
2012/03/01 01:43:19
Don't do anything if insets are the same.
jennyz
2012/03/01 18:27:45
Done.
|
| + FOR_EACH_OBSERVER(RootWindowObserver, observers_, |
| + OnScreenWorkAreaInsetsChanged()); |
| +} |
| + |
| void RootWindow::SetCursor(gfx::NativeCursor cursor) { |
| last_cursor_ = cursor; |
| // A lot of code seems to depend on NULL cursors actually showing an arrow, |