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

Side by Side Diff: ash/wm/custom_frame_view_ash.h

Issue 10020048: Work on USE_ASH/USE_AURA split. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to ToT Created 8 years, 8 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/automation/testing_automation_provider_aura.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 (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 #ifndef ASH_WM_CUSTOM_FRAME_VIEW_ASH_H_ 5 #ifndef ASH_WM_CUSTOM_FRAME_VIEW_ASH_H_
6 #define ASH_WM_CUSTOM_FRAME_VIEW_ASH_H_ 6 #define ASH_WM_CUSTOM_FRAME_VIEW_ASH_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ash/ash_export.h" 9 #include "ash/ash_export.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "ui/views/controls/button/button.h" // ButtonListener 11 #include "ui/views/controls/button/button.h" // ButtonListener
12 #include "ui/views/window/non_client_view.h" 12 #include "ui/views/window/non_client_view.h"
13 13
14 namespace ash { 14 namespace ash {
15 class FramePainter; 15 class FramePainter;
16 } 16 }
17 namespace gfx { 17 namespace gfx {
18 class Font; 18 class Font;
19 } 19 }
20 namespace views { 20 namespace views {
21 class ImageButton; 21 class ImageButton;
22 class Widget; 22 class Widget;
23 } 23 }
24 24
25 namespace ash { 25 namespace ash {
26 26
27 // A NonClientFrameView used for dialogs and other non-browser windows. 27 // A NonClientFrameView used for dialogs and other non-browser windows.
28 // See also views::CustomFrameView and BrowserNonClientFrameViewAura. 28 // See also views::CustomFrameView and BrowserNonClientFrameViewAsh.
29 class ASH_EXPORT CustomFrameViewAsh : public views::NonClientFrameView, 29 class ASH_EXPORT CustomFrameViewAsh : public views::NonClientFrameView,
30 public views::ButtonListener { 30 public views::ButtonListener {
31 public: 31 public:
32 // Internal class name. 32 // Internal class name.
33 static const char kViewClassName[]; 33 static const char kViewClassName[];
34 34
35 CustomFrameViewAsh(); 35 CustomFrameViewAsh();
36 virtual ~CustomFrameViewAsh(); 36 virtual ~CustomFrameViewAsh();
37 37
38 void Init(views::Widget* frame); 38 void Init(views::Widget* frame);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 views::ImageButton* window_icon_; 72 views::ImageButton* window_icon_;
73 73
74 scoped_ptr<FramePainter> frame_painter_; 74 scoped_ptr<FramePainter> frame_painter_;
75 75
76 DISALLOW_COPY_AND_ASSIGN(CustomFrameViewAsh); 76 DISALLOW_COPY_AND_ASSIGN(CustomFrameViewAsh);
77 }; 77 };
78 78
79 } // namespace ash 79 } // namespace ash
80 80
81 #endif // ASH_WM_CUSTOM_FRAME_VIEW_ASH_H_ 81 #endif // ASH_WM_CUSTOM_FRAME_VIEW_ASH_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/automation/testing_automation_provider_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698