OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 virtual void setWindowFeatures(const WebWindowFeatures&) override; | 178 virtual void setWindowFeatures(const WebWindowFeatures&) override; |
179 virtual void setOpenedByDOM() override; | 179 virtual void setOpenedByDOM() override; |
180 virtual WebFrame* mainFrame() override; | 180 virtual WebFrame* mainFrame() override; |
181 virtual WebFrame* findFrameByName( | 181 virtual WebFrame* findFrameByName( |
182 const WebString& name, WebFrame* relativeToFrame) override; | 182 const WebString& name, WebFrame* relativeToFrame) override; |
183 virtual WebFrame* focusedFrame() override; | 183 virtual WebFrame* focusedFrame() override; |
184 virtual void setFocusedFrame(WebFrame*) override; | 184 virtual void setFocusedFrame(WebFrame*) override; |
185 virtual void setInitialFocus(bool reverse) override; | 185 virtual void setInitialFocus(bool reverse) override; |
186 virtual void clearFocusedElement() override; | 186 virtual void clearFocusedElement() override; |
187 virtual void scrollFocusedNodeIntoRect(const WebRect&) override; | 187 virtual void scrollFocusedNodeIntoRect(const WebRect&) override; |
| 188 virtual void advanceFocusToNextInputField(bool direction) override; |
188 virtual void zoomToFindInPageRect(const WebRect&) override; | 189 virtual void zoomToFindInPageRect(const WebRect&) override; |
189 virtual void advanceFocus(bool reverse) override; | 190 virtual void advanceFocus(bool reverse) override; |
190 virtual double zoomLevel() override; | 191 virtual double zoomLevel() override; |
191 virtual double setZoomLevel(double) override; | 192 virtual double setZoomLevel(double) override; |
192 virtual void zoomLimitsChanged(double minimumZoomLevel, double maximumZoomLe
vel) override; | 193 virtual void zoomLimitsChanged(double minimumZoomLevel, double maximumZoomLe
vel) override; |
193 virtual float textZoomFactor() override; | 194 virtual float textZoomFactor() override; |
194 virtual float setTextZoomFactor(float) override; | 195 virtual float setTextZoomFactor(float) override; |
195 virtual void setInitialPageScaleOverride(float) override; | 196 virtual void setInitialPageScaleOverride(float) override; |
196 virtual bool zoomToMultipleTargetsRect(const WebRect&) override; | 197 virtual bool zoomToMultipleTargetsRect(const WebRect&) override; |
197 virtual float pageScaleFactor() const override; | 198 virtual float pageScaleFactor() const override; |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
539 enum DragAction { | 540 enum DragAction { |
540 DragEnter, | 541 DragEnter, |
541 DragOver | 542 DragOver |
542 }; | 543 }; |
543 | 544 |
544 explicit WebViewImpl(WebViewClient*); | 545 explicit WebViewImpl(WebViewClient*); |
545 virtual ~WebViewImpl(); | 546 virtual ~WebViewImpl(); |
546 | 547 |
547 WebTextInputType textInputType(); | 548 WebTextInputType textInputType(); |
548 int textInputFlags(); | 549 int textInputFlags(); |
| 550 Element* haveNextInput(Element*); |
| 551 Element* havePreviousInput(Element*); |
| 552 bool wantEnterEvents(Element*); |
549 | 553 |
550 WebString inputModeOfFocusedElement(); | 554 WebString inputModeOfFocusedElement(); |
551 | 555 |
552 // Returns true if the event was actually processed. | 556 // Returns true if the event was actually processed. |
553 bool keyEventDefault(const WebKeyboardEvent&); | 557 bool keyEventDefault(const WebKeyboardEvent&); |
554 | 558 |
555 bool confirmComposition(const WebString& text, ConfirmCompositionBehavior); | 559 bool confirmComposition(const WebString& text, ConfirmCompositionBehavior); |
556 | 560 |
557 // Returns true if the view was scrolled. | 561 // Returns true if the view was scrolled. |
558 bool scrollViewWithKeyboard(int keyCode, int modifiers); | 562 bool scrollViewWithKeyboard(int keyCode, int modifiers); |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
752 float m_topControlsLayoutHeight; | 756 float m_topControlsLayoutHeight; |
753 }; | 757 }; |
754 | 758 |
755 // We have no ways to check if the specified WebView is an instance of | 759 // We have no ways to check if the specified WebView is an instance of |
756 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 760 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
757 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 761 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
758 | 762 |
759 } // namespace blink | 763 } // namespace blink |
760 | 764 |
761 #endif | 765 #endif |
OLD | NEW |