Chromium Code Reviews| Index: chrome/browser/ui/views/extensions/shell_window_views.cc |
| diff --git a/chrome/browser/ui/views/extensions/shell_window_views.cc b/chrome/browser/ui/views/extensions/shell_window_views.cc |
| index 13a9b15b4f6388862495ebde39663abe4f9087d5..04e86d2cf266ed4306022678f5e88b1f7feb08ef 100644 |
| --- a/chrome/browser/ui/views/extensions/shell_window_views.cc |
| +++ b/chrome/browser/ui/views/extensions/shell_window_views.cc |
| @@ -684,6 +684,10 @@ bool ShellWindowViews::ShouldShowWindowTitle() const { |
| return false; |
| } |
| +void ShellWindowViews::OnWidgetMove() { |
|
Mihai Parparita -not on Chrome
2012/11/02 20:05:14
Nit: extra space after void.
asargent_no_longer_on_chrome
2012/11/02 20:55:50
Done.
|
| + shell_window_->SendBoundsUpdate(); |
|
Mihai Parparita -not on Chrome
2012/11/02 20:05:14
Shouldn't this call It SaveWindowPlacement too?
I
asargent_no_longer_on_chrome
2012/11/02 20:55:50
I had it that way initially, but in patch 3 of thi
Mihai Parparita -not on Chrome
2012/11/02 22:12:56
Yeah, I like that better (since it doesn't actuall
asargent_no_longer_on_chrome
2012/11/05 23:37:29
Ok, I went back to just having the 1 method, but l
|
| +} |
| + |
| void ShellWindowViews::Layout() { |
| DCHECK(web_view_); |
| web_view_->SetBounds(0, 0, width(), height()); |