| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 virtual bool acceptsLoadDrops() { return true; } | 111 virtual bool acceptsLoadDrops() { return true; } |
| 112 | 112 |
| 113 // Take focus away from the WebView by focusing an adjacent UI element | 113 // Take focus away from the WebView by focusing an adjacent UI element |
| 114 // in the containing window. | 114 // in the containing window. |
| 115 virtual void focusNext() { } | 115 virtual void focusNext() { } |
| 116 virtual void focusPrevious() { } | 116 virtual void focusPrevious() { } |
| 117 | 117 |
| 118 // Called when a new node gets focused. | 118 // Called when a new node gets focused. |
| 119 virtual void focusedNodeChanged(const WebNode&) { } | 119 virtual void focusedNodeChanged(const WebNode&) { } |
| 120 | 120 |
| 121 // Indicates two things: | |
| 122 // 1) This view may have a new layout now. | |
| 123 // 2) Calling layout() is a no-op. | |
| 124 // After calling WebWidget::layout(), expect to get this notification | |
| 125 // unless the view did not need a layout. | |
| 126 virtual void didUpdateLayout() { } | |
| 127 | |
| 128 // Returns comma separated list of accept languages. | 121 // Returns comma separated list of accept languages. |
| 129 virtual WebString acceptLanguages() { return WebString(); } | 122 virtual WebString acceptLanguages() { return WebString(); } |
| 130 | 123 |
| 131 // Developer tools ----------------------------------------------------- | 124 // Developer tools ----------------------------------------------------- |
| 132 | 125 |
| 133 // Called to notify the client that the inspector's settings were | 126 // Called to notify the client that the inspector's settings were |
| 134 // changed and should be saved. See WebView::inspectorSettings. | 127 // changed and should be saved. See WebView::inspectorSettings. |
| 135 virtual void didUpdateInspectorSettings() { } | 128 virtual void didUpdateInspectorSettings() { } |
| 136 | 129 |
| 137 virtual void didUpdateInspectorSetting(const WebString& key, const WebString
& value) { } | 130 virtual void didUpdateInspectorSetting(const WebString& key, const WebString
& value) { } |
| (...skipping 24 matching lines...) Expand all Loading... |
| 162 return WebPageVisibilityStateVisible; | 155 return WebPageVisibilityStateVisible; |
| 163 } | 156 } |
| 164 | 157 |
| 165 protected: | 158 protected: |
| 166 ~WebViewClient() { } | 159 ~WebViewClient() { } |
| 167 }; | 160 }; |
| 168 | 161 |
| 169 } // namespace blink | 162 } // namespace blink |
| 170 | 163 |
| 171 #endif // SKY_ENGINE_PUBLIC_WEB_WEBVIEWCLIENT_H_ | 164 #endif // SKY_ENGINE_PUBLIC_WEB_WEBVIEWCLIENT_H_ |
| OLD | NEW |