OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/cocoa/find_bar_bridge.h" | 5 #include "chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h" |
6 | 6 |
7 #include "base/sys_string_conversions.h" | 7 #include "base/sys_string_conversions.h" |
8 #import "chrome/browser/ui/cocoa/find_bar_cocoa_controller.h" | 8 #import "chrome/browser/ui/cocoa/find_bar/find_bar_cocoa_controller.h" |
9 | 9 |
10 // static | 10 // static |
11 bool FindBarBridge::disable_animations_during_testing_ = false; | 11 bool FindBarBridge::disable_animations_during_testing_ = false; |
12 | 12 |
13 FindBarBridge::FindBarBridge() | 13 FindBarBridge::FindBarBridge() |
14 : find_bar_controller_(NULL) { | 14 : find_bar_controller_(NULL) { |
15 cocoa_controller_ = [[FindBarCocoaController alloc] init]; | 15 cocoa_controller_ = [[FindBarCocoaController alloc] init]; |
16 [cocoa_controller_ setFindBarBridge:this]; | 16 [cocoa_controller_ setFindBarBridge:this]; |
17 } | 17 } |
18 | 18 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 } | 105 } |
106 | 106 |
107 string16 FindBarBridge::GetMatchCountText() { | 107 string16 FindBarBridge::GetMatchCountText() { |
108 // This function is currently only used in Windows and Linux specific browser | 108 // This function is currently only used in Windows and Linux specific browser |
109 // tests (testing prepopulate values that Mac's don't rely on), but if we add | 109 // tests (testing prepopulate values that Mac's don't rely on), but if we add |
110 // more tests that are non-platform specific, we need to flesh out this | 110 // more tests that are non-platform specific, we need to flesh out this |
111 // function. | 111 // function. |
112 NOTIMPLEMENTED(); | 112 NOTIMPLEMENTED(); |
113 return string16(); | 113 return string16(); |
114 } | 114 } |
OLD | NEW |