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

Side by Side Diff: views/examples/slider_example.cc

Issue 6264014: Fix compile (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix the other compile error too Created 9 years, 11 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 | « views/examples/combobox_example.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) 2011 The Chromium Authors. All rights reserved. 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 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 "views/examples/slider_example.h" 5 #include "views/examples/slider_example.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "views/fill_layout.h" 8 #include "views/layout/fill_layout.h"
9 9
10 namespace examples { 10 namespace examples {
11 11
12 SliderExample::SliderExample(ExamplesMain* main) : ExampleBase(main) { 12 SliderExample::SliderExample(ExamplesMain* main) : ExampleBase(main) {
13 } 13 }
14 14
15 SliderExample::~SliderExample() { 15 SliderExample::~SliderExample() {
16 } 16 }
17 17
18 std::wstring SliderExample::GetExampleTitle() { 18 std::wstring SliderExample::GetExampleTitle() {
(...skipping 11 matching lines...) Expand all
30 container->SetLayoutManager(new views::FillLayout); 30 container->SetLayoutManager(new views::FillLayout);
31 container->AddChildView(slider_); 31 container->AddChildView(slider_);
32 #endif 32 #endif
33 } 33 }
34 34
35 void SliderExample::SliderValueChanged(views::Slider* sender) { 35 void SliderExample::SliderValueChanged(views::Slider* sender) {
36 PrintStatus(L"Value: %.1f", sender->value()); 36 PrintStatus(L"Value: %.1f", sender->value());
37 } 37 }
38 38
39 } // namespace examples 39 } // namespace examples
OLDNEW
« no previous file with comments | « views/examples/combobox_example.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698