| OLD | NEW |
| 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 "chrome/browser/ui/views/toolbar_view.h" | 5 #include "chrome/browser/ui/views/toolbar_view.h" |
| 6 | 6 |
| 7 #include "chrome/app/chrome_command_ids.h" | 7 #include "chrome/app/chrome_command_ids.h" |
| 8 #include "chrome/browser/ui/browser.h" | 8 #include "chrome/browser/ui/browser.h" |
| 9 #include "chrome/browser/ui/browser_window.h" | 9 #include "chrome/browser/ui/browser_window.h" |
| 10 #include "chrome/browser/ui/browser_command_controller.h" | 10 #include "chrome/browser/ui/browser_command_controller.h" |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 // Assert that the views were focused in exactly the reverse order. | 76 // Assert that the views were focused in exactly the reverse order. |
| 77 // The sequences should be the same length, and the last element will | 77 // The sequences should be the same length, and the last element will |
| 78 // be the same, and the others are reverse. | 78 // be the same, and the others are reverse. |
| 79 ASSERT_EQ(ids.size(), reverse_ids.size()); | 79 ASSERT_EQ(ids.size(), reverse_ids.size()); |
| 80 size_t count = ids.size(); | 80 size_t count = ids.size(); |
| 81 for (size_t i = 0; i < count - 1; i++) | 81 for (size_t i = 0; i < count - 1; i++) |
| 82 EXPECT_EQ(ids[i], reverse_ids[count - 2 - i]); | 82 EXPECT_EQ(ids[i], reverse_ids[count - 2 - i]); |
| 83 } | 83 } |
| 84 | 84 |
| 85 } // namespace | 85 } // namespace |
| OLD | NEW |