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

Side by Side Diff: views/controls/separator.h

Issue 8687031: views: Move the remaining files to ui/views/controls/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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 | « views/controls/scroll_view.cc ('k') | views/controls/separator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef VIEWS_CONTROLS_SEPARATOR_H_
6 #define VIEWS_CONTROLS_SEPARATOR_H_
7 #pragma once
8
9 #include <string>
10
11 #include "views/view.h"
12
13 namespace views {
14
15 // The Separator class is a view that shows a line used to visually separate
16 // other views. The current implementation is only horizontal.
17
18 class VIEWS_EXPORT Separator : public View {
19 public:
20 // The separator's class name.
21 static const char kViewClassName[];
22
23 Separator();
24 virtual ~Separator();
25
26 // Overridden from View:
27 virtual gfx::Size GetPreferredSize() OVERRIDE;
28 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE;
29 virtual void Paint(gfx::Canvas* canvas) OVERRIDE;
30 virtual std::string GetClassName() const OVERRIDE;
31
32 private:
33 DISALLOW_COPY_AND_ASSIGN(Separator);
34 };
35
36 } // namespace views
37
38 #endif // VIEWS_CONTROLS_SEPARATOR_H_
OLDNEW
« no previous file with comments | « views/controls/scroll_view.cc ('k') | views/controls/separator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698