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

Unified Diff: chrome/browser/ui/views/apps/chrome_apps_client_views_mac.cc

Issue 935193003: [Mac] Use chrome_native_app_window_views when mac_views_browser is enabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update GN 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/apps/chrome_apps_client_views_mac.cc
diff --git a/chrome/browser/ui/views/apps/chrome_apps_client_views_win.cc b/chrome/browser/ui/views/apps/chrome_apps_client_views_mac.cc
similarity index 75%
copy from chrome/browser/ui/views/apps/chrome_apps_client_views_win.cc
copy to chrome/browser/ui/views/apps/chrome_apps_client_views_mac.cc
index 14ab7e7635a04701aaf5c1f032d372ac241a5d9a..c87fc4f94438ecf2e0246b4282620c3de826f470 100644
--- a/chrome/browser/ui/views/apps/chrome_apps_client_views_win.cc
+++ b/chrome/browser/ui/views/apps/chrome_apps_client_views_mac.cc
@@ -1,16 +1,16 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
+// Copyright 2015 The Chromium Authors. All rights reserved.
tapted 2015/02/27 00:04:11 I'd make this a .mm file. The chances of it having
jackhou1 2015/02/27 03:14:33 Done.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/apps/chrome_app_window_client.h"
-#include "chrome/browser/ui/views/apps/chrome_native_app_window_views_win.h"
+#include "chrome/browser/ui/views/apps/chrome_native_app_window_views.h"
// static
extensions::NativeAppWindow* ChromeAppWindowClient::CreateNativeAppWindowImpl(
extensions::AppWindow* app_window,
const extensions::AppWindow::CreateParams& params) {
- ChromeNativeAppWindowViewsWin* window = new ChromeNativeAppWindowViewsWin;
+ ChromeNativeAppWindowViews* window = new ChromeNativeAppWindowViews;
window->Init(app_window, params);
return window;
}
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698