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

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

Issue 21344002: Move native_app_window code to apps areas (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to after mac app shim fix Created 7 years, 4 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/native_app_window_views.cc
diff --git a/chrome/browser/ui/views/extensions/native_app_window_views.cc b/chrome/browser/ui/views/apps/native_app_window_views.cc
similarity index 98%
rename from chrome/browser/ui/views/extensions/native_app_window_views.cc
rename to chrome/browser/ui/views/apps/native_app_window_views.cc
index a7cc935ac4001fee27382a44941b748a229c88c1..15c02673e3ffe8011c848eb77e72f92e4d8c07d0 100644
--- a/chrome/browser/ui/views/extensions/native_app_window_views.cc
+++ b/chrome/browser/ui/views/apps/native_app_window_views.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/ui/views/extensions/native_app_window_views.h"
+#include "chrome/browser/ui/views/apps/native_app_window_views.h"
#include "base/command_line.h"
#include "base/file_util.h"
@@ -746,12 +746,3 @@ void NativeAppWindowViews::HandleKeyboardEvent(
void NativeAppWindowViews::RenderViewHostChanged() {
OnViewWasResized();
}
-
-//------------------------------------------------------------------------------
-// NativeAppWindow::Create
-
-// static
-NativeAppWindow* NativeAppWindow::Create(
- ShellWindow* shell_window, const ShellWindow::CreateParams& params) {
- return new NativeAppWindowViews(shell_window, params);
-}
« no previous file with comments | « chrome/browser/ui/views/apps/native_app_window_views.h ('k') | chrome/browser/ui/views/extensions/native_app_window_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698