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

Unified Diff: ui/views/examples/double_split_view_example.cc

Issue 10824016: views/examples: Pure pedantic change. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/examples/content_client/examples_browser_main_parts.cc ('k') | ui/views/examples/menu_example.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/double_split_view_example.cc
diff --git a/ui/views/examples/double_split_view_example.cc b/ui/views/examples/double_split_view_example.cc
index 4620f723a27485a0e1cb7cac7162ec19f1ea67af..aef5deb487deefe189e20afdb54ade8e22aeab01 100644
--- a/ui/views/examples/double_split_view_example.cc
+++ b/ui/views/examples/double_split_view_example.cc
@@ -7,17 +7,20 @@
#include "ui/views/controls/single_split_view.h"
#include "ui/views/layout/grid_layout.h"
+namespace views {
+namespace examples {
+
namespace {
// DoubleSplitViews's content, which draws gradient color on background.
-class SplittedView : public views::View {
+class SplittedView : public View {
public:
SplittedView();
virtual ~SplittedView();
void SetColor(SkColor from, SkColor to);
- // Overridden from views::View.
+ // Overridden from View.
virtual gfx::Size GetMinimumSize() OVERRIDE;
private:
@@ -32,8 +35,7 @@ SplittedView::~SplittedView() {
}
void SplittedView::SetColor(SkColor from, SkColor to) {
- set_background(
- views::Background::CreateVerticalGradientBackground(from, to));
+ set_background(Background::CreateVerticalGradientBackground(from, to));
}
gfx::Size SplittedView::GetMinimumSize() {
@@ -42,9 +44,6 @@ gfx::Size SplittedView::GetMinimumSize() {
} // namespace
-namespace views {
-namespace examples {
-
DoubleSplitViewExample::DoubleSplitViewExample()
: ExampleBase("Double Split View") {
}
« no previous file with comments | « ui/views/examples/content_client/examples_browser_main_parts.cc ('k') | ui/views/examples/menu_example.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698