OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "content/browser/frame_host/interstitial_page_impl.h" | 5 #include "content/browser/frame_host/interstitial_page_impl.h" |
6 | 6 |
| 7 #include "base/macros.h" |
7 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
8 #include "base/synchronization/waitable_event.h" | 9 #include "base/synchronization/waitable_event.h" |
| 10 #include "build/build_config.h" |
9 #include "content/browser/web_contents/web_contents_impl.h" | 11 #include "content/browser/web_contents/web_contents_impl.h" |
10 #include "content/common/clipboard_messages.h" | 12 #include "content/common/clipboard_messages.h" |
11 #include "content/common/frame_messages.h" | 13 #include "content/common/frame_messages.h" |
12 #include "content/public/browser/browser_message_filter.h" | 14 #include "content/public/browser/browser_message_filter.h" |
13 #include "content/public/browser/interstitial_page_delegate.h" | 15 #include "content/public/browser/interstitial_page_delegate.h" |
14 #include "content/public/test/browser_test_utils.h" | 16 #include "content/public/test/browser_test_utils.h" |
15 #include "content/public/test/content_browser_test.h" | 17 #include "content/public/test/content_browser_test.h" |
16 #include "content/public/test/test_utils.h" | 18 #include "content/public/test/test_utils.h" |
17 #include "content/shell/browser/shell.h" | 19 #include "content/shell/browser/shell.h" |
18 #include "ipc/message_filter.h" | 20 #include "ipc/message_filter.h" |
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 EXPECT_EQ(std::string(), input_text); | 393 EXPECT_EQ(std::string(), input_text); |
392 | 394 |
393 PerformSelectAll(); | 395 PerformSelectAll(); |
394 ASSERT_TRUE(GetSelection(&input_text)); | 396 ASSERT_TRUE(GetSelection(&input_text)); |
395 EXPECT_EQ("original body text", input_text); | 397 EXPECT_EQ("original body text", input_text); |
396 | 398 |
397 TearDownInterstitialPage(); | 399 TearDownInterstitialPage(); |
398 } | 400 } |
399 | 401 |
400 } // namespace content | 402 } // namespace content |
OLD | NEW |