Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Side by Side Diff: chrome/browser/cocoa/location_bar_view_mac.mm

Issue 329009: CompactNavigationBar for toolkit views build, with some design change per Cole's request. (Closed)
Patch Set: updates per review Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "app/l10n_util_mac.h" 7 #include "app/l10n_util_mac.h"
8 #include "app/resource_bundle.h" 8 #include "app/resource_bundle.h"
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "base/sys_string_conversions.h" 10 #include "base/sys_string_conversions.h"
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 edit_view_->model()->is_keyword_hint(), 258 edit_view_->model()->is_keyword_hint(),
259 edit_view_->model()->show_search_hint(), 259 edit_view_->model()->show_search_hint(),
260 GetTabButtonImage()); 260 GetTabButtonImage());
261 } 261 }
262 262
263 void LocationBarViewMac::OnInputInProgress(bool in_progress) { 263 void LocationBarViewMac::OnInputInProgress(bool in_progress) {
264 toolbar_model_->set_input_in_progress(in_progress); 264 toolbar_model_->set_input_in_progress(in_progress);
265 Update(NULL, false); 265 Update(NULL, false);
266 } 266 }
267 267
268 void LocationBarViewMac::OnKillFocus() {
269 }
270
268 void LocationBarViewMac::OnSetFocus() { 271 void LocationBarViewMac::OnSetFocus() {
269 } 272 }
270 273
271 SkBitmap LocationBarViewMac::GetFavIcon() const { 274 SkBitmap LocationBarViewMac::GetFavIcon() const {
272 NOTIMPLEMENTED(); 275 NOTIMPLEMENTED();
273 return SkBitmap(); 276 return SkBitmap();
274 } 277 }
275 278
276 std::wstring LocationBarViewMac::GetTitle() const { 279 std::wstring LocationBarViewMac::GetTitle() const {
277 NOTIMPLEMENTED(); 280 NOTIMPLEMENTED();
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 break; 336 break;
334 case ToolbarModel::NO_ICON: 337 case ToolbarModel::NO_ICON:
335 [cell setHintIcon:nil label:nil color:nil]; 338 [cell setHintIcon:nil label:nil color:nil];
336 break; 339 break;
337 default: 340 default:
338 NOTREACHED(); 341 NOTREACHED();
339 break; 342 break;
340 } 343 }
341 [field_ resetFieldEditorFrameIfNeeded]; 344 [field_ resetFieldEditorFrameIfNeeded];
342 } 345 }
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/location_bar_view_mac.h ('k') | chrome/browser/gtk/location_bar_view_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698