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

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

Issue 12321107: Move shell integration code from chrome/browser to apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 "chrome/app/chrome_command_ids.h" 7 #include "chrome/app/chrome_command_ids.h"
8 #include "chrome/browser/extensions/extension_host.h" 8 #include "chrome/browser/extensions/extension_host.h"
9 #include "chrome/browser/favicon/favicon_tab_helper.h" 9 #include "chrome/browser/favicon/favicon_tab_helper.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/ui/views/extensions/extension_keybinding_registry_views .h" 11 #include "chrome/browser/ui/views/extensions/extension_keybinding_registry_views .h"
12 #include "chrome/browser/ui/views/extensions/shell_window_frame_view.h" 12 #include "chrome/browser/ui/views/extensions/shell_window_frame_view.h"
13 #include "chrome/common/extensions/extension.h" 13 #include "chrome/common/extensions/extension.h"
14 #include "content/public/browser/render_view_host.h" 14 #include "content/public/browser/render_view_host.h"
15 #include "content/public/browser/render_widget_host_view.h" 15 #include "content/public/browser/render_widget_host_view.h"
16 #include "content/public/browser/web_contents.h" 16 #include "content/public/browser/web_contents.h"
17 #include "content/public/browser/web_contents_view.h" 17 #include "content/public/browser/web_contents_view.h"
18 #include "extensions/common/draggable_region.h" 18 #include "extensions/common/draggable_region.h"
19 #include "ui/views/controls/webview/webview.h" 19 #include "ui/views/controls/webview/webview.h"
20 #include "ui/views/widget/widget.h" 20 #include "ui/views/widget/widget.h"
21 #include "ui/views/window/non_client_view.h" 21 #include "ui/views/window/non_client_view.h"
22 22
23 #if defined(OS_WIN) && !defined(USE_AURA) 23 #if defined(OS_WIN) && !defined(USE_AURA)
24 #include "apps/shell_integration.h"
24 #include "base/utf_string_conversions.h" 25 #include "base/utf_string_conversions.h"
25 #include "chrome/browser/shell_integration.h"
26 #include "chrome/browser/web_applications/web_app.h" 26 #include "chrome/browser/web_applications/web_app.h"
27 #include "ui/base/win/shell.h" 27 #include "ui/base/win/shell.h"
28 #endif 28 #endif
29 29
30 #if defined(USE_ASH) 30 #if defined(USE_ASH)
31 #include "ash/screen_ash.h" 31 #include "ash/screen_ash.h"
32 #include "ash/shell.h" 32 #include "ash/shell.h"
33 #include "ash/wm/custom_frame_view_ash.h" 33 #include "ash/wm/custom_frame_view_ash.h"
34 #include "ash/wm/panel_frame_view.h" 34 #include "ash/wm/panel_frame_view.h"
35 #include "chrome/browser/ui/ash/ash_util.h" 35 #include "chrome/browser/ui/ash/ash_util.h"
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 } 585 }
586 586
587 //------------------------------------------------------------------------------ 587 //------------------------------------------------------------------------------
588 // NativeAppWindow::Create 588 // NativeAppWindow::Create
589 589
590 // static 590 // static
591 NativeAppWindow* NativeAppWindow::Create( 591 NativeAppWindow* NativeAppWindow::Create(
592 ShellWindow* shell_window, const ShellWindow::CreateParams& params) { 592 ShellWindow* shell_window, const ShellWindow::CreateParams& params) {
593 return new NativeAppWindowViews(shell_window, params); 593 return new NativeAppWindowViews(shell_window, params);
594 } 594 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698