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

Unified Diff: chrome/browser/ui/views/apps/chrome_app_window_client_views_mac.mm

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: Address comments 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
Index: chrome/browser/ui/views/apps/chrome_app_window_client_views_mac.mm
diff --git a/chrome/browser/ui/views/apps/chrome_apps_client_views_win.cc b/chrome/browser/ui/views/apps/chrome_app_window_client_views_mac.mm
similarity index 75%
copy from chrome/browser/ui/views/apps/chrome_apps_client_views_win.cc
copy to chrome/browser/ui/views/apps/chrome_app_window_client_views_mac.mm
index 14ab7e7635a04701aaf5c1f032d372ac241a5d9a..c87fc4f94438ecf2e0246b4282620c3de826f470 100644
--- a/chrome/browser/ui/views/apps/chrome_apps_client_views_win.cc
+++ b/chrome/browser/ui/views/apps/chrome_app_window_client_views_mac.mm
@@ -1,16 +1,16 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
+// Copyright 2015 The Chromium Authors. All rights reserved.
// 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;
}

Powered by Google App Engine
This is Rietveld 408576698