[Title] Added BrowserWrapper argument
authorchanghyun1.lee <changhyun1.lee@samsung.com>
Wed, 14 Dec 2011 05:58:41 +0000 (14:58 +0900)
committerchanghyun1.lee <changhyun1.lee@samsung.com>
Wed, 14 Dec 2011 05:58:41 +0000 (14:58 +0900)
[Type] Enhancement
[Module] tizen.common
[Priority]
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: Idd1afd4107bca5818d8353d19f4de218e41bac6f

com.samsung.tizen.common/src/com/samsung/tizen/common/util/BrowserWrapper.java

index 8849b80..04a67ed 100644 (file)
@@ -40,6 +40,11 @@ public class BrowserWrapper {
         browser.setLayoutData(data);
     }
 
+    public BrowserWrapper(Composite composite, GridData data, int style) {
+        browser = new Browser(composite, style);
+        browser.setLayoutData(data);
+    }
+
     public void setInput(final File f) {
         browser.getDisplay().asyncExec(new Runnable() {
             @Override