summaryrefslogtreecommitdiffstats
path: root/ui/views/examples/slider_example.h
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-22 10:33:14 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-22 10:33:14 +0000
commit2518ca22cdc205dd725650bc6ccbfa7a0a9aa6ed (patch)
tree16b7d644f6d9cb5e8c531545005bb36cb4675575 /ui/views/examples/slider_example.h
parent4ac6c4ebf926d6edebbc5f47e9a18536bfdc43dc (diff)
downloadchromium_src-2518ca22cdc205dd725650bc6ccbfa7a0a9aa6ed.zip
chromium_src-2518ca22cdc205dd725650bc6ccbfa7a0a9aa6ed.tar.gz
chromium_src-2518ca22cdc205dd725650bc6ccbfa7a0a9aa6ed.tar.bz2
views/examples: Cleanup: It is only necessary to include base/macros.h
base/basictypes.h was only for some hack around limitations of compiler toolchain and stdint.h, now that it has been fixed, one can just include base/macros.h, which already includes base/compiler_specific.h for OVERRIDE, so we don't need to include it ourselves. LOG(INFO) converted to VLOG(0) as per '[chromium-dev] Say no to excessive debug logging' with the following command line: $ sed -i -e 's/LOG(INFO)/VLOG(0)/g' $(git grep -l -F 'LOG(INFO)' -- 'ui/views/examples') BUG=322805 TEST=views_examples_exe and views_examples_with_content_exe TBR=ben@chromium.org Review URL: https://codereview.chromium.org/143523010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246275 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/examples/slider_example.h')
-rw-r--r--ui/views/examples/slider_example.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/ui/views/examples/slider_example.h b/ui/views/examples/slider_example.h
index 861dc83..32950f9 100644
--- a/ui/views/examples/slider_example.h
+++ b/ui/views/examples/slider_example.h
@@ -5,8 +5,7 @@
#ifndef UI_VIEWS_EXAMPLES_SLIDER_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_SLIDER_EXAMPLE_H_
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
+#include "base/macros.h"
#include "ui/views/controls/slider.h"
#include "ui/views/examples/example_base.h"
@@ -21,11 +20,11 @@ class VIEWS_EXAMPLES_EXPORT SliderExample : public ExampleBase,
SliderExample();
virtual ~SliderExample();
- // Overridden from ExampleBase:
+ // ExampleBase:
virtual void CreateExampleView(View* container) OVERRIDE;
private:
- // Overridden from SliderListener:
+ // SliderListener:
virtual void SliderValueChanged(Slider* sender,
float value,
float old_value,