Change-Id: Ia3390765279a3f52533133d06254529bdeb1df34
Signed-off-by: Vinay Sachdeva <v.sachdeva@samsung.com>
void OnKeypadBoundsChanged(Tizen::Ui::Control &source);
void OnFocusGained(const Tizen::Ui::Control& source);
void OnKeypadBoundsChanged(Tizen::Ui::Control &source);
void OnFocusGained(const Tizen::Ui::Control& source);
- void OnFocusLost(const Tizen::Ui::Control& source){}
+ void OnFocusLost(const Tizen::Ui::Control& source);
virtual void OnTextValueChanged(const Tizen::Ui::Control& source);
virtual void OnTextValueChangeCanceled(const Tizen::Ui::Control& source){}
virtual void OnTextValueChanged(const Tizen::Ui::Control& source);
virtual void OnTextValueChangeCanceled(const Tizen::Ui::Control& source){}
void SetUrl(const Tizen::Base::String& url);
/**
void SetUrl(const Tizen::Base::String& url);
/**
+ * @brief ReSets the Guide Text for the Addressbar control.
+ *
+ */
+ void ResetGuideText(void);
+
+
+ /**
* @brief Sets the event listener for the Addressbar control.
*
*/
* @brief Sets the event listener for the Addressbar control.
*
*/
void SetJavascriptEnabled(void);
void OnFocusGained(const Tizen::Ui::Control& source);
void SetJavascriptEnabled(void);
void OnFocusGained(const Tizen::Ui::Control& source);
- void OnFocusLost(const Tizen::Ui::Control& source){}
+ void OnFocusLost(const Tizen::Ui::Control& source);
// IListViewItemEventListener
// IListViewItemEventListener
Tizen::Ui::Controls::EditField* __pFindWordEditField;
Tizen::Ui::Controls::Button* __pFindWordNext;
Tizen::Ui::Controls::Button* __pFindWordPrev;
Tizen::Ui::Controls::EditField* __pFindWordEditField;
Tizen::Ui::Controls::Button* __pFindWordNext;
Tizen::Ui::Controls::Button* __pFindWordPrev;
- Tizen::Ui::Controls::Panel* __pFindWordPanel;
+// Tizen::Ui::Controls::Panel* __pFindWordPanel;
Tizen::Ui::Controls::Panel* __pFooterPanel;
Tizen::Web::Controls::HitElementResult* __pHitElementResult;
Tizen::Ui::Controls::ContextMenu* __pImageMenu;
Tizen::Ui::Controls::Panel* __pFooterPanel;
Tizen::Web::Controls::HitElementResult* __pHitElementResult;
Tizen::Ui::Controls::ContextMenu* __pImageMenu;
-->
<!DOCTYPE Scene SYSTEM "UIForm.dtd">
-->
<!DOCTYPE Scene SYSTEM "UIForm.dtd">
-<Scene Bversion="2.0.0.201304110859" Dversion="20120315">
+<Scene Bversion="2.0.0.201304161803" Dversion="20120315">
<LogicalCoordinate>720</LogicalCoordinate>
<Form id="IDL_FORM">
<property backgroundColor="" backgroundColorOpacity="100" notificationTrayOpenEnabled="false" orientation="Automatic:4Dir" softKey0NormalIcon="" softKey0PressedIcon="" softKey0Text="" softKey1NormalIcon="" softKey1PressedIcon="" softKey1Text="" title="" titleAlign="ALIGN_CENTER" titleIcon="" translucentFooter="false" translucentHeader="false" translucentIndicator="false"/>
<LogicalCoordinate>720</LogicalCoordinate>
<Form id="IDL_FORM">
<property backgroundColor="" backgroundColorOpacity="100" notificationTrayOpenEnabled="false" orientation="Automatic:4Dir" softKey0NormalIcon="" softKey0PressedIcon="" softKey0Text="" softKey1NormalIcon="" softKey1PressedIcon="" softKey1Text="" title="" titleAlign="ALIGN_CENTER" titleIcon="" translucentFooter="false" translucentHeader="false" translucentIndicator="false"/>
</Panel>
<Panel id="IDC_FOOTER_PANEL" parent="IDL_FORM">
<property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>
</Panel>
<Panel id="IDC_FOOTER_PANEL" parent="IDL_FORM">
<property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>
- <layout bottomRelation="IDL_FORM" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="112.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0" y="1108.0"/>
+ <layout bottomRelation="IDL_FORM" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="112.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0" y="1168.0"/>
<layout bottomRelation="" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="105.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="1200.0" x="0" y="555.0"/>
</Panel>
<Label id="IDC_CHECK_LABEL" parent="IDC_FOOTER_PANEL">
<layout bottomRelation="" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="105.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="1200.0" x="0" y="555.0"/>
</Panel>
<Label id="IDC_CHECK_LABEL" parent="IDC_FOOTER_PANEL">
<layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="63.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="63.0" x="26.0" y="25.0"/>
<layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="95.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_FOOTER_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="10.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="112.0" x="0.0" y="10.0"/>
</Button>
<layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="63.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="63.0" x="26.0" y="25.0"/>
<layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="95.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_FOOTER_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="10.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="112.0" x="0.0" y="10.0"/>
</Button>
- <Button id="IDC_REFRESH_BUTTON" parent="IDC_FOOTER_PANEL">
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="I01_search_icon_refresh.png" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="32.0" verticalAlign="ALIGN_MIDDLE"/>
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="43.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="42.0" x="454.0" y="40.0"/>
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="55.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="10.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="64.0" x="972.0" y="35.0"/>
- </Button>
<EditField id="IDC_URL_EDIT_FIELD" parent="IDC_FOOTER_PANEL">
<property accessibilityHint="" disabledBGBitmapPath="" disabledColor="" disabledColorOpacity="100" disabledTextColor="" ellipsisPosition="ELLIPSIS_POSITION_END" enableClear="false" groupStyle="GROUP_STYLE_NONE" guideText="" guideTextColor="" highlightedBGBitmapPath="EditBackground.png" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalMargin="16.0" inputStyle="INPUT_STYLE_OVERLAY" keypadAction="KEYPAD_ACTION_ENTER" keypadEnabled="true" limitLength="100" linkTextColor="" lowerCaseMode="false" normalBGBitmapPath="EditBackground.png" normalColor="" normalColorOpacity="100" normalTextColor="#4E4945" pressedBGBitmapPath="EditBackground.png" pressedColor="" pressedColorOpacity="100" text="" textHorizontalAlignment="ALIGNMENT_LEFT" textSize="32.0" titleStyle="EDIT_FIELD_TITLE_STYLE_NONE" titleText="" titleTextColor="" verticalMargin="12.0" viewMode="false"/>
<layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="71.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" style="EDIT_FIELD_STYLE_URL_SMALL" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="241.0" x="212.0" y="25.0"/>
<EditField id="IDC_URL_EDIT_FIELD" parent="IDC_FOOTER_PANEL">
<property accessibilityHint="" disabledBGBitmapPath="" disabledColor="" disabledColorOpacity="100" disabledTextColor="" ellipsisPosition="ELLIPSIS_POSITION_END" enableClear="false" groupStyle="GROUP_STYLE_NONE" guideText="" guideTextColor="" highlightedBGBitmapPath="EditBackground.png" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalMargin="16.0" inputStyle="INPUT_STYLE_OVERLAY" keypadAction="KEYPAD_ACTION_ENTER" keypadEnabled="true" limitLength="100" linkTextColor="" lowerCaseMode="false" normalBGBitmapPath="EditBackground.png" normalColor="" normalColorOpacity="100" normalTextColor="#4E4945" pressedBGBitmapPath="EditBackground.png" pressedColor="" pressedColorOpacity="100" text="" textHorizontalAlignment="ALIGNMENT_LEFT" textSize="32.0" titleStyle="EDIT_FIELD_TITLE_STYLE_NONE" titleText="" titleTextColor="" verticalMargin="12.0" viewMode="false"/>
<layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="71.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" style="EDIT_FIELD_STYLE_URL_SMALL" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="241.0" x="212.0" y="25.0"/>
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="78.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_MULTIWINDOW_BUTTON" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDC_REFRESH_BUTTON" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_LEFT" style="EDIT_FIELD_STYLE_URL_SMALL" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="748.0" x="224.0" y="19.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="78.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_MULTIWINDOW_BUTTON" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDC_PAGEBACK_BUTTON" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_LEFT" style="EDIT_FIELD_STYLE_URL_SMALL" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="832.0" x="224.0" y="19.0"/>
</EditField>
<Label id="IDC_PROGRESS_BAR_LABEL" parent="IDC_FOOTER_PANEL">
<property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
</EditField>
<Label id="IDC_PROGRESS_BAR_LABEL" parent="IDC_FOOTER_PANEL">
<property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
<Button id="IDC_STOP_BUTTON" parent="IDC_FOOTER_PANEL">
<property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="I01_field_btn_Clear.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="32.0" verticalAlign="ALIGN_MIDDLE"/>
<layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="43.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="42.0" x="454.0" y="40.0"/>
<Button id="IDC_STOP_BUTTON" parent="IDC_FOOTER_PANEL">
<property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="I01_field_btn_Clear.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="32.0" verticalAlign="ALIGN_MIDDLE"/>
<layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="43.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="42.0" x="454.0" y="40.0"/>
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="55.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="10.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="64.0" x="972.0" y="35.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="55.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="10.0" marginTop="0.0" mode="Landscape" rightRelation="IDC_URL_EDIT_FIELD" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="64.0" x="982.0" y="35.0"/>
</Button>
<Button id="IDC_CLEAR_BUTTON" parent="IDC_FOOTER_PANEL">
<property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="I01_field_btn_Clear.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="32.0" verticalAlign="ALIGN_MIDDLE"/>
<layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="43.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="42.0" x="454.0" y="40.0"/>
</Button>
<Button id="IDC_CLEAR_BUTTON" parent="IDC_FOOTER_PANEL">
<property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="I01_field_btn_Clear.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="32.0" verticalAlign="ALIGN_MIDDLE"/>
<layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="43.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="42.0" x="454.0" y="40.0"/>
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="55.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="10.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="64.0" x="972.0" y="35.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="55.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="10.0" marginTop="0.0" mode="Landscape" rightRelation="IDC_URL_EDIT_FIELD" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="64.0" x="982.0" y="35.0"/>
+ </Button>
+ <Button id="IDC_REFRESH_BUTTON" parent="IDC_FOOTER_PANEL">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="I01_search_icon_refresh.png" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="32.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="IDC_STOP_BUTTON" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="43.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_STOP_BUTTON" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="IDC_STOP_BUTTON" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_STOP_BUTTON" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="42.0" x="454.0" y="40.0"/>
+ <layout bottomRelation="IDC_STOP_BUTTON" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="55.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_STOP_BUTTON" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="10.0" marginTop="0.0" mode="Landscape" rightRelation="IDC_STOP_BUTTON" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_STOP_BUTTON" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="54.0" x="982.0" y="35.0"/>
</Button>
<Panel id="IDC_FIND_ON_PAGE_PANEL" parent="IDL_FORM">
<property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>
</Button>
<Panel id="IDC_FIND_ON_PAGE_PANEL" parent="IDL_FORM">
<property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>
+Addressbar::ResetGuideText(void)
+{
+ AppLog("Addressbar::ResetGuideText called");
+
+ if (SettingPresentationModel::GetInstance()->GetHomepage().CompareTo((L"IDS_BR_BODY_MOST_VISITED_SITES")) == 0)
+ {
+ __pAddressbarUrlField->SetGuideText(CommonUtil::GetString(L"IDS_BR_BODY_SEARCH_OR_ENTER_URL"));
+ }
+ else if (SettingPresentationModel::GetInstance()->GetHomepage().CompareTo((L"IDS_BR_BODY_BLANK_PAGE")) == 0)
+ {
+ __pAddressbarUrlField->SetGuideText(CommonUtil::GetString(L"IDS_BR_BODY_ABOUT_C_BLANK"));
+ }
+ else
+ {
+ //__pUrlField->SetText(SettingPresentationModel::GetInstance()->GetFavoriteURL());
+ __pAddressbarUrlField->SetGuideText(CommonUtil::GetString(L"IDS_BR_BODY_SEARCH_OR_ENTER_URL"));
+ }
+ __pAddressbarUrlField->Invalidate(true);
+}
+
+void
Addressbar::SetUrl(const String& url)
{
__displayUrl = url;
Addressbar::SetUrl(const String& url)
{
__displayUrl = url;
__pListener->OnAddressBarKeypadOpened(*this);
}
}
__pListener->OnAddressBarKeypadOpened(*this);
}
}
+void
+Addressbar::OnFocusLost(const Tizen::Ui::Control& source)
+{
+ AppLog("Addressbar::OnFocusLost");
+}
+
void
Addressbar::OnTextValueChanged(const Control& source)
void
Addressbar::OnTextValueChanged(const Control& source)
{
delete pItem;
pItem = null;
{
delete pItem;
pItem = null;
return NULL;
}
if ( pBookMark->GetBookmarkType() == BOOKMARK_TYPE_FOLDER )
return NULL;
}
if ( pBookMark->GetBookmarkType() == BOOKMARK_TYPE_FOLDER )
pItem->SetContextItem(__pItemContextSite);
}
}
pItem->SetContextItem(__pItemContextSite);
}
}
- if(pImage != null)
- {
- delete pImage;
- }
- if(pImage != null)
- {
- delete pImage;
- }
delete pItem;
pItem = null;
return null;
delete pItem;
pItem = null;
return null;
__pImageMenu = null;
__pMenu = null;
__pFindWordControl = null;
__pImageMenu = null;
__pMenu = null;
__pFindWordControl = null;
- __pFindWordPanel = null;
__pFindWordBgLabel = null;
__pFindWordEditField = null;
__pFindWordClear = null;
__pFindWordBgLabel = null;
__pFindWordEditField = null;
__pFindWordClear = null;
void
MainForm::OnFocusGained(const Control& source)
{
void
MainForm::OnFocusGained(const Control& source)
{
-/*
- * We don't need any action here for focus.
- * The focus of Addressbar will be set after keypad is opened.(OnAddressBarKeypadOpened())
if(__pAddressbar != null)
{
__pFooterUrlField->SetFocusable(false);
__pAddressbar->SetAddressbarURLFocus();
if(__pAddressbar != null)
{
__pFooterUrlField->SetFocusable(false);
__pAddressbar->SetAddressbarURLFocus();
+}
+
+void
+MainForm::OnFocusLost(const Control& source)
+{
+ AppLog("MainForm::OnFocusLost");
result r = E_SUCCESS;
Bitmap *pIconBitmap = null;
result r = E_SUCCESS;
Bitmap *pIconBitmap = null;
- if (__pFindWordPanel != null)
+ if (__pFindWordControl != null)
{
AppLogDebug("Findword panel already initialized");
if (__pFindWordBgLabel != null)
{
AppLogDebug("Findword panel already initialized");
if (__pFindWordBgLabel != null)
- __pFindWordPanel = static_cast<Panel*>(GetControl(L"IDC_FIND_ON_PAGE_PANEL"));
- if (__pFindWordPanel == null)
- {
- AppLogException("There is some problem in the xml file. Please check.");
- return E_FAILURE;
- }
-
__pFindWordControl = new (std::nothrow) Panel();
r = __pFindWordControl->Construct(L"IDL_FIND_ON_PAGE");
if (IsFailed(r))
__pFindWordControl = new (std::nothrow) Panel();
r = __pFindWordControl->Construct(L"IDL_FIND_ON_PAGE");
if (IsFailed(r))
return E_FAILURE;
}
AddControl(*__pFindWordControl);
return E_FAILURE;
}
AddControl(*__pFindWordControl);
- __pFindWordControl->SetBounds(0,0, __pFindWordPanel->GetWidth(), __pFindWordPanel->GetHeight());
+ __pFindWordControl->SetBounds(0,0, __pFindWordControl->GetWidth(), __pFindWordControl->GetHeight());
SetControlAlwaysOnTop(*__pFindWordControl,true);
SetControlAlwaysOnTop(*__pFindWordControl,true);
- __pFindWordPanel->SetShowState(false);
- __pFindWordPanel->Invalidate(false);
+ __pFindWordControl->SetShowState(false);
+ __pFindWordControl->Invalidate(false);
__pFindWordBgLabel = static_cast<Label*>(__pFindWordControl->GetControl(L"IDC_LABEL1", true));
if (__pFindWordBgLabel != null)
__pFindWordBgLabel = static_cast<Label*>(__pFindWordControl->GetControl(L"IDC_LABEL1", true));
if (__pFindWordBgLabel != null)
__currentSearchStr = L"";
__pFindWordNext->SetEnabled(false);
__pFindWordPrev->SetEnabled(false);
__currentSearchStr = L"";
__pFindWordNext->SetEnabled(false);
__pFindWordPrev->SetEnabled(false);
- __pFindWordPanel->Invalidate(true);
+ __pFindWordControl->Invalidate(true);
}
break;
case IDA_FINDWORD_NEXT_CLICKED:
}
break;
case IDA_FINDWORD_NEXT_CLICKED:
AppLog("MainForm::OnUrlSubmitted url is %ls", url.GetPointer());
// __pFooterPanel->SetShowState(true);
AppLog("MainForm::OnUrlSubmitted url is %ls", url.GetPointer());
// __pFooterPanel->SetShowState(true);
+ if(__pFooterUrlField)
+ __pFooterUrlField->SetCursorPosition(__pFooterUrlField->GetTextLength());
OnAddressCancelledClicked(*__pAddressbar);
// __pAddressbar->SetShowState(false);
// RelayoutControls(false);
OnAddressCancelledClicked(*__pAddressbar);
// __pAddressbar->SetShowState(false);
// RelayoutControls(false);
__pFooterPanel->SetShowState(true);
if(__pWebViewer)
__pWebViewer->SetFocus();
__pFooterPanel->SetShowState(true);
if(__pWebViewer)
__pWebViewer->SetFocus();
+ else if(__pMostVisitedListView)
__pMostVisitedListView->SetFocus();
__pMostVisitedListView->SetFocus();
+ else if(__pMultiWindowButton)
+ __pMultiWindowButton->SetFocus();
__pFooterUrlField->SetFocusable(true);
__pMoreButton->SetFocus();
__pFooterUrlField->SetFocusable(true);
__pMoreButton->SetFocus();
__pFindWordEditField->SetText(__currentSearchStr);
//__pFindWordCountLabel->SetText(L"");
__pFindWordCountLabel->SetText(L"0/0");
__pFindWordEditField->SetText(__currentSearchStr);
//__pFindWordCountLabel->SetText(L"");
__pFindWordCountLabel->SetText(L"0/0");
- __pFindWordPanel->SetShowState(true);
+ __pFindWordControl->SetShowState(true);
__pFindWordPrev->Invalidate(false);
__pFindWordNext->Invalidate(false);
__pFindWordCountLabel->Invalidate(false);
__pFindWordPrev->Invalidate(false);
__pFindWordNext->Invalidate(false);
__pFindWordCountLabel->Invalidate(false);
- __pFindWordPanel->Invalidate(true);
+ __pFindWordControl->Invalidate(true);
}
void
MainForm::OnWebKeypadWillOpen(Tizen::Web::Controls::Web& source)
}
void
MainForm::OnWebKeypadWillOpen(Tizen::Web::Controls::Web& source)
//Header double - clicked
AppLog("Header double clicked");
}
//Header double - clicked
AppLog("Header double clicked");
}
- AppLog("MainForm::OnTouchPressed %d",__pFindWordPanel->GetShowState());
- ShowFindWordPanel(__pFindWordPanel->GetShowState(), true);
+ AppLog("MainForm::OnTouchPressed %d",__pFindWordControl->GetShowState());
+ ShowFindWordPanel(__pFindWordControl->GetShowState(), true);
{
AppLog("MainForm::OnOrientationChanged GetClientAreaBounds %d, %d",GetClientAreaBounds().width,GetClientAreaBounds().height);
int widthContextItem = 0;
{
AppLog("MainForm::OnOrientationChanged GetClientAreaBounds %d, %d",GetClientAreaBounds().width,GetClientAreaBounds().height);
int widthContextItem = 0;
- if(__pFindWordPanel != null)
- ShowFindWordPanel(__pFindWordPanel->GetShowState(), false);
+ if(__pFindWordControl != null)
+ ShowFindWordPanel(__pFindWordControl->GetShowState(), false);
if ( __pFooterLabel != null)
{
Bitmap *pBitmap = CommonUtil::GetNinepatchedBitmapN(IDB_SEARCH_INPUT_FIELD_BG, __pFooterLabel->GetWidth(), __pFooterLabel->GetHeight());
if ( __pFooterLabel != null)
{
Bitmap *pBitmap = CommonUtil::GetNinepatchedBitmapN(IDB_SEARCH_INPUT_FIELD_BG, __pFooterLabel->GetWidth(), __pFooterLabel->GetHeight());
MainForm::OnSettingsChange(int settingvalue)
{
AppLogDebug("MainForm::OnSettingsChange entered");
MainForm::OnSettingsChange(int settingvalue)
{
AppLogDebug("MainForm::OnSettingsChange entered");
+
+ if(settingvalue == (int)REGISTRY_SETTING_HOMEPAGE)
+ {
+ __pAddressbar->ResetGuideText();
+ }
if (__pWebViewer == null)
{
AppLogDebug("Webviewer is not initialized yet.");
return;
}
if (__pWebViewer == null)
{
AppLogDebug("Webviewer is not initialized yet.");
return;
}
if (settingvalue == (int) REGISTRY_SETTING_DEFAULT_VIEW)
{
WebSetting settings = __pWebViewer->GetSetting();
if (settingvalue == (int) REGISTRY_SETTING_DEFAULT_VIEW)
{
WebSetting settings = __pWebViewer->GetSetting();
void
MainForm::OnTouchPressed(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo)
{
void
MainForm::OnTouchPressed(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo)
{
- AppLog("MainForm::OnTouchPressed %d",__pFindWordPanel->GetShowState());
- ShowFindWordPanel(__pFindWordPanel->GetShowState(), true);
+ AppLog("MainForm::OnTouchPressed %d",__pFindWordControl->GetShowState());
+ ShowFindWordPanel(__pFindWordControl->GetShowState(), true);
}
__isLongPressedDone = false;
}
__isLongPressedDone = false;
settingInfo[SETTING_BLANK_PAGE].isSelected = false;
settingInfo[SETTING_CURRENT_PAGE].isSelected = false;
settingInfo[SETTING_FAVORITE_URL].isSelected = false;
settingInfo[SETTING_BLANK_PAGE].isSelected = false;
settingInfo[SETTING_CURRENT_PAGE].isSelected = false;
settingInfo[SETTING_FAVORITE_URL].isSelected = false;
- SettingPresentationModel::GetInstance()->SetHomepage(CommonUtil::GetString(L"IDS_BR_BODY_MOST_VISITED_SITES"));
+ SettingPresentationModel::GetInstance()->SetHomepage(L"IDS_BR_BODY_MOST_VISITED_SITES");
}
else if (homePage.CompareTo((L"IDS_BR_BODY_BLANK_PAGE")) == 0)
{
}
else if (homePage.CompareTo((L"IDS_BR_BODY_BLANK_PAGE")) == 0)
{
settingInfo[SETTING_BLANK_PAGE].isSelected = true;
settingInfo[SETTING_CURRENT_PAGE].isSelected = false;
settingInfo[SETTING_FAVORITE_URL].isSelected = false;
settingInfo[SETTING_BLANK_PAGE].isSelected = true;
settingInfo[SETTING_CURRENT_PAGE].isSelected = false;
settingInfo[SETTING_FAVORITE_URL].isSelected = false;
- SettingPresentationModel::GetInstance()->SetHomepage(CommonUtil::GetString(L"IDS_BR_BODY_BLANK_PAGE"));
+ SettingPresentationModel::GetInstance()->SetHomepage(L"IDS_BR_BODY_BLANK_PAGE");
if (__currentURL.CompareTo(L"") != 0)
{
AppLog("setting current page currentURL is =%ls",__currentURL.GetPointer());
if (__currentURL.CompareTo(L"") != 0)
{
AppLog("setting current page currentURL is =%ls",__currentURL.GetPointer());
- SettingPresentationModel::GetInstance()->SetHomepage(CommonUtil::GetString(L"IDS_BR_BODY_USER_HOMEPAGE"));
+ SettingPresentationModel::GetInstance()->SetHomepage(L"IDS_BR_BODY_USER_HOMEPAGE");
SettingPresentationModel::GetInstance()->SetFavoriteValue(__currentURL);
settingInfo[SETTING_FAVORITE_URL].titleText = __currentURL;
// listView.RefreshList(groupIndex, effectiveIndex, LIST_REFRESH_TYPE_ITEM_MODIFY);
SettingPresentationModel::GetInstance()->SetFavoriteValue(__currentURL);
settingInfo[SETTING_FAVORITE_URL].titleText = __currentURL;
// listView.RefreshList(groupIndex, effectiveIndex, LIST_REFRESH_TYPE_ITEM_MODIFY);
settingInfo[SETTING_BLANK_PAGE].isSelected = false;
settingInfo[SETTING_CURRENT_PAGE].isSelected = false;
settingInfo[SETTING_FAVORITE_URL].isSelected = false;
settingInfo[SETTING_BLANK_PAGE].isSelected = false;
settingInfo[SETTING_CURRENT_PAGE].isSelected = false;
settingInfo[SETTING_FAVORITE_URL].isSelected = false;
- SettingPresentationModel::GetInstance()->SetHomepage(CommonUtil::GetString(L"IDS_BR_BODY_MOST_VISITED_SITES"));
+ SettingPresentationModel::GetInstance()->SetHomepage(L"IDS_BR_BODY_MOST_VISITED_SITES");
}
else if (homePage.CompareTo((L"IDS_BR_BODY_BLANK_PAGE")) == 0)
}
else if (homePage.CompareTo((L"IDS_BR_BODY_BLANK_PAGE")) == 0)
settingInfo[SETTING_BLANK_PAGE].isSelected = true;
settingInfo[SETTING_CURRENT_PAGE].isSelected = false;
settingInfo[SETTING_FAVORITE_URL].isSelected = false;
settingInfo[SETTING_BLANK_PAGE].isSelected = true;
settingInfo[SETTING_CURRENT_PAGE].isSelected = false;
settingInfo[SETTING_FAVORITE_URL].isSelected = false;
- SettingPresentationModel::GetInstance()->SetHomepage(CommonUtil::GetString(L"IDS_BR_BODY_BLANK_PAGE"));
+ SettingPresentationModel::GetInstance()->SetHomepage(L"IDS_BR_BODY_BLANK_PAGE");