| OLD | NEW |
| 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 12 matching lines...) Expand all Loading... |
| 23 #include "content/public/browser/web_contents_view.h" | 23 #include "content/public/browser/web_contents_view.h" |
| 24 #include "extensions/common/draggable_region.h" | 24 #include "extensions/common/draggable_region.h" |
| 25 #include "ui/views/controls/webview/webview.h" | 25 #include "ui/views/controls/webview/webview.h" |
| 26 #include "ui/views/widget/widget.h" | 26 #include "ui/views/widget/widget.h" |
| 27 #include "ui/views/window/non_client_view.h" | 27 #include "ui/views/window/non_client_view.h" |
| 28 | 28 |
| 29 #if defined(OS_WIN) | 29 #if defined(OS_WIN) |
| 30 #include "base/strings/utf_string_conversions.h" | 30 #include "base/strings/utf_string_conversions.h" |
| 31 #include "chrome/browser/ui/web_applications/web_app_ui.h" | 31 #include "chrome/browser/ui/web_applications/web_app_ui.h" |
| 32 #include "chrome/browser/web_applications/web_app.h" | 32 #include "chrome/browser/web_applications/web_app.h" |
| 33 #include "chrome/browser/web_applications/web_app_win.h" |
| 33 #include "ui/base/win/shell.h" | 34 #include "ui/base/win/shell.h" |
| 34 #include "ui/views/win/hwnd_util.h" | 35 #include "ui/views/win/hwnd_util.h" |
| 35 #endif | 36 #endif |
| 36 | 37 |
| 37 #if defined(USE_ASH) | 38 #if defined(USE_ASH) |
| 38 #include "ash/screen_ash.h" | 39 #include "ash/screen_ash.h" |
| 39 #include "ash/shell.h" | 40 #include "ash/shell.h" |
| 40 #include "ash/wm/custom_frame_view_ash.h" | 41 #include "ash/wm/custom_frame_view_ash.h" |
| 41 #include "ash/wm/panels/panel_frame_view.h" | 42 #include "ash/wm/panels/panel_frame_view.h" |
| 42 #include "ash/wm/window_properties.h" | 43 #include "ash/wm/window_properties.h" |
| (...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 745 } | 746 } |
| 746 | 747 |
| 747 //------------------------------------------------------------------------------ | 748 //------------------------------------------------------------------------------ |
| 748 // NativeAppWindow::Create | 749 // NativeAppWindow::Create |
| 749 | 750 |
| 750 // static | 751 // static |
| 751 NativeAppWindow* NativeAppWindow::Create( | 752 NativeAppWindow* NativeAppWindow::Create( |
| 752 ShellWindow* shell_window, const ShellWindow::CreateParams& params) { | 753 ShellWindow* shell_window, const ShellWindow::CreateParams& params) { |
| 753 return new NativeAppWindowViews(shell_window, params); | 754 return new NativeAppWindowViews(shell_window, params); |
| 754 } | 755 } |
| OLD | NEW |