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

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: yar Created 7 years, 5 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 29 matching lines...) Expand all
40 #include "ash/shell.h" 40 #include "ash/shell.h"
41 #include "ash/wm/custom_frame_view_ash.h" 41 #include "ash/wm/custom_frame_view_ash.h"
42 #include "ash/wm/panels/panel_frame_view.h" 42 #include "ash/wm/panels/panel_frame_view.h"
43 #include "ash/wm/window_properties.h" 43 #include "ash/wm/window_properties.h"
44 #include "chrome/browser/ui/ash/ash_util.h" 44 #include "chrome/browser/ui/ash/ash_util.h"
45 #include "ui/aura/client/aura_constants.h" 45 #include "ui/aura/client/aura_constants.h"
46 #include "ui/aura/root_window.h" 46 #include "ui/aura/root_window.h"
47 #include "ui/aura/window.h" 47 #include "ui/aura/window.h"
48 #endif 48 #endif
49 49
50 using apps::ShellWindow;
51
50 namespace { 52 namespace {
51 53
52 const int kMinPanelWidth = 100; 54 const int kMinPanelWidth = 100;
53 const int kMinPanelHeight = 100; 55 const int kMinPanelHeight = 100;
54 const int kDefaultPanelWidth = 200; 56 const int kDefaultPanelWidth = 200;
55 const int kDefaultPanelHeight = 300; 57 const int kDefaultPanelHeight = 300;
56 const int kResizeInsideBoundsSize = 5; 58 const int kResizeInsideBoundsSize = 5;
57 59
58 struct AcceleratorMapping { 60 struct AcceleratorMapping {
59 ui::KeyboardCode keycode; 61 ui::KeyboardCode keycode;
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 } 748 }
747 749
748 //------------------------------------------------------------------------------ 750 //------------------------------------------------------------------------------
749 // NativeAppWindow::Create 751 // NativeAppWindow::Create
750 752
751 // static 753 // static
752 NativeAppWindow* NativeAppWindow::Create( 754 NativeAppWindow* NativeAppWindow::Create(
753 ShellWindow* shell_window, const ShellWindow::CreateParams& params) { 755 ShellWindow* shell_window, const ShellWindow::CreateParams& params) {
754 return new NativeAppWindowViews(shell_window, params); 756 return new NativeAppWindowViews(shell_window, params);
755 } 757 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/extensions/native_app_window_views.h ('k') | chrome/browser/ui/views/select_file_dialog_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698