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

Side by Side Diff: chrome/browser/ui/cocoa/browser_window_controller.mm

Issue 468233004: Cleanup: Another round of removing unneeded grit #includes in chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac, undo ui_localizer.mm Created 6 years, 4 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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/browser_window_controller.h" 5 #import "chrome/browser/ui/cocoa/browser_window_controller.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 #include <numeric> 8 #include <numeric>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 #include "chrome/common/url_constants.h" 82 #include "chrome/common/url_constants.h"
83 #include "components/bookmarks/browser/bookmark_model.h" 83 #include "components/bookmarks/browser/bookmark_model.h"
84 #include "components/signin/core/common/profile_management_switches.h" 84 #include "components/signin/core/common/profile_management_switches.h"
85 #include "components/translate/core/browser/translate_manager.h" 85 #include "components/translate/core/browser/translate_manager.h"
86 #include "components/translate/core/browser/translate_ui_delegate.h" 86 #include "components/translate/core/browser/translate_ui_delegate.h"
87 #include "components/web_modal/popup_manager.h" 87 #include "components/web_modal/popup_manager.h"
88 #include "components/web_modal/web_contents_modal_dialog_manager.h" 88 #include "components/web_modal/web_contents_modal_dialog_manager.h"
89 #include "content/public/browser/render_view_host.h" 89 #include "content/public/browser/render_view_host.h"
90 #include "content/public/browser/render_widget_host_view.h" 90 #include "content/public/browser/render_widget_host_view.h"
91 #include "content/public/browser/web_contents.h" 91 #include "content/public/browser/web_contents.h"
92 #include "grit/chromium_strings.h"
93 #include "grit/generated_resources.h" 92 #include "grit/generated_resources.h"
94 #include "grit/locale_settings.h" 93 #include "grit/locale_settings.h"
95 #import "ui/base/cocoa/cocoa_base_utils.h" 94 #import "ui/base/cocoa/cocoa_base_utils.h"
96 #include "ui/base/l10n/l10n_util.h" 95 #include "ui/base/l10n/l10n_util.h"
97 #include "ui/base/l10n/l10n_util_mac.h" 96 #include "ui/base/l10n/l10n_util_mac.h"
98 #include "ui/gfx/mac/scoped_ns_disable_screen_updates.h" 97 #include "ui/gfx/mac/scoped_ns_disable_screen_updates.h"
99 98
100 using l10n_util::GetStringUTF16; 99 using l10n_util::GetStringUTF16;
101 using l10n_util::GetNSStringWithFixup; 100 using l10n_util::GetNSStringWithFixup;
102 using l10n_util::GetNSStringFWithFixup; 101 using l10n_util::GetNSStringFWithFixup;
(...skipping 2193 matching lines...) Expand 10 before | Expand all | Expand 10 after
2296 2295
2297 - (BOOL)supportsBookmarkBar { 2296 - (BOOL)supportsBookmarkBar {
2298 return [self supportsWindowFeature:Browser::FEATURE_BOOKMARKBAR]; 2297 return [self supportsWindowFeature:Browser::FEATURE_BOOKMARKBAR];
2299 } 2298 }
2300 2299
2301 - (BOOL)isTabbedWindow { 2300 - (BOOL)isTabbedWindow {
2302 return browser_->is_type_tabbed(); 2301 return browser_->is_type_tabbed();
2303 } 2302 }
2304 2303
2305 @end // @implementation BrowserWindowController(WindowType) 2304 @end // @implementation BrowserWindowController(WindowType)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698