summaryrefslogtreecommitdiffstats
path: root/views/examples/examples_main.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-20 15:40:45 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-20 15:40:45 +0000
commit10946079e34f1a627e9afa232049469a6655cc17 (patch)
tree6de5c4fa11f7fb6ede9601de1acc86e4a53aa1b2 /views/examples/examples_main.cc
parent334bef925113a03dac5dc92184ab7ce51e06a386 (diff)
downloadchromium_src-10946079e34f1a627e9afa232049469a6655cc17.zip
chromium_src-10946079e34f1a627e9afa232049469a6655cc17.tar.gz
chromium_src-10946079e34f1a627e9afa232049469a6655cc17.tar.bz2
Move RootView to the internal namespace.
Most people should not be using the RootView type. The few cases that do should static_cast for now, until I can find a way to expose the functionality they need on Widget. BUG=72040 TEST=none TBR=sky Review URL: http://codereview.chromium.org/7040018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86084 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/examples/examples_main.cc')
-rw-r--r--views/examples/examples_main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/examples/examples_main.cc b/views/examples/examples_main.cc
index d46fb72..1c28b42 100644
--- a/views/examples/examples_main.cc
+++ b/views/examples/examples_main.cc
@@ -31,7 +31,7 @@
#include "views/examples/widget_example.h"
#include "views/focus/accelerator_handler.h"
#include "views/layout/grid_layout.h"
-#include "views/widget/root_view.h"
+#include "views/widget/widget.h"
#include "views/window/window.h"
#include "views/test/test_views_delegate.h"
@@ -190,7 +190,7 @@ int main(int argc, char** argv) {
// We do not this header: chrome/common/chrome_switches.h
// because that would create a dependency back on Chrome
- views::RootView::SetPureViews(
+ views::Widget::SetPureViews(
CommandLine::ForCurrentProcess()->HasSwitch("use-pure-views"));
examples::ExamplesMain main;