| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "chrome/browser/cocoa/location_bar_view_mac.h" | 5 #import "chrome/browser/cocoa/location_bar_view_mac.h" |
| 6 | 6 |
| 7 #include "base/string_util.h" | 7 #include "base/string_util.h" |
| 8 #include "chrome/app/chrome_dll_resource.h" | 8 #include "chrome/app/chrome_dll_resource.h" |
| 9 #include "chrome/browser/alternate_nav_url_fetcher.h" | 9 #include "chrome/browser/alternate_nav_url_fetcher.h" |
| 10 #import "chrome/browser/app_controller_mac.h" | 10 #import "chrome/browser/app_controller_mac.h" |
| 11 #import "chrome/browser/autocomplete/autocomplete_edit_view_mac.h" | 11 #import "chrome/browser/autocomplete/autocomplete_edit_view_mac.h" |
| 12 #include "chrome/browser/command_updater.h" | 12 #include "chrome/browser/command_updater.h" |
| 13 #include "skia/include/SkBitmap.h" | 13 #include "third_party/skia/include/core/SkBitmap.h" |
| 14 | 14 |
| 15 // TODO(shess): This code is mostly copied from the gtk | 15 // TODO(shess): This code is mostly copied from the gtk |
| 16 // implementation. Make sure it's all appropriate and flesh it out. | 16 // implementation. Make sure it's all appropriate and flesh it out. |
| 17 | 17 |
| 18 LocationBarViewMac::LocationBarViewMac(NSTextField* field, | 18 LocationBarViewMac::LocationBarViewMac(NSTextField* field, |
| 19 CommandUpdater* command_updater, | 19 CommandUpdater* command_updater, |
| 20 ToolbarModel* toolbar_model, | 20 ToolbarModel* toolbar_model, |
| 21 Profile* profile) | 21 Profile* profile) |
| 22 : edit_view_(new AutocompleteEditViewMac(this, toolbar_model, profile, | 22 : edit_view_(new AutocompleteEditViewMac(this, toolbar_model, profile, |
| 23 command_updater, field)), | 23 command_updater, field)), |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 } | 105 } |
| 106 | 106 |
| 107 std::wstring LocationBarViewMac::GetTitle() const { | 107 std::wstring LocationBarViewMac::GetTitle() const { |
| 108 NOTIMPLEMENTED(); | 108 NOTIMPLEMENTED(); |
| 109 return std::wstring(); | 109 return std::wstring(); |
| 110 } | 110 } |
| 111 | 111 |
| 112 void LocationBarViewMac::Revert() { | 112 void LocationBarViewMac::Revert() { |
| 113 NOTIMPLEMENTED(); | 113 NOTIMPLEMENTED(); |
| 114 } | 114 } |
| OLD | NEW |