aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llwebbrowserctrl.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llwebbrowserctrl.h')
-rw-r--r--linden/indra/newview/llwebbrowserctrl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/linden/indra/newview/llwebbrowserctrl.h b/linden/indra/newview/llwebbrowserctrl.h
index bad6e88..e6f9005 100644
--- a/linden/indra/newview/llwebbrowserctrl.h
+++ b/linden/indra/newview/llwebbrowserctrl.h
@@ -192,8 +192,12 @@ class LLWebBrowserCtrl :
192 bool getFrequentUpdates() { return mFrequentUpdates; }; 192 bool getFrequentUpdates() { return mFrequentUpdates; };
193 void setFrequentUpdates( bool frequentUpdatesIn ) { mFrequentUpdates = frequentUpdatesIn; }; 193 void setFrequentUpdates( bool frequentUpdatesIn ) { mFrequentUpdates = frequentUpdatesIn; };
194 194
195 void setIgnoreUIScale(bool ignore) { mIgnoreUIScale = ignore; }
196 bool getIgnoreUIScale() { return mIgnoreUIScale; }
197
195 // over-rides 198 // over-rides
196 virtual BOOL handleKey( KEY key, MASK mask, BOOL called_from_parent ); 199 virtual BOOL handleKey( KEY key, MASK mask, BOOL called_from_parent );
200 virtual BOOL handleUnicodeChar(llwchar uni_char, BOOL called_from_parent);
197 virtual void reshape( S32 width, S32 height, BOOL called_from_parent ); 201 virtual void reshape( S32 width, S32 height, BOOL called_from_parent );
198 virtual void draw(); 202 virtual void draw();
199 virtual void onVisibilityChange ( BOOL curVisibilityIn ); 203 virtual void onVisibilityChange ( BOOL curVisibilityIn );
@@ -214,6 +218,9 @@ class LLWebBrowserCtrl :
214 virtual void onLocationChange( const EventType& eventIn ); 218 virtual void onLocationChange( const EventType& eventIn );
215 virtual void onClickLinkHref( const EventType& eventIn ); 219 virtual void onClickLinkHref( const EventType& eventIn );
216 virtual void onClickLinkSecondLife( const EventType& eventIn ); 220 virtual void onClickLinkSecondLife( const EventType& eventIn );
221
222 protected:
223 void convertInputCoords(S32& x, S32& y);
217 224
218 private: 225 private:
219 LLWebBrowserCtrlEventEmitter< LLWebBrowserCtrlObserver > mEventEmitter; 226 LLWebBrowserCtrlEventEmitter< LLWebBrowserCtrlObserver > mEventEmitter;
@@ -224,6 +231,7 @@ class LLWebBrowserCtrl :
224 bool mFrequentUpdates; 231 bool mFrequentUpdates;
225 bool mOpenLinksInExternalBrowser; 232 bool mOpenLinksInExternalBrowser;
226 std::string mHomePageUrl; 233 std::string mHomePageUrl;
234 bool mIgnoreUIScale;
227}; 235};
228 236
229//////////////////////////////////////////////////////////////////////////////// 237////////////////////////////////////////////////////////////////////////////////