Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(602)

Side by Side Diff: chrome/browser/ui/webui/constrained_web_dialog_ui_browsertest.cc

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/callback.h" 5 #include "base/callback.h"
6 #include "base/location.h" 6 #include "base/location.h"
7 #include "base/message_loop/message_loop.h"
7 #include "base/single_thread_task_runner.h" 8 #include "base/single_thread_task_runner.h"
8 #include "base/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
9 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
10 #include "base/threading/thread_task_runner_handle.h" 11 #include "base/threading/thread_task_runner_handle.h"
11 #include "build/build_config.h" 12 #include "build/build_config.h"
12 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
13 #include "chrome/browser/ui/browser.h" 14 #include "chrome/browser/ui/browser.h"
14 #include "chrome/browser/ui/tabs/tab_strip_model.h" 15 #include "chrome/browser/ui/tabs/tab_strip_model.h"
15 #include "chrome/browser/ui/webui/constrained_web_dialog_ui.h" 16 #include "chrome/browser/ui/webui/constrained_web_dialog_ui.h"
16 #include "chrome/common/url_constants.h" 17 #include "chrome/common/url_constants.h"
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 dialog_delegate))); 267 dialog_delegate)));
267 268
268 // Resize <body> to dimension larger than dialog. 269 // Resize <body> to dimension larger than dialog.
269 EXPECT_TRUE(ExecuteScript(dialog_delegate->GetWebContents(), 270 EXPECT_TRUE(ExecuteScript(dialog_delegate->GetWebContents(),
270 GetChangeDimensionsScript(500))); 271 GetChangeDimensionsScript(500)));
271 ASSERT_TRUE(RunLoopUntil(base::Bind( 272 ASSERT_TRUE(RunLoopUntil(base::Bind(
272 &IsEqualSizes, 273 &IsEqualSizes,
273 initial_dialog_size, 274 initial_dialog_size,
274 dialog_delegate))); 275 dialog_delegate)));
275 } 276 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698