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

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

Issue 4710001: Split out command IDs from chrome_dll_resource.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/location_bar_view_mac.h" 5 #import "chrome/browser/cocoa/location_bar/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/nsimage_cache_mac.h" 9 #include "base/nsimage_cache_mac.h"
10 #include "base/stl_util-inl.h" 10 #include "base/stl_util-inl.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "base/sys_string_conversions.h" 12 #include "base/sys_string_conversions.h"
13 #include "base/utf_string_conversions.h" 13 #include "base/utf_string_conversions.h"
14 #include "chrome/app/chrome_dll_resource.h" 14 #include "chrome/app/chrome_command_ids.h"
15 #include "chrome/browser/alternate_nav_url_fetcher.h" 15 #include "chrome/browser/alternate_nav_url_fetcher.h"
16 #import "chrome/browser/app_controller_mac.h" 16 #import "chrome/browser/app_controller_mac.h"
17 #import "chrome/browser/autocomplete/autocomplete_edit_view_mac.h" 17 #import "chrome/browser/autocomplete/autocomplete_edit_view_mac.h"
18 #import "chrome/browser/autocomplete/autocomplete_popup_model.h" 18 #import "chrome/browser/autocomplete/autocomplete_popup_model.h"
19 #include "chrome/browser/browser_list.h" 19 #include "chrome/browser/browser_list.h"
20 #import "chrome/browser/cocoa/content_setting_bubble_cocoa.h" 20 #import "chrome/browser/cocoa/content_setting_bubble_cocoa.h"
21 #include "chrome/browser/cocoa/event_utils.h" 21 #include "chrome/browser/cocoa/event_utils.h"
22 #import "chrome/browser/cocoa/extensions/extension_action_context_menu.h" 22 #import "chrome/browser/cocoa/extensions/extension_action_context_menu.h"
23 #import "chrome/browser/cocoa/extensions/extension_popup_controller.h" 23 #import "chrome/browser/cocoa/extensions/extension_popup_controller.h"
24 #import "chrome/browser/cocoa/first_run_bubble_controller.h" 24 #import "chrome/browser/cocoa/first_run_bubble_controller.h"
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 675
676 // These need to change anytime the layout changes. 676 // These need to change anytime the layout changes.
677 // TODO(shess): Anytime the field editor might have changed, the 677 // TODO(shess): Anytime the field editor might have changed, the
678 // cursor rects almost certainly should have changed. The tooltips 678 // cursor rects almost certainly should have changed. The tooltips
679 // might change even when the rects don't change. 679 // might change even when the rects don't change.
680 [field_ resetFieldEditorFrameIfNeeded]; 680 [field_ resetFieldEditorFrameIfNeeded];
681 [field_ updateCursorAndToolTipRects]; 681 [field_ updateCursorAndToolTipRects];
682 682
683 [field_ setNeedsDisplay:YES]; 683 [field_ setNeedsDisplay:YES];
684 } 684 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698