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

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

Issue 6122006: Cleanup: Remove unneeded includes of pref_names.h (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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) 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/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 "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/stl_util-inl.h" 9 #include "base/stl_util-inl.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
(...skipping 30 matching lines...) Expand all
41 #import "chrome/browser/ui/cocoa/location_bar/keyword_hint_decoration.h" 41 #import "chrome/browser/ui/cocoa/location_bar/keyword_hint_decoration.h"
42 #import "chrome/browser/ui/cocoa/location_bar/location_icon_decoration.h" 42 #import "chrome/browser/ui/cocoa/location_bar/location_icon_decoration.h"
43 #import "chrome/browser/ui/cocoa/location_bar/page_action_decoration.h" 43 #import "chrome/browser/ui/cocoa/location_bar/page_action_decoration.h"
44 #import "chrome/browser/ui/cocoa/location_bar/selected_keyword_decoration.h" 44 #import "chrome/browser/ui/cocoa/location_bar/selected_keyword_decoration.h"
45 #import "chrome/browser/ui/cocoa/location_bar/star_decoration.h" 45 #import "chrome/browser/ui/cocoa/location_bar/star_decoration.h"
46 #include "chrome/browser/ui/omnibox/location_bar_util.h" 46 #include "chrome/browser/ui/omnibox/location_bar_util.h"
47 #include "chrome/common/extensions/extension.h" 47 #include "chrome/common/extensions/extension.h"
48 #include "chrome/common/extensions/extension_action.h" 48 #include "chrome/common/extensions/extension_action.h"
49 #include "chrome/common/extensions/extension_resource.h" 49 #include "chrome/common/extensions/extension_resource.h"
50 #include "chrome/common/notification_service.h" 50 #include "chrome/common/notification_service.h"
51 #include "chrome/common/pref_names.h"
52 #include "net/base/net_util.h" 51 #include "net/base/net_util.h"
53 #include "grit/generated_resources.h" 52 #include "grit/generated_resources.h"
54 #include "grit/theme_resources.h" 53 #include "grit/theme_resources.h"
55 #include "skia/ext/skia_utils_mac.h" 54 #include "skia/ext/skia_utils_mac.h"
56 #include "third_party/skia/include/core/SkBitmap.h" 55 #include "third_party/skia/include/core/SkBitmap.h"
57 56
58 namespace { 57 namespace {
59 58
60 // Vertical space between the bottom edge of the location_bar and the first run 59 // Vertical space between the bottom edge of the location_bar and the first run
61 // bubble arrow point. 60 // bubble arrow point.
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 686
688 // These need to change anytime the layout changes. 687 // These need to change anytime the layout changes.
689 // TODO(shess): Anytime the field editor might have changed, the 688 // TODO(shess): Anytime the field editor might have changed, the
690 // cursor rects almost certainly should have changed. The tooltips 689 // cursor rects almost certainly should have changed. The tooltips
691 // might change even when the rects don't change. 690 // might change even when the rects don't change.
692 [field_ resetFieldEditorFrameIfNeeded]; 691 [field_ resetFieldEditorFrameIfNeeded];
693 [field_ updateCursorAndToolTipRects]; 692 [field_ updateCursorAndToolTipRects];
694 693
695 [field_ setNeedsDisplay:YES]; 694 [field_ setNeedsDisplay:YES];
696 } 695 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_unittest.mm ('k') | chrome/browser/ui/tabs/tab_menu_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698