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

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

Issue 865163003: bookmarks: Move BookmarkNode into 'bookmarks' namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enhanced_bookmarks fix Created 5 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
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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 #include "content/public/browser/render_view_host.h" 92 #include "content/public/browser/render_view_host.h"
93 #include "content/public/browser/render_widget_host_view.h" 93 #include "content/public/browser/render_widget_host_view.h"
94 #include "content/public/browser/web_contents.h" 94 #include "content/public/browser/web_contents.h"
95 #import "ui/base/cocoa/cocoa_base_utils.h" 95 #import "ui/base/cocoa/cocoa_base_utils.h"
96 #import "ui/base/cocoa/nsview_additions.h" 96 #import "ui/base/cocoa/nsview_additions.h"
97 #include "ui/base/l10n/l10n_util.h" 97 #include "ui/base/l10n/l10n_util.h"
98 #include "ui/base/l10n/l10n_util_mac.h" 98 #include "ui/base/l10n/l10n_util_mac.h"
99 #include "ui/gfx/mac/scoped_ns_disable_screen_updates.h" 99 #include "ui/gfx/mac/scoped_ns_disable_screen_updates.h"
100 100
101 using bookmarks::BookmarkModel; 101 using bookmarks::BookmarkModel;
102 using bookmarks::BookmarkNode;
102 using l10n_util::GetStringUTF16; 103 using l10n_util::GetStringUTF16;
103 using l10n_util::GetNSStringWithFixup; 104 using l10n_util::GetNSStringWithFixup;
104 using l10n_util::GetNSStringFWithFixup; 105 using l10n_util::GetNSStringFWithFixup;
105 106
106 // ORGANIZATION: This is a big file. It is (in principle) organized as follows 107 // ORGANIZATION: This is a big file. It is (in principle) organized as follows
107 // (in order): 108 // (in order):
108 // 1. Interfaces. Very short, one-time-use classes may include an implementation 109 // 1. Interfaces. Very short, one-time-use classes may include an implementation
109 // immediately after their interface. 110 // immediately after their interface.
110 // 2. The general implementation section, ordered as follows: 111 // 2. The general implementation section, ordered as follows:
111 // i. Public methods and overrides. 112 // i. Public methods and overrides.
(...skipping 2122 matching lines...) Expand 10 before | Expand all | Expand 10 after
2234 2235
2235 - (BOOL)supportsBookmarkBar { 2236 - (BOOL)supportsBookmarkBar {
2236 return [self supportsWindowFeature:Browser::FEATURE_BOOKMARKBAR]; 2237 return [self supportsWindowFeature:Browser::FEATURE_BOOKMARKBAR];
2237 } 2238 }
2238 2239
2239 - (BOOL)isTabbedWindow { 2240 - (BOOL)isTabbedWindow {
2240 return browser_->is_type_tabbed(); 2241 return browser_->is_type_tabbed();
2241 } 2242 }
2242 2243
2243 @end // @implementation BrowserWindowController(WindowType) 2244 @end // @implementation BrowserWindowController(WindowType)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698