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

Side by Side Diff: chrome/browser/ui/views/frame/native_browser_frame_factory_auralinux.cc

Issue 796433003: MacViews: Don't draw custom frame on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@keybinding3
Patch Set: Created 5 years, 11 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "chrome/browser/ui/views/frame/native_browser_frame_factory.h" 5 #include "chrome/browser/ui/views/frame/native_browser_frame_factory.h"
6 6
7 #include "chrome/browser/ui/views/frame/browser_frame_ash.h" 7 #include "chrome/browser/ui/views/frame/browser_frame_ash.h"
8 #include "chrome/browser/ui/views/frame/desktop_browser_frame_aura.h" 8 #include "chrome/browser/ui/views/frame/desktop_browser_frame_auralinux.h"
9 9
10 NativeBrowserFrame* NativeBrowserFrameFactory::Create( 10 NativeBrowserFrame* NativeBrowserFrameFactory::Create(
11 BrowserFrame* browser_frame, 11 BrowserFrame* browser_frame,
12 BrowserView* browser_view) { 12 BrowserView* browser_view) {
13 if (ShouldCreateForAshDesktop(browser_view)) 13 if (ShouldCreateForAshDesktop(browser_view))
14 return new BrowserFrameAsh(browser_frame, browser_view); 14 return new BrowserFrameAsh(browser_frame, browser_view);
15 15
16 return new DesktopBrowserFrameAura(browser_frame, browser_view); 16 return new DesktopBrowserFrameAuraLinux(browser_frame, browser_view);
17 } 17 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/native_browser_frame.h ('k') | chrome/browser/ui/views/frame/opaque_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698