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

Side by Side Diff: ash/wm/panels/panel_frame_view.cc

Issue 470663002: ash: Remove a few unused includes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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 | « ash/wm/overview/window_selector_window.cc ('k') | no next file » | 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 "ash/wm/panels/panel_frame_view.h" 5 #include "ash/wm/panels/panel_frame_view.h"
6 6
7 #include "ash/frame/caption_buttons/frame_caption_button_container_view.h" 7 #include "ash/frame/caption_buttons/frame_caption_button_container_view.h"
8 #include "ash/frame/default_header_painter.h" 8 #include "ash/frame/default_header_painter.h"
9 #include "ash/frame/frame_border_hit_test_controller.h" 9 #include "ash/frame/frame_border_hit_test_controller.h"
10 #include "grit/ash_resources.h"
11 #include "ui/base/hit_test.h" 10 #include "ui/base/hit_test.h"
12 #include "ui/base/l10n/l10n_util.h"
13 #include "ui/gfx/canvas.h" 11 #include "ui/gfx/canvas.h"
14 #include "ui/views/controls/image_view.h" 12 #include "ui/views/controls/image_view.h"
15 #include "ui/views/widget/widget.h" 13 #include "ui/views/widget/widget.h"
16 #include "ui/views/widget/widget_delegate.h" 14 #include "ui/views/widget/widget_delegate.h"
17 15
18 namespace ash { 16 namespace ash {
19 17
20 // static 18 // static
21 const char PanelFrameView::kViewClassName[] = "PanelFrameView"; 19 const char PanelFrameView::kViewClassName[] = "PanelFrameView";
22 20
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 } 121 }
124 122
125 gfx::Rect PanelFrameView::GetWindowBoundsForClientBounds( 123 gfx::Rect PanelFrameView::GetWindowBoundsForClientBounds(
126 const gfx::Rect& client_bounds) const { 124 const gfx::Rect& client_bounds) const {
127 gfx::Rect window_bounds = client_bounds; 125 gfx::Rect window_bounds = client_bounds;
128 window_bounds.Inset(0, -NonClientTopBorderHeight(), 0, 0); 126 window_bounds.Inset(0, -NonClientTopBorderHeight(), 0, 0);
129 return window_bounds; 127 return window_bounds;
130 } 128 }
131 129
132 } // namespace ash 130 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/overview/window_selector_window.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698