| 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 #import <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> | 
| 6 | 6 | 
| 7 #import "base/mac/scoped_nsobject.h" | 7 #import "base/mac/scoped_nsobject.h" | 
| 8 #include "base/macros.h" | 8 #include "base/macros.h" | 
| 9 #include "base/run_loop.h" | 9 #include "base/run_loop.h" | 
| 10 #include "chrome/app/chrome_command_ids.h" | 10 #include "chrome/app/chrome_command_ids.h" | 
| 11 #include "chrome/browser/command_updater.h" | 11 #include "chrome/browser/command_updater.h" | 
| 12 #include "chrome/browser/ui/browser.h" | 12 #include "chrome/browser/ui/browser.h" | 
| 13 #include "chrome/browser/ui/browser_command_controller.h" | 13 #include "chrome/browser/ui/browser_command_controller.h" | 
| 14 #include "chrome/browser/ui/browser_commands.h" | 14 #include "chrome/browser/ui/browser_commands.h" | 
| 15 #include "chrome/browser/ui/browser_list.h" | 15 #include "chrome/browser/ui/browser_list.h" | 
| 16 #include "chrome/browser/ui/browser_list_observer.h" | 16 #include "chrome/browser/ui/browser_list_observer.h" | 
| 17 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h" |  | 
| 18 #import "chrome/browser/ui/cocoa/image_button_cell.h" | 17 #import "chrome/browser/ui/cocoa/image_button_cell.h" | 
| 19 #import "chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h" | 18 #import "chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h" | 
| 20 #import "chrome/browser/ui/cocoa/location_bar/translate_decoration.h" | 19 #import "chrome/browser/ui/cocoa/location_bar/translate_decoration.h" | 
|  | 20 #include "chrome/browser/ui/cocoa/test/cocoa_profile_test.h" | 
| 21 #import "chrome/browser/ui/cocoa/toolbar/toolbar_controller.h" | 21 #import "chrome/browser/ui/cocoa/toolbar/toolbar_controller.h" | 
| 22 #import "chrome/browser/ui/cocoa/view_resizer_pong.h" | 22 #import "chrome/browser/ui/cocoa/view_resizer_pong.h" | 
| 23 #include "chrome/common/pref_names.h" | 23 #include "chrome/common/pref_names.h" | 
| 24 #include "chrome/test/base/testing_profile.h" | 24 #include "chrome/test/base/testing_profile.h" | 
| 25 #include "components/prefs/pref_service.h" | 25 #include "components/prefs/pref_service.h" | 
| 26 #include "testing/gtest/include/gtest/gtest.h" | 26 #include "testing/gtest/include/gtest/gtest.h" | 
| 27 #import "testing/gtest_mac.h" | 27 #import "testing/gtest_mac.h" | 
| 28 #include "testing/platform_test.h" | 28 #include "testing/platform_test.h" | 
| 29 | 29 | 
| 30 // An NSView that fakes out hitTest:. | 30 // An NSView that fakes out hitTest:. | 
| (...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 398   void WaitUntilBrowserRemoved() { run_loop_.Run(); } | 398   void WaitUntilBrowserRemoved() { run_loop_.Run(); } | 
| 399   void OnBrowserRemoved(Browser* browser) override { run_loop_.Quit(); } | 399   void OnBrowserRemoved(Browser* browser) override { run_loop_.Quit(); } | 
| 400 | 400 | 
| 401  private: | 401  private: | 
| 402   base::RunLoop run_loop_; | 402   base::RunLoop run_loop_; | 
| 403 | 403 | 
| 404   DISALLOW_COPY_AND_ASSIGN(BrowserRemovedObserver); | 404   DISALLOW_COPY_AND_ASSIGN(BrowserRemovedObserver); | 
| 405 }; | 405 }; | 
| 406 | 406 | 
| 407 }  // namespace | 407 }  // namespace | 
| OLD | NEW | 
|---|