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

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

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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/browser_window_controller.h" 5 #import "chrome/browser/ui/cocoa/browser_window_controller.h"
6 6
7 #include <Carbon/Carbon.h> 7 #include <Carbon/Carbon.h>
8 8
9 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
10 #include "app/l10n_util_mac.h" 10 #include "app/l10n_util_mac.h"
11 #include "base/mac_util.h" 11 #include "base/mac_util.h"
12 #include "app/mac/scoped_nsdisable_screen_updates.h" 12 #include "app/mac/scoped_nsdisable_screen_updates.h"
13 #include "base/nsimage_cache_mac.h" 13 #include "base/nsimage_cache_mac.h"
14 #import "base/scoped_nsobject.h" 14 #import "base/scoped_nsobject.h"
15 #include "base/sys_string_conversions.h" 15 #include "base/sys_string_conversions.h"
16 #include "chrome/app/chrome_command_ids.h" // IDC_* 16 #include "chrome/app/chrome_command_ids.h" // IDC_*
17 #include "chrome/browser/bookmarks/bookmark_editor.h" 17 #include "chrome/browser/bookmarks/bookmark_editor.h"
18 #include "chrome/browser/google/google_util.h" 18 #include "chrome/browser/google/google_util.h"
19 #include "chrome/browser/profile.h" 19 #include "chrome/browser/profiles/profile.h"
20 #include "chrome/browser/renderer_host/render_widget_host_view.h" 20 #include "chrome/browser/renderer_host/render_widget_host_view.h"
21 #include "chrome/browser/sync/profile_sync_service.h" 21 #include "chrome/browser/sync/profile_sync_service.h"
22 #include "chrome/browser/sync/sync_ui_util_mac.h" 22 #include "chrome/browser/sync/sync_ui_util_mac.h"
23 #include "chrome/browser/tab_contents/tab_contents.h" 23 #include "chrome/browser/tab_contents/tab_contents.h"
24 #include "chrome/browser/tab_contents/tab_contents_view_mac.h" 24 #include "chrome/browser/tab_contents/tab_contents_view_mac.h"
25 #include "chrome/browser/tabs/tab_strip_model.h" 25 #include "chrome/browser/tabs/tab_strip_model.h"
26 #include "chrome/browser/themes/browser_theme_provider.h" 26 #include "chrome/browser/themes/browser_theme_provider.h"
27 #include "chrome/browser/ui/browser.h" 27 #include "chrome/browser/ui/browser.h"
28 #include "chrome/browser/ui/browser_list.h" 28 #include "chrome/browser/ui/browser_list.h"
29 #import "chrome/browser/ui/cocoa/background_gradient_view.h" 29 #import "chrome/browser/ui/cocoa/background_gradient_view.h"
(...skipping 2020 matching lines...) Expand 10 before | Expand all | Expand 10 after
2050 2050
2051 - (BOOL)supportsBookmarkBar { 2051 - (BOOL)supportsBookmarkBar {
2052 return [self supportsWindowFeature:Browser::FEATURE_BOOKMARKBAR]; 2052 return [self supportsWindowFeature:Browser::FEATURE_BOOKMARKBAR];
2053 } 2053 }
2054 2054
2055 - (BOOL)isNormalWindow { 2055 - (BOOL)isNormalWindow {
2056 return browser_->type() == Browser::TYPE_NORMAL; 2056 return browser_->type() == Browser::TYPE_NORMAL;
2057 } 2057 }
2058 2058
2059 @end // @implementation BrowserWindowController(WindowType) 2059 @end // @implementation BrowserWindowController(WindowType)
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_cocoa.mm ('k') | chrome/browser/ui/cocoa/browser_window_controller_private.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698