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

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

Issue 8598031: views: Move widget/ directory to ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reland for real Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
10 #include "chrome/app/chrome_command_ids.h" 10 #include "chrome/app/chrome_command_ids.h"
(...skipping 14 matching lines...) Expand all
25 #include "grit/theme_resources_standard.h" 25 #include "grit/theme_resources_standard.h"
26 #include "grit/ui_resources.h" 26 #include "grit/ui_resources.h"
27 #include "net/base/net_util.h" 27 #include "net/base/net_util.h"
28 #include "ui/base/hit_test.h" 28 #include "ui/base/hit_test.h"
29 #include "ui/base/resource/resource_bundle.h" 29 #include "ui/base/resource/resource_bundle.h"
30 #include "ui/gfx/canvas.h" 30 #include "ui/gfx/canvas.h"
31 #include "ui/gfx/font.h" 31 #include "ui/gfx/font.h"
32 #include "ui/gfx/path.h" 32 #include "ui/gfx/path.h"
33 #include "ui/gfx/rect.h" 33 #include "ui/gfx/rect.h"
34 #include "ui/views/focus/focus_manager.h" 34 #include "ui/views/focus/focus_manager.h"
35 #include "ui/views/widget/widget.h"
35 #include "ui/views/window/client_view.h" 36 #include "ui/views/window/client_view.h"
36 #include "ui/views/window/non_client_view.h" 37 #include "ui/views/window/non_client_view.h"
37 #include "ui/views/window/window_resources.h" 38 #include "ui/views/window/window_resources.h"
38 #include "ui/views/window/window_shape.h" 39 #include "ui/views/window/window_shape.h"
39 #include "views/controls/button/image_button.h" 40 #include "views/controls/button/image_button.h"
40 #include "views/views_delegate.h" 41 #include "views/views_delegate.h"
41 #include "views/widget/widget.h"
42 42
43 #if defined(OS_WIN) && !defined(USE_AURA) 43 #if defined(OS_WIN) && !defined(USE_AURA)
44 #include "views/widget/native_widget_win.h" 44 #include "ui/views/widget/native_widget_win.h"
45 #endif 45 #endif
46 46
47 using base::TimeDelta; 47 using base::TimeDelta;
48 48
49 namespace views { 49 namespace views {
50 class ClientView; 50 class ClientView;
51 } 51 }
52 52
53 // An enumeration of bitmap resources used by this window. 53 // An enumeration of bitmap resources used by this window.
54 enum { 54 enum {
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 } 664 }
665 665
666 void ConstrainedWindowViews::OnNativeConstrainedWindowMouseActivate() { 666 void ConstrainedWindowViews::OnNativeConstrainedWindowMouseActivate() {
667 Activate(); 667 Activate();
668 } 668 }
669 669
670 views::internal::NativeWidgetDelegate* 670 views::internal::NativeWidgetDelegate*
671 ConstrainedWindowViews::AsNativeWidgetDelegate() { 671 ConstrainedWindowViews::AsNativeWidgetDelegate() {
672 return this; 672 return this;
673 } 673 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/constrained_window_views.h ('k') | chrome/browser/ui/views/create_application_shortcut_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698