| Index: athena/content/app_activity.cc
|
| diff --git a/athena/content/app_activity.cc b/athena/content/app_activity.cc
|
| index 62ecb2cf859ab326e85c897d97ba4b4aab4bf78a..5494f82ed20a218608ac445b3ae76cd701f42a5a 100644
|
| --- a/athena/content/app_activity.cc
|
| +++ b/athena/content/app_activity.cc
|
| @@ -138,6 +138,17 @@ gfx::ImageSkia AppActivity::GetOverviewModeImage() {
|
| return overview_mode_image_;
|
| }
|
|
|
| +void AppActivity::PrepareContentsForOverview() {
|
| + // Turn on fast resizing to avoid re-laying out the web contents when
|
| + // entering / exiting overview mode.
|
| + web_view_->SetFastResize(true);
|
| +}
|
| +
|
| +void AppActivity::ResetContentsView() {
|
| + web_view_->SetFastResize(false);
|
| + web_view_->Layout();
|
| +}
|
| +
|
| void AppActivity::TitleWasSet(content::NavigationEntry* entry,
|
| bool explicit_set) {
|
| ActivityManager::Get()->UpdateActivity(this);
|
|
|