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

Side by Side Diff: ui/aura_shell/toplevel_frame_view.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 "ui/aura_shell/toplevel_frame_view.h" 5 #include "ui/aura_shell/toplevel_frame_view.h"
6 6
7 #include "grit/ui_resources.h" 7 #include "grit/ui_resources.h"
8 #include "ui/aura/cursor.h" 8 #include "ui/aura/cursor.h"
9 #include "ui/base/animation/throb_animation.h" 9 #include "ui/base/animation/throb_animation.h"
10 #include "ui/base/hit_test.h" 10 #include "ui/base/hit_test.h"
11 #include "ui/base/resource/resource_bundle.h" 11 #include "ui/base/resource/resource_bundle.h"
12 #include "ui/gfx/canvas.h" 12 #include "ui/gfx/canvas.h"
13 #include "ui/views/widget/widget.h"
14 #include "ui/views/widget/widget_delegate.h"
13 #include "views/controls/button/custom_button.h" 15 #include "views/controls/button/custom_button.h"
14 #include "views/widget/widget.h"
15 #include "views/widget/widget_delegate.h"
16 16
17 namespace aura_shell { 17 namespace aura_shell {
18 namespace internal { 18 namespace internal {
19 19
20 namespace { 20 namespace {
21 // The thickness of the left, right and bottom edges of the frame. 21 // The thickness of the left, right and bottom edges of the frame.
22 const int kFrameBorderThickness = 8; 22 const int kFrameBorderThickness = 8;
23 const int kFrameOpacity = 50; 23 const int kFrameOpacity = 50;
24 // The color used to fill the frame. 24 // The color used to fill the frame.
25 const SkColor kFrameColor = SkColorSetARGB(kFrameOpacity, 0, 0, 0); 25 const SkColor kFrameColor = SkColorSetARGB(kFrameOpacity, 0, 0, 0);
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 return aura::kCursorNorthWestResize; 487 return aura::kCursorNorthWestResize;
488 case HTTOPRIGHT: 488 case HTTOPRIGHT:
489 return aura::kCursorNorthEastResize; 489 return aura::kCursorNorthEastResize;
490 default: 490 default:
491 return aura::kCursorNull; 491 return aura::kCursorNull;
492 } 492 }
493 } 493 }
494 494
495 } // namespace internal 495 } // namespace internal
496 } // namespace aura_shell 496 } // namespace aura_shell
OLDNEW
« no previous file with comments | « ui/aura_shell/status_area_view.cc ('k') | ui/views/accessibility/native_view_accessibility_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698