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

Side by Side Diff: ash/frame/caption_buttons/maximize_bubble_controller_bubble.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
« no previous file with comments | « ash/drag_drop/drag_image_view.cc ('k') | ash/ime/candidate_window_view.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/frame/caption_buttons/maximize_bubble_controller_bubble.h" 5 #include "ash/frame/caption_buttons/maximize_bubble_controller_bubble.h"
6 6
7 #include "ash/frame/caption_buttons/bubble_contents_button_row.h" 7 #include "ash/frame/caption_buttons/bubble_contents_button_row.h"
8 #include "ash/frame/caption_buttons/frame_maximize_button.h" 8 #include "ash/frame/caption_buttons/frame_maximize_button.h"
9 #include "ash/frame/caption_buttons/maximize_bubble_controller.h" 9 #include "ash/frame/caption_buttons/maximize_bubble_controller.h"
10 #include "ash/metrics/user_metrics_recorder.h" 10 #include "ash/metrics/user_metrics_recorder.h"
11 #include "ash/shell.h" 11 #include "ash/shell.h"
12 #include "ash/shell_window_ids.h" 12 #include "ash/shell_window_ids.h"
13 #include "grit/ash_strings.h" 13 #include "grit/ash_strings.h"
14 #include "ui/base/resource/resource_bundle.h" 14 #include "ui/base/resource/resource_bundle.h"
15 #include "ui/gfx/canvas.h" 15 #include "ui/gfx/canvas.h"
16 #include "ui/gfx/path.h" 16 #include "ui/gfx/path.h"
17 #include "ui/views/bubble/bubble_frame_view.h" 17 #include "ui/views/bubble/bubble_frame_view.h"
18 #include "ui/views/controls/label.h" 18 #include "ui/views/controls/label.h"
19 #include "ui/views/layout/box_layout.h" 19 #include "ui/views/layout/box_layout.h"
20 #include "ui/views/mouse_watcher.h" 20 #include "ui/views/mouse_watcher.h"
21 #include "ui/wm/public/masked_window_targeter.h" 21 #include "ui/wm/core/masked_window_targeter.h"
22 22
23 namespace ash { 23 namespace ash {
24 24
25 // BubbleContentsView --------------------------------------------------------- 25 // BubbleContentsView ---------------------------------------------------------
26 26
27 // A class which creates the content of the bubble: The buttons, and the label. 27 // A class which creates the content of the bubble: The buttons, and the label.
28 class BubbleContentsView : public views::View { 28 class BubbleContentsView : public views::View {
29 public: 29 public:
30 BubbleContentsView(MaximizeBubbleControllerBubble* bubble, 30 BubbleContentsView(MaximizeBubbleControllerBubble* bubble,
31 SnapType initial_snap_type); 31 SnapType initial_snap_type);
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 if (contents_view_) 502 if (contents_view_)
503 contents_view_->SetSnapType(snap_type); 503 contents_view_->SetSnapType(snap_type);
504 } 504 }
505 505
506 views::CustomButton* MaximizeBubbleControllerBubble::GetButtonForUnitTest( 506 views::CustomButton* MaximizeBubbleControllerBubble::GetButtonForUnitTest(
507 SnapType state) { 507 SnapType state) {
508 return contents_view_->GetButtonForUnitTest(state); 508 return contents_view_->GetButtonForUnitTest(state);
509 } 509 }
510 510
511 } // namespace ash 511 } // namespace ash
OLDNEW
« no previous file with comments | « ash/drag_drop/drag_image_view.cc ('k') | ash/ime/candidate_window_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698