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

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

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/examples/checkbox_example.cc ('k') | ui/views/examples/combobox_example.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/combobox_example.h
diff --git a/ui/views/examples/combobox_example.h b/ui/views/examples/combobox_example.h
deleted file mode 100644
index 3ea1c24b537db3581078ff20434ea0f5c9d14626..0000000000000000000000000000000000000000
--- a/ui/views/examples/combobox_example.h
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef UI_VIEWS_EXAMPLES_COMBOBOX_EXAMPLE_H_
-#define UI_VIEWS_EXAMPLES_COMBOBOX_EXAMPLE_H_
-
-#include "base/macros.h"
-#include "ui/base/models/combobox_model.h"
-#include "ui/views/controls/combobox/combobox_listener.h"
-#include "ui/views/examples/example_base.h"
-
-namespace views {
-namespace examples {
-
-// A combobox model implementation that generates a list of "Item <index>".
-class VIEWS_EXAMPLES_EXPORT ComboboxModelExample : public ui::ComboboxModel {
- public:
- ComboboxModelExample();
- virtual ~ComboboxModelExample();
-
- // ui::ComboboxModel:
- virtual int GetItemCount() const override;
- virtual base::string16 GetItemAt(int index) override;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(ComboboxModelExample);
-};
-
-class VIEWS_EXAMPLES_EXPORT ComboboxExample : public ExampleBase,
- public ComboboxListener {
- public:
- ComboboxExample();
- virtual ~ComboboxExample();
-
- // ExampleBase:
- virtual void CreateExampleView(View* container) override;
-
- private:
- // ComboboxListener:
- virtual void OnPerformAction(Combobox* combobox) override;
-
- ComboboxModelExample combobox_model_;
- Combobox* combobox_;
-
- DISALLOW_COPY_AND_ASSIGN(ComboboxExample);
-};
-
-} // namespace examples
-} // namespace views
-
-#endif // UI_VIEWS_EXAMPLES_COMBOBOX_EXAMPLE_H_
« no previous file with comments | « ui/views/examples/checkbox_example.cc ('k') | ui/views/examples/combobox_example.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698