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

Side by Side Diff: chrome/browser/ui/views/constrained_window_views.cc

Issue 10831345: views: Pass sort-headers.py in all files under this directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/extensions/extension_dialog.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/constrained_window_views.h" 5 #include "chrome/browser/ui/views/constrained_window_views.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
(...skipping 28 matching lines...) Expand all
39 #include "ui/views/focus/focus_manager.h" 39 #include "ui/views/focus/focus_manager.h"
40 #include "ui/views/views_delegate.h" 40 #include "ui/views/views_delegate.h"
41 #include "ui/views/widget/widget.h" 41 #include "ui/views/widget/widget.h"
42 #include "ui/views/window/client_view.h" 42 #include "ui/views/window/client_view.h"
43 #include "ui/views/window/frame_background.h" 43 #include "ui/views/window/frame_background.h"
44 #include "ui/views/window/non_client_view.h" 44 #include "ui/views/window/non_client_view.h"
45 #include "ui/views/window/window_resources.h" 45 #include "ui/views/window/window_resources.h"
46 #include "ui/views/window/window_shape.h" 46 #include "ui/views/window/window_shape.h"
47 47
48 #if defined(OS_WIN) && !defined(USE_AURA) 48 #if defined(OS_WIN) && !defined(USE_AURA)
49 #include "ui/base/win/shell.h"
49 #include "ui/views/widget/native_widget_win.h" 50 #include "ui/views/widget/native_widget_win.h"
50 #include "ui/base/win/shell.h"
51 #endif 51 #endif
52 52
53 #if defined(USE_ASH) 53 #if defined(USE_ASH)
54 #include "ash/ash_constants.h" 54 #include "ash/ash_constants.h"
55 #include "ash/ash_switches.h" 55 #include "ash/ash_switches.h"
56 #include "ash/shell.h" 56 #include "ash/shell.h"
57 #include "ash/wm/custom_frame_view_ash.h" 57 #include "ash/wm/custom_frame_view_ash.h"
58 #include "ash/wm/visibility_controller.h" 58 #include "ash/wm/visibility_controller.h"
59 #include "ui/aura/window.h" 59 #include "ui/aura/window.h"
60 #endif 60 #endif
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 680
681 views::internal::NativeWidgetDelegate* 681 views::internal::NativeWidgetDelegate*
682 ConstrainedWindowViews::AsNativeWidgetDelegate() { 682 ConstrainedWindowViews::AsNativeWidgetDelegate() {
683 return this; 683 return this;
684 } 684 }
685 685
686 int ConstrainedWindowViews::GetNonClientComponent(const gfx::Point& point) { 686 int ConstrainedWindowViews::GetNonClientComponent(const gfx::Point& point) {
687 // Prevent a constrained window to be moved by the user. 687 // Prevent a constrained window to be moved by the user.
688 return HTNOWHERE; 688 return HTNOWHERE;
689 } 689 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/extensions/extension_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698