| 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 #ifndef CHROME_BROWSER_UI_COCOA_FIND_BAR_FIND_BAR_BRIDGE_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_FIND_BAR_FIND_BAR_BRIDGE_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_FIND_BAR_FIND_BAR_BRIDGE_H_ | 6 #define CHROME_BROWSER_UI_COCOA_FIND_BAR_FIND_BAR_BRIDGE_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/macros.h" |
| 10 #include "chrome/browser/ui/find_bar/find_bar.h" | 11 #include "chrome/browser/ui/find_bar/find_bar.h" |
| 11 | 12 |
| 12 class Browser; | 13 class Browser; |
| 13 class FindBarController; | 14 class FindBarController; |
| 14 | 15 |
| 15 // This class is included by find_bar_host_browsertest.cc, so it has to be | 16 // This class is included by find_bar_host_browsertest.cc, so it has to be |
| 16 // objc-free. | 17 // objc-free. |
| 17 #ifdef __OBJC__ | 18 #ifdef __OBJC__ |
| 18 @class FindBarCocoaController; | 19 @class FindBarCocoaController; |
| 19 #else | 20 #else |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 // never nil. | 85 // never nil. |
| 85 FindBarCocoaController* cocoa_controller_; | 86 FindBarCocoaController* cocoa_controller_; |
| 86 | 87 |
| 87 // Pointer back to the owning controller. | 88 // Pointer back to the owning controller. |
| 88 FindBarController* find_bar_controller_; // weak, owns us | 89 FindBarController* find_bar_controller_; // weak, owns us |
| 89 | 90 |
| 90 DISALLOW_COPY_AND_ASSIGN(FindBarBridge); | 91 DISALLOW_COPY_AND_ASSIGN(FindBarBridge); |
| 91 }; | 92 }; |
| 92 | 93 |
| 93 #endif // CHROME_BROWSER_UI_COCOA_FIND_BAR_FIND_BAR_BRIDGE_H_ | 94 #endif // CHROME_BROWSER_UI_COCOA_FIND_BAR_FIND_BAR_BRIDGE_H_ |
| OLD | NEW |