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

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

Issue 12377065: Consolidate VIEW_ID_LOCATION_BAR into VIEW_ID_OMNIBOX. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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/autocomplete_text_field.h" 5 #import "chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #import "chrome/browser/ui/cocoa/browser_window_controller.h" 8 #import "chrome/browser/ui/cocoa/browser_window_controller.h"
9 #import "chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.h" 9 #import "chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.h"
10 #import "chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.h" 10 #import "chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.h"
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 - (BOOL)performDragOperation:(id<NSDraggingInfo>)sender { 401 - (BOOL)performDragOperation:(id<NSDraggingInfo>)sender {
402 return [dropHandler_ performDragOperation:sender]; 402 return [dropHandler_ performDragOperation:sender];
403 } 403 }
404 404
405 - (NSMenu*)decorationMenuForEvent:(NSEvent*)event { 405 - (NSMenu*)decorationMenuForEvent:(NSEvent*)event {
406 AutocompleteTextFieldCell* cell = [self cell]; 406 AutocompleteTextFieldCell* cell = [self cell];
407 return [cell decorationMenuForEvent:event inRect:[self bounds] ofView:self]; 407 return [cell decorationMenuForEvent:event inRect:[self bounds] ofView:self];
408 } 408 }
409 409
410 - (ViewID)viewID { 410 - (ViewID)viewID {
411 return VIEW_ID_LOCATION_BAR; 411 return VIEW_ID_OMNIBOX;
412 } 412 }
413 413
414 @end 414 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_focus_uitest.cc ('k') | chrome/browser/ui/cocoa/view_id_util_browsertest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698