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

Unified Diff: ui/views/examples/bubble_example.h

Issue 8687013: Get the examples to run in aura_shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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/controls/tabbed_pane/native_tabbed_pane_views.cc ('k') | ui/views/examples/bubble_example.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/bubble_example.h
===================================================================
--- ui/views/examples/bubble_example.h (revision 111815)
+++ ui/views/examples/bubble_example.h (working copy)
@@ -9,30 +9,30 @@
#include "ui/views/controls/button/button.h"
#include "ui/views/examples/example_base.h"
+namespace views {
namespace examples {
// A Bubble example.
-class BubbleExample : public ExampleBase,
- public views::ButtonListener {
+class BubbleExample : public ExampleBase, public ButtonListener {
public:
- explicit BubbleExample(ExamplesMain* main);
+ BubbleExample();
virtual ~BubbleExample();
// Overridden from ExampleBase.
- virtual void CreateExampleView(views::View* container) OVERRIDE;
+ virtual void CreateExampleView(View* container) OVERRIDE;
private:
- virtual void ButtonPressed(views::Button* sender,
- const views::Event& event) OVERRIDE;
+ virtual void ButtonPressed(Button* sender, const Event& event) OVERRIDE;
- views::Button* round_;
- views::Button* arrow_;
- views::Button* fade_in_;
- views::Button* fade_out_;
+ Button* round_;
+ Button* arrow_;
+ Button* fade_in_;
+ Button* fade_out_;
DISALLOW_COPY_AND_ASSIGN(BubbleExample);
};
} // namespace examples
+} // namespace views
#endif // UI_VIEWS_EXAMPLES_BUBBLE_EXAMPLE_H_
« no previous file with comments | « ui/views/controls/tabbed_pane/native_tabbed_pane_views.cc ('k') | ui/views/examples/bubble_example.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698