| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009, 2010, 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010, 2011, 2012 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 // Method that controls whether pressing Tab key cycles through page | 98 // Method that controls whether pressing Tab key cycles through page |
| 99 // elements or inserts a '\t' char in the focused text area. | 99 // elements or inserts a '\t' char in the focused text area. |
| 100 virtual bool tabKeyCyclesThroughElements() const = 0; | 100 virtual bool tabKeyCyclesThroughElements() const = 0; |
| 101 virtual void setTabKeyCyclesThroughElements(bool) = 0; | 101 virtual void setTabKeyCyclesThroughElements(bool) = 0; |
| 102 | 102 |
| 103 // Controls the WebView's active state, which may affect the rendering | 103 // Controls the WebView's active state, which may affect the rendering |
| 104 // of elements on the page (i.e., tinting of input elements). | 104 // of elements on the page (i.e., tinting of input elements). |
| 105 virtual bool isActive() const = 0; | 105 virtual bool isActive() const = 0; |
| 106 virtual void setIsActive(bool) = 0; | 106 virtual void setIsActive(bool) = 0; |
| 107 | 107 |
| 108 // Allows disabling domain relaxation. | |
| 109 virtual void setDomainRelaxationForbidden(bool, const WebString& scheme) = 0
; | |
| 110 | |
| 111 // Frames -------------------------------------------------------------- | 108 // Frames -------------------------------------------------------------- |
| 112 | 109 |
| 113 virtual WebFrame* mainFrame() = 0; | 110 virtual WebFrame* mainFrame() = 0; |
| 114 | 111 |
| 115 virtual void injectModule(const WebString& path) = 0; | 112 virtual void injectModule(const WebString& path) = 0; |
| 116 | 113 |
| 117 // Focus --------------------------------------------------------------- | 114 // Focus --------------------------------------------------------------- |
| 118 | 115 |
| 119 virtual WebFrame* focusedFrame() = 0; | 116 virtual WebFrame* focusedFrame() = 0; |
| 120 virtual void setFocusedFrame(WebFrame*) = 0; | 117 virtual void setFocusedFrame(WebFrame*) = 0; |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 | 182 |
| 186 // Testing functionality for TestRunner --------------------------------- | 183 // Testing functionality for TestRunner --------------------------------- |
| 187 | 184 |
| 188 protected: | 185 protected: |
| 189 ~WebView() {} | 186 ~WebView() {} |
| 190 }; | 187 }; |
| 191 | 188 |
| 192 } // namespace blink | 189 } // namespace blink |
| 193 | 190 |
| 194 #endif // SKY_ENGINE_PUBLIC_WEB_WEBVIEW_H_ | 191 #endif // SKY_ENGINE_PUBLIC_WEB_WEBVIEW_H_ |
| OLD | NEW |