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

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

Issue 160083003: Split cocoa_event_utils in two parts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: still works? Created 6 years, 10 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 #include "chrome/common/profile_management_switches.h" 74 #include "chrome/common/profile_management_switches.h"
75 #include "chrome/common/url_constants.h" 75 #include "chrome/common/url_constants.h"
76 #include "components/web_modal/web_contents_modal_dialog_manager.h" 76 #include "components/web_modal/web_contents_modal_dialog_manager.h"
77 #include "content/public/browser/render_view_host.h" 77 #include "content/public/browser/render_view_host.h"
78 #include "content/public/browser/render_widget_host_view.h" 78 #include "content/public/browser/render_widget_host_view.h"
79 #include "content/public/browser/web_contents.h" 79 #include "content/public/browser/web_contents.h"
80 #include "content/public/browser/web_contents_view.h" 80 #include "content/public/browser/web_contents_view.h"
81 #include "grit/chromium_strings.h" 81 #include "grit/chromium_strings.h"
82 #include "grit/generated_resources.h" 82 #include "grit/generated_resources.h"
83 #include "grit/locale_settings.h" 83 #include "grit/locale_settings.h"
84 #import "ui/base/cocoa/cocoa_event_utils.h" 84 #import "ui/base/cocoa/cocoa_base_utils.h"
85 #include "ui/base/l10n/l10n_util.h" 85 #include "ui/base/l10n/l10n_util.h"
86 #include "ui/base/l10n/l10n_util_mac.h" 86 #include "ui/base/l10n/l10n_util_mac.h"
87 #include "ui/gfx/mac/scoped_ns_disable_screen_updates.h" 87 #include "ui/gfx/mac/scoped_ns_disable_screen_updates.h"
88 88
89 using l10n_util::GetStringUTF16; 89 using l10n_util::GetStringUTF16;
90 using l10n_util::GetNSStringWithFixup; 90 using l10n_util::GetNSStringWithFixup;
91 using l10n_util::GetNSStringFWithFixup; 91 using l10n_util::GetNSStringFWithFixup;
92 92
93 // ORGANIZATION: This is a big file. It is (in principle) organized as follows 93 // ORGANIZATION: This is a big file. It is (in principle) organized as follows
94 // (in order): 94 // (in order):
(...skipping 2094 matching lines...) Expand 10 before | Expand all | Expand 10 after
2189 2189
2190 - (BOOL)supportsBookmarkBar { 2190 - (BOOL)supportsBookmarkBar {
2191 return [self supportsWindowFeature:Browser::FEATURE_BOOKMARKBAR]; 2191 return [self supportsWindowFeature:Browser::FEATURE_BOOKMARKBAR];
2192 } 2192 }
2193 2193
2194 - (BOOL)isTabbedWindow { 2194 - (BOOL)isTabbedWindow {
2195 return browser_->is_type_tabbed(); 2195 return browser_->is_type_tabbed();
2196 } 2196 }
2197 2197
2198 @end // @implementation BrowserWindowController(WindowType) 2198 @end // @implementation BrowserWindowController(WindowType)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698