| 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 "config.h" | |
| 6 #include "core/page/ChromeClient.h" | 5 #include "core/page/ChromeClient.h" |
| 7 | 6 |
| 8 #include "core/dom/Document.h" | 7 #include "core/dom/Document.h" |
| 9 #include "core/layout/HitTestResult.h" | 8 #include "core/layout/HitTestResult.h" |
| 10 #include "core/loader/EmptyClients.h" | 9 #include "core/loader/EmptyClients.h" |
| 11 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
| 12 | 11 |
| 13 namespace blink { | 12 namespace blink { |
| 14 | 13 |
| 15 namespace { | 14 namespace { |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 60 |
| 62 logger.clearToolTipForLastSetToolTip(); | 61 logger.clearToolTipForLastSetToolTip(); |
| 63 element->setAttribute(HTMLNames::titleAttr, "updated"); | 62 element->setAttribute(HTMLNames::titleAttr, "updated"); |
| 64 client->setToolTip(result); | 63 client->setToolTip(result); |
| 65 // setToolTip(String,TextDirection) should be called because tooltip string | 64 // setToolTip(String,TextDirection) should be called because tooltip string |
| 66 // is different from the last one. | 65 // is different from the last one. |
| 67 EXPECT_EQ("updated", logger.toolTipForLastSetToolTip()); | 66 EXPECT_EQ("updated", logger.toolTipForLastSetToolTip()); |
| 68 } | 67 } |
| 69 | 68 |
| 70 } // namespace blink | 69 } // namespace blink |
| OLD | NEW |