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

Unified Diff: frontend/client/src/autotest/planner/TestPlanSelectorDisplay.java

Issue 1595019: Merge remote branch 'origin/upstream' into tempbranch (Closed)
Patch Set: Created 10 years, 8 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
Index: frontend/client/src/autotest/planner/TestPlanSelectorDisplay.java
diff --git a/frontend/client/src/autotest/planner/TestPlanSelectorDisplay.java b/frontend/client/src/autotest/planner/TestPlanSelectorDisplay.java
new file mode 100644
index 0000000000000000000000000000000000000000..3da552776d5f475ec4c78d5407ed67d947254e62
--- /dev/null
+++ b/frontend/client/src/autotest/planner/TestPlanSelectorDisplay.java
@@ -0,0 +1,41 @@
+package autotest.planner;
+
+import autotest.common.Utils;
+
+import com.google.gwt.event.dom.client.HasClickHandlers;
+import com.google.gwt.event.dom.client.HasKeyPressHandlers;
+import com.google.gwt.user.client.ui.Button;
+import com.google.gwt.user.client.ui.Composite;
+import com.google.gwt.user.client.ui.HTMLPanel;
+import com.google.gwt.user.client.ui.HasText;
+import com.google.gwt.user.client.ui.TextBox;
+
+public class TestPlanSelectorDisplay extends Composite implements TestPlanSelector.Display {
+
+ private TextBox inputField;
+ private Button show;
+
+ public void initialize() {
+ HTMLPanel panel = Utils.divToPanel("test_plan_selector");
+
+ inputField = new TextBox();
+ panel.add(inputField, "test_plan_selector_input");
+
+ show = new Button("show");
+ panel.add(show, "test_plan_selector_button");
+
+ initWidget(panel);
+ }
+
+ public HasText getInputText() {
+ return inputField;
+ }
+
+ public HasKeyPressHandlers getInputField() {
+ return inputField;
+ }
+
+ public HasClickHandlers getShowButton() {
+ return show;
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698