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

Side by Side Diff: chrome/browser/ui/views/extensions/native_app_window_views.cc

Issue 16702003: Move ShellWindow into apps component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Self review Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/extensions/native_app_window_views.h" 5 #include "chrome/browser/ui/views/extensions/native_app_window_views.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/threading/sequenced_worker_pool.h" 10 #include "base/threading/sequenced_worker_pool.h"
(...skipping 28 matching lines...) Expand all
39 #include "ash/shell.h" 39 #include "ash/shell.h"
40 #include "ash/wm/custom_frame_view_ash.h" 40 #include "ash/wm/custom_frame_view_ash.h"
41 #include "ash/wm/panels/panel_frame_view.h" 41 #include "ash/wm/panels/panel_frame_view.h"
42 #include "ash/wm/window_properties.h" 42 #include "ash/wm/window_properties.h"
43 #include "chrome/browser/ui/ash/ash_util.h" 43 #include "chrome/browser/ui/ash/ash_util.h"
44 #include "ui/aura/client/aura_constants.h" 44 #include "ui/aura/client/aura_constants.h"
45 #include "ui/aura/root_window.h" 45 #include "ui/aura/root_window.h"
46 #include "ui/aura/window.h" 46 #include "ui/aura/window.h"
47 #endif 47 #endif
48 48
49 using apps::ShellWindow;
50
49 namespace { 51 namespace {
50 52
51 const int kMinPanelWidth = 100; 53 const int kMinPanelWidth = 100;
52 const int kMinPanelHeight = 100; 54 const int kMinPanelHeight = 100;
53 const int kDefaultPanelWidth = 200; 55 const int kDefaultPanelWidth = 200;
54 const int kDefaultPanelHeight = 300; 56 const int kDefaultPanelHeight = 300;
55 const int kResizeInsideBoundsSize = 5; 57 const int kResizeInsideBoundsSize = 5;
56 58
57 struct AcceleratorMapping { 59 struct AcceleratorMapping {
58 ui::KeyboardCode keycode; 60 ui::KeyboardCode keycode;
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after
745 } 747 }
746 748
747 //------------------------------------------------------------------------------ 749 //------------------------------------------------------------------------------
748 // NativeAppWindow::Create 750 // NativeAppWindow::Create
749 751
750 // static 752 // static
751 NativeAppWindow* NativeAppWindow::Create( 753 NativeAppWindow* NativeAppWindow::Create(
752 ShellWindow* shell_window, const ShellWindow::CreateParams& params) { 754 ShellWindow* shell_window, const ShellWindow::CreateParams& params) {
753 return new NativeAppWindowViews(shell_window, params); 755 return new NativeAppWindowViews(shell_window, params);
754 } 756 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698