OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/macros.h" | 5 #include "base/macros.h" |
6 #include "base/memory/ptr_util.h" | 6 #include "base/memory/ptr_util.h" |
| 7 #include "base/message_loop/message_loop.h" |
7 #include "base/run_loop.h" | 8 #include "base/run_loop.h" |
8 #include "build/build_config.h" | 9 #include "build/build_config.h" |
9 #include "chrome/browser/devtools/chrome_devtools_manager_delegate.h" | 10 #include "chrome/browser/devtools/chrome_devtools_manager_delegate.h" |
10 #include "chrome/browser/ui/browser_window.h" | 11 #include "chrome/browser/ui/browser_window.h" |
11 #include "chrome/browser/ui/exclusive_access/exclusive_access_context.h" | 12 #include "chrome/browser/ui/exclusive_access/exclusive_access_context.h" |
12 #include "chrome/test/base/in_process_browser_test.h" | 13 #include "chrome/test/base/in_process_browser_test.h" |
13 | 14 |
14 #if defined(OS_MACOSX) | 15 #if defined(OS_MACOSX) |
15 #include "ui/base/test/scoped_fake_nswindow_fullscreen.h" | 16 #include "ui/base/test/scoped_fake_nswindow_fullscreen.h" |
16 #endif | 17 #endif |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 #if defined(OS_MACOSX) | 202 #if defined(OS_MACOSX) |
202 faker.FinishTransition(); | 203 faker.FinishTransition(); |
203 #endif | 204 #endif |
204 CheckIsFullscreen(true); | 205 CheckIsFullscreen(true); |
205 SendCommand("normal"); | 206 SendCommand("normal"); |
206 #if defined(OS_MACOSX) | 207 #if defined(OS_MACOSX) |
207 faker.FinishTransition(); | 208 faker.FinishTransition(); |
208 #endif | 209 #endif |
209 CheckIsFullscreen(false); | 210 CheckIsFullscreen(false); |
210 } | 211 } |
OLD | NEW |