Chromium Code Reviews| Index: chrome/browser/web_contents.cc |
| =================================================================== |
| --- chrome/browser/web_contents.cc (revision 5533) |
| +++ chrome/browser/web_contents.cc (working copy) |
| @@ -851,7 +851,7 @@ |
| } |
| void WebContents::RequestMove(const gfx::Rect& new_bounds) { |
| - if (delegate() && delegate()->IsPopup(this)) |
| + if (delegate() && (delegate()->IsPopup(this) || delegate()->IsEmbedded(this))) |
| delegate()->MoveContents(this, new_bounds); |
| } |