| Index: chrome/browser/views/frame/contents_container.cc
|
| diff --git a/chrome/browser/views/frame/contents_container.cc b/chrome/browser/views/frame/contents_container.cc
|
| index 3d455eff3b0fadaf9e124cb9cdbe249c9a2c4495..fd80e3ba9e22910a3ba179fbf8c3297d3da2102e 100644
|
| --- a/chrome/browser/views/frame/contents_container.cc
|
| +++ b/chrome/browser/views/frame/contents_container.cc
|
| @@ -110,6 +110,12 @@ void ContentsContainer::SetActiveTopMargin(int margin) {
|
| InvalidateLayout();
|
| }
|
|
|
| +gfx::Rect ContentsContainer::GetPreviewBounds() {
|
| + gfx::Point screen_loc;
|
| + ConvertPointToScreen(this, &screen_loc);
|
| + return gfx::Rect(screen_loc, size());
|
| +}
|
| +
|
| void ContentsContainer::Layout() {
|
| // The active view always gets the full bounds.
|
| active_->SetBounds(0, active_top_margin_, width(),
|
|
|