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

Side by Side Diff: chrome/browser/ui/views/apps/chrome_native_app_window_views.cc

Issue 196063002: Move wm/core to wm namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 9 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/apps/chrome_native_app_window_views.h" 5 #include "chrome/browser/ui/views/apps/chrome_native_app_window_views.h"
6 6
7 #include "apps/ui/views/app_window_frame_view.h" 7 #include "apps/ui/views/app_window_frame_view.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "chrome/app/chrome_command_ids.h" 9 #include "chrome/app/chrome_command_ids.h"
10 #include "chrome/browser/app_mode/app_mode_utils.h" 10 #include "chrome/browser/app_mode/app_mode_utils.h"
11 #include "chrome/browser/chrome_page_zoom.h" 11 #include "chrome/browser/chrome_page_zoom.h"
12 #include "chrome/browser/favicon/favicon_tab_helper.h" 12 #include "chrome/browser/favicon/favicon_tab_helper.h"
13 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/browser/ui/host_desktop.h" 14 #include "chrome/browser/ui/host_desktop.h"
15 #include "chrome/browser/ui/views/apps/shaped_app_window_targeter.h" 15 #include "chrome/browser/ui/views/apps/shaped_app_window_targeter.h"
16 #include "chrome/browser/ui/views/extensions/extension_keybinding_registry_views .h" 16 #include "chrome/browser/ui/views/extensions/extension_keybinding_registry_views .h"
17 #include "chrome/browser/ui/views/frame/taskbar_decorator.h" 17 #include "chrome/browser/ui/views/frame/taskbar_decorator.h"
18 #include "chrome/browser/web_applications/web_app.h" 18 #include "chrome/browser/web_applications/web_app.h"
19 #include "chrome/common/chrome_switches.h" 19 #include "chrome/common/chrome_switches.h"
20 #include "extensions/common/extension.h" 20 #include "extensions/common/extension.h"
21 #include "ui/base/hit_test.h" 21 #include "ui/base/hit_test.h"
22 #include "ui/base/models/simple_menu_model.h" 22 #include "ui/base/models/simple_menu_model.h"
23 #include "ui/gfx/image/image_skia.h" 23 #include "ui/gfx/image/image_skia.h"
24 #include "ui/views/controls/menu/menu_runner.h" 24 #include "ui/views/controls/menu/menu_runner.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/wm/public/easy_resize_window_targeter.h" 27 #include "ui/wm/core/easy_resize_window_targeter.h"
28 28
29 #if defined(OS_LINUX) 29 #if defined(OS_LINUX)
30 #include "chrome/browser/shell_integration_linux.h" 30 #include "chrome/browser/shell_integration_linux.h"
31 #endif 31 #endif
32 32
33 #if defined(USE_ASH) 33 #if defined(USE_ASH)
34 #include "ash/ash_constants.h" 34 #include "ash/ash_constants.h"
35 #include "ash/ash_switches.h" 35 #include "ash/ash_switches.h"
36 #include "ash/frame/custom_frame_view_ash.h" 36 #include "ash/frame/custom_frame_view_ash.h"
37 #include "ash/screen_util.h" 37 #include "ash/screen_util.h"
(...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after
677 NULL)); 677 NULL));
678 678
679 #if defined(OS_WIN) 679 #if defined(OS_WIN)
680 if (!ShouldUseNativeFrame() && 680 if (!ShouldUseNativeFrame() &&
681 chrome::GetHostDesktopTypeForNativeWindow(window()->GetNativeWindow()) != 681 chrome::GetHostDesktopTypeForNativeWindow(window()->GetNativeWindow()) !=
682 chrome::HOST_DESKTOP_TYPE_ASH) { 682 chrome::HOST_DESKTOP_TYPE_ASH) {
683 InstallEasyResizeTargeterOnContainer(); 683 InstallEasyResizeTargeterOnContainer();
684 } 684 }
685 #endif 685 #endif
686 } 686 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/user_wallpaper_delegate_win.cc ('k') | chrome/browser/ui/views/apps/shaped_app_window_targeter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698