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 "chrome/browser/extensions/extension_host.h" | 7 #include "chrome/browser/extensions/extension_host.h" |
8 #include "chrome/browser/favicon/favicon_tab_helper.h" | 8 #include "chrome/browser/favicon/favicon_tab_helper.h" |
9 #include "chrome/browser/profiles/profile.h" | |
10 #include "chrome/browser/ui/views/extensions/extension_keybinding_registry_views
.h" | 9 #include "chrome/browser/ui/views/extensions/extension_keybinding_registry_views
.h" |
11 #include "chrome/browser/ui/views/extensions/shell_window_frame_view.h" | 10 #include "chrome/browser/ui/views/extensions/shell_window_frame_view.h" |
12 #include "chrome/common/extensions/extension.h" | 11 #include "chrome/common/extensions/extension.h" |
13 #include "content/public/browser/render_view_host.h" | 12 #include "content/public/browser/render_view_host.h" |
14 #include "content/public/browser/render_widget_host_view.h" | 13 #include "content/public/browser/render_widget_host_view.h" |
15 #include "content/public/browser/web_contents.h" | 14 #include "content/public/browser/web_contents.h" |
16 #include "content/public/browser/web_contents_view.h" | 15 #include "content/public/browser/web_contents_view.h" |
17 #include "extensions/common/draggable_region.h" | 16 #include "extensions/common/draggable_region.h" |
18 #include "ui/views/controls/webview/webview.h" | 17 #include "ui/views/controls/webview/webview.h" |
19 #include "ui/views/widget/widget.h" | 18 #include "ui/views/widget/widget.h" |
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
523 } | 522 } |
524 | 523 |
525 //------------------------------------------------------------------------------ | 524 //------------------------------------------------------------------------------ |
526 // NativeAppWindow::Create | 525 // NativeAppWindow::Create |
527 | 526 |
528 // static | 527 // static |
529 NativeAppWindow* NativeAppWindow::Create( | 528 NativeAppWindow* NativeAppWindow::Create( |
530 ShellWindow* shell_window, const ShellWindow::CreateParams& params) { | 529 ShellWindow* shell_window, const ShellWindow::CreateParams& params) { |
531 return new NativeAppWindowViews(shell_window, params); | 530 return new NativeAppWindowViews(shell_window, params); |
532 } | 531 } |
OLD | NEW |