OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/command_line.h" | 5 #include "base/command_line.h" |
6 #include "base/json/json_reader.h" | 6 #include "base/json/json_reader.h" |
7 #include "base/json/json_writer.h" | 7 #include "base/json/json_writer.h" |
8 #include "base/test/test_timeouts.h" | 8 #include "base/test/test_timeouts.h" |
9 #include "base/values.h" | 9 #include "base/values.h" |
10 #include "chrome/browser/automation/extension_automation_constants.h" | 10 #include "chrome/browser/automation/extension_automation_constants.h" |
11 #include "chrome/browser/extensions/extension_tabs_module_constants.h" | 11 #include "chrome/browser/extensions/extension_tabs_module_constants.h" |
12 #include "chrome/common/automation_messages.h" | 12 #include "chrome/common/automation_messages.h" |
13 #include "chrome/common/chrome_switches.h" | 13 #include "chrome/common/chrome_switches.h" |
14 #include "chrome/common/extensions/extension.h" | 14 #include "chrome/common/extensions/extension.h" |
15 #include "chrome/test/automation/automation_proxy_uitest.h" | 15 #include "chrome/test/automation/automation_proxy_uitest.h" |
16 #include "chrome/test/automation/tab_proxy.h" | 16 #include "chrome/test/automation/tab_proxy.h" |
17 #include "chrome/test/ui/ui_test.h" | 17 #include "chrome/test/ui/ui_test.h" |
18 #include "chrome/test/ui_test_utils.h" | 18 #include "chrome/test/ui_test_utils.h" |
19 #include "gfx/rect.h" | |
20 #include "googleurl/src/gurl.h" | 19 #include "googleurl/src/gurl.h" |
21 #define GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING | 20 #define GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING |
22 #include "testing/gmock_mutant.h" | 21 #include "testing/gmock_mutant.h" |
| 22 #include "ui/gfx/rect.h" |
23 | 23 |
24 namespace { | 24 namespace { |
25 | 25 |
26 using testing::_; | 26 using testing::_; |
27 using testing::CreateFunctor; | 27 using testing::CreateFunctor; |
28 using testing::DoAll; | 28 using testing::DoAll; |
29 using testing::Invoke; | 29 using testing::Invoke; |
30 using testing::InvokeWithoutArgs; | 30 using testing::InvokeWithoutArgs; |
31 using testing::SaveArg; | 31 using testing::SaveArg; |
32 using testing::WithArgs; | 32 using testing::WithArgs; |
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
494 ASSERT_EQ(arraysize(events_), event_count_.size()); | 494 ASSERT_EQ(arraysize(events_), event_count_.size()); |
495 for (std::map<std::string, int>::iterator i = event_count_.begin(); | 495 for (std::map<std::string, int>::iterator i = event_count_.begin(); |
496 i != event_count_.end(); ++i) { | 496 i != event_count_.end(); ++i) { |
497 const std::pair<std::string, int>& value = *i; | 497 const std::pair<std::string, int>& value = *i; |
498 EXPECT_EQ(1, value.second); | 498 EXPECT_EQ(1, value.second); |
499 } | 499 } |
500 } | 500 } |
501 #endif // defined(OS_WIN) | 501 #endif // defined(OS_WIN) |
502 | 502 |
503 } // namespace | 503 } // namespace |
OLD | NEW |