// The "titleBarStyle" option.
TitleBarStyle title_bar_style_;
- std::string tabbing_identifier_;
-
DISALLOW_COPY_AND_ASSIGN(NativeWindowMac);
};
options.Get(options::kTitleBarStyle, &title_bar_style_);
- options.Get(options::kTabbingIdentifier, &tabbing_identifier_);
+ std::string tabbingIdentifier;
+ options.Get(options::kTabbingIdentifier, &tabbingIdentifier);
std::string windowType;
options.Get(options::kType, &windowType);
// Create a tab only if tabbing identifier is specified and window has
// a native title bar.
- if (tabbing_identifier_.empty() || transparent() || !has_frame()) {
+ if (tabbingIdentifier.empty() || transparent() || !has_frame()) {
if ([window_ respondsToSelector:@selector(tabbingMode)]) {
[window_ setTabbingMode:NSWindowTabbingModeDisallowed];
}
} else {
if ([window_ respondsToSelector:@selector(tabbingIdentifier)]) {
- [window_ setTabbingIdentifier:base::SysUTF8ToNSString(tabbing_identifier_)];
+ [window_ setTabbingIdentifier:base::SysUTF8ToNSString(tabbingIdentifier)];
}
}