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

Unified Diff: ui/views/examples/example_base.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
Index: ui/views/examples/example_base.h
===================================================================
--- ui/views/examples/example_base.h (revision 111708)
+++ ui/views/examples/example_base.h (working copy)
@@ -12,12 +12,9 @@
namespace views {
class View;
-}
namespace examples {
-class ExamplesMain;
-
class ExampleBase {
public:
virtual ~ExampleBase();
@@ -31,7 +28,7 @@
views::View* example_view() { return container_; }
protected:
- ExampleBase(ExamplesMain* main, const char* title);
+ explicit ExampleBase(const char* title);
// Prints a message in the status area, at the bottom of the window.
void PrintStatus(const char* format, ...);
@@ -42,9 +39,6 @@
}
private:
- // The runner actually running this example.
- ExamplesMain* main_;
-
// Name of the example - used for the title of the tab.
std::string example_title_;
@@ -55,5 +49,6 @@
};
} // namespace examples
+} // namespace views
#endif // UI_VIEWS_EXAMPLES_EXAMPLE_BASE_H_

Powered by Google App Engine
This is Rietveld 408576698