| 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 #include "base/auto_reset.h" | 7 #include "base/auto_reset.h" |
| 8 #include "base/mac/bundle_locations.h" | 8 #include "base/mac/bundle_locations.h" |
| 9 #include "base/mac/mac_util.h" | |
| 10 #include "base/strings/sys_string_conversions.h" | 9 #include "base/strings/sys_string_conversions.h" |
| 11 #include "chrome/browser/ui/browser_finder.h" | 10 #include "chrome/browser/ui/browser_finder.h" |
| 12 #include "chrome/browser/ui/browser_window.h" | 11 #include "chrome/browser/ui/browser_window.h" |
| 13 #include "chrome/browser/ui/cocoa/browser_window_controller.h" | 12 #include "chrome/browser/ui/cocoa/browser_window_controller.h" |
| 14 #import "chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h" | 13 #import "chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h" |
| 15 #import "chrome/browser/ui/cocoa/find_bar/find_bar_cocoa_controller.h" | 14 #import "chrome/browser/ui/cocoa/find_bar/find_bar_cocoa_controller.h" |
| 16 #import "chrome/browser/ui/cocoa/find_bar/find_bar_text_field.h" | 15 #import "chrome/browser/ui/cocoa/find_bar/find_bar_text_field.h" |
| 17 #import "chrome/browser/ui/cocoa/find_bar/find_bar_text_field_cell.h" | 16 #import "chrome/browser/ui/cocoa/find_bar/find_bar_text_field_cell.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/tabs/tab_strip_controller.h" | 18 #import "chrome/browser/ui/cocoa/tabs/tab_strip_controller.h" |
| (...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 616 } | 615 } |
| 617 | 616 |
| 618 - (BrowserWindowController*)browserWindowController { | 617 - (BrowserWindowController*)browserWindowController { |
| 619 if (!browser_) | 618 if (!browser_) |
| 620 return nil; | 619 return nil; |
| 621 return [BrowserWindowController | 620 return [BrowserWindowController |
| 622 browserWindowControllerForWindow:browser_->window()->GetNativeWindow()]; | 621 browserWindowControllerForWindow:browser_->window()->GetNativeWindow()]; |
| 623 } | 622 } |
| 624 | 623 |
| 625 @end | 624 @end |
| OLD | NEW |