Chromium Code Reviews| Index: chrome/browser/ui/browser_browsertest.cc |
| diff --git a/chrome/browser/ui/browser_browsertest.cc b/chrome/browser/ui/browser_browsertest.cc |
| index 9eb6b54f7b88848b4a3f426e14c5dec9d8bebd4d..b89102554eb67a63bf90f1bd306fe22c0c0da106 100644 |
| --- a/chrome/browser/ui/browser_browsertest.cc |
| +++ b/chrome/browser/ui/browser_browsertest.cc |
| @@ -3224,7 +3224,11 @@ IN_PROC_BROWSER_TEST_F(BrowserTest, TestPopupBounds) { |
| // Minimum size that a popup window should have appended to its height when |
| // drawn (popup window bounds are for the content, not the window). This is |
| // the size of the toolbar on views platforms. |
| +#if defined(OS_CHROMEOS) |
| + const int minimum_popup_padding = 27; |
| +#else |
| const int minimum_popup_padding = 29; |
| +#endif // defined(OS_CHROMEOS) |
|
Peter Kasting
2016/02/05 22:10:24
Rather than ifdef this, let's either convert this
tdanderson
2016/02/08 19:36:44
I'm not sure how to do this. Querying browser->win
Peter Kasting
2016/02/08 23:18:19
You might want to check that this isn't a legitima
tdanderson
2016/02/09 20:18:14
During layout, BrowserView is reporting its own bo
|
| // Creates an untrusted popup window and asserts that the eventual height is |
| // padded with the toolbar and title bar height (initial height is content |