| 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 #include "chrome/browser/gtk/location_bar_view_gtk.h" | 5 #include "chrome/browser/gtk/location_bar_view_gtk.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/gfx/gtk_util.h" | 10 #include "base/gfx/gtk_util.h" |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 void LocationBarViewGtk::FocusLocation() { | 158 void LocationBarViewGtk::FocusLocation() { |
| 159 location_entry_->SetFocus(); | 159 location_entry_->SetFocus(); |
| 160 location_entry_->SelectAll(true); | 160 location_entry_->SelectAll(true); |
| 161 } | 161 } |
| 162 | 162 |
| 163 void LocationBarViewGtk::FocusSearch() { | 163 void LocationBarViewGtk::FocusSearch() { |
| 164 location_entry_->SetUserText(L"?"); | 164 location_entry_->SetUserText(L"?"); |
| 165 location_entry_->SetFocus(); | 165 location_entry_->SetFocus(); |
| 166 } | 166 } |
| 167 | 167 |
| 168 void LocationBarViewGtk::UpdateFeedIcon() { |
| 169 NOTIMPLEMENTED(); |
| 170 } |
| 171 |
| 168 void LocationBarViewGtk::SaveStateToContents(TabContents* contents) { | 172 void LocationBarViewGtk::SaveStateToContents(TabContents* contents) { |
| 169 NOTIMPLEMENTED(); | 173 NOTIMPLEMENTED(); |
| 170 } | 174 } |
| OLD | NEW |