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

Unified Diff: chrome/browser/ui/gtk/apps/native_app_window_gtk.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/gtk/apps/native_app_window_gtk.cc
diff --git a/chrome/browser/ui/gtk/extensions/native_app_window_gtk.cc b/chrome/browser/ui/gtk/apps/native_app_window_gtk.cc
similarity index 98%
rename from chrome/browser/ui/gtk/extensions/native_app_window_gtk.cc
rename to chrome/browser/ui/gtk/apps/native_app_window_gtk.cc
index 41548348631785edfc6cae66b59ef5669edf26ad..8289cac0552fb76b581b0c3bd9c12ce78337ef3a 100644
--- a/chrome/browser/ui/gtk/extensions/native_app_window_gtk.cc
+++ b/chrome/browser/ui/gtk/apps/native_app_window_gtk.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/gtk/extensions/native_app_window_gtk.h"
+#include "chrome/browser/ui/gtk/apps/native_app_window_gtk.h"
#include <gdk/gdkx.h>
#include <vector>
@@ -620,10 +620,3 @@ void NativeAppWindowGtk::UpdateDraggableRegions(
draggable_region_.reset(ShellWindow::RawDraggableRegionsToSkRegion(regions));
}
-
-// static
-NativeAppWindow* NativeAppWindow::Create(
- ShellWindow* shell_window,
- const ShellWindow::CreateParams& params) {
- return new NativeAppWindowGtk(shell_window, params);
-}
« no previous file with comments | « chrome/browser/ui/gtk/apps/native_app_window_gtk.h ('k') | chrome/browser/ui/gtk/extensions/native_app_window_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698