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

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

Issue 6814029: Revert 80519 - Move favicon from TabContents to TabContentsWrapper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 8 months 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/ui/cocoa/location_bar/location_bar_view_mac.h" 5 #import "chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h"
6 6
7 #include "base/stl_util-inl.h" 7 #include "base/stl_util-inl.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "base/sys_string_conversions.h" 9 #include "base/sys_string_conversions.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 281
282 string16 LocationBarViewMac::GetTitle() const { 282 string16 LocationBarViewMac::GetTitle() const {
283 NOTIMPLEMENTED(); 283 NOTIMPLEMENTED();
284 return string16(); 284 return string16();
285 } 285 }
286 286
287 InstantController* LocationBarViewMac::GetInstant() { 287 InstantController* LocationBarViewMac::GetInstant() {
288 return browser_->instant(); 288 return browser_->instant();
289 } 289 }
290 290
291 TabContentsWrapper* LocationBarViewMac::GetTabContentsWrapper() const { 291 TabContentsWrapper* LocationBarViewMac::GetTabContentsWrapper() {
292 return browser_->GetSelectedTabContentsWrapper(); 292 return browser_->GetSelectedTabContentsWrapper();
293 } 293 }
294 294
295 void LocationBarViewMac::Revert() { 295 void LocationBarViewMac::Revert() {
296 edit_view_->RevertAll(); 296 edit_view_->RevertAll();
297 } 297 }
298 298
299 const AutocompleteEditView* LocationBarViewMac::location_entry() const { 299 const AutocompleteEditView* LocationBarViewMac::location_entry() const {
300 return edit_view_.get(); 300 return edit_view_.get();
301 } 301 }
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
623 623
624 // These need to change anytime the layout changes. 624 // These need to change anytime the layout changes.
625 // TODO(shess): Anytime the field editor might have changed, the 625 // TODO(shess): Anytime the field editor might have changed, the
626 // cursor rects almost certainly should have changed. The tooltips 626 // cursor rects almost certainly should have changed. The tooltips
627 // might change even when the rects don't change. 627 // might change even when the rects don't change.
628 [field_ resetFieldEditorFrameIfNeeded]; 628 [field_ resetFieldEditorFrameIfNeeded];
629 [field_ updateCursorAndToolTipRects]; 629 [field_ updateCursorAndToolTipRects];
630 630
631 [field_ setNeedsDisplay:YES]; 631 [field_ setNeedsDisplay:YES];
632 } 632 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h ('k') | chrome/browser/ui/cocoa/tabpose_window.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698