| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 class WebHitTestResult; | 51 class WebHitTestResult; |
| 52 class WebNode; | 52 class WebNode; |
| 53 class WebPageOverlay; | 53 class WebPageOverlay; |
| 54 class WebPermissionClient; | 54 class WebPermissionClient; |
| 55 class WebPrerendererClient; | 55 class WebPrerendererClient; |
| 56 class WebRange; | 56 class WebRange; |
| 57 class WebSettings; | 57 class WebSettings; |
| 58 class WebSpellCheckClient; | 58 class WebSpellCheckClient; |
| 59 class WebString; | 59 class WebString; |
| 60 class WebPasswordGeneratorClient; | 60 class WebPasswordGeneratorClient; |
| 61 class WebSharedWorkerRepositoryClient; |
| 61 class WebValidationMessageClient; | 62 class WebValidationMessageClient; |
| 62 class WebViewClient; | 63 class WebViewClient; |
| 63 struct WebActiveWheelFlingParameters; | 64 struct WebActiveWheelFlingParameters; |
| 64 struct WebMediaPlayerAction; | 65 struct WebMediaPlayerAction; |
| 65 struct WebPluginAction; | 66 struct WebPluginAction; |
| 66 struct WebPoint; | 67 struct WebPoint; |
| 67 struct WebWindowFeatures; | 68 struct WebWindowFeatures; |
| 68 | 69 |
| 69 class WebView : public WebWidget { | 70 class WebView : public WebWidget { |
| 70 public: | 71 public: |
| (...skipping 26 matching lines...) Expand all Loading... |
| 97 virtual void initializeMainFrame(WebFrameClient*) = 0; | 98 virtual void initializeMainFrame(WebFrameClient*) = 0; |
| 98 | 99 |
| 99 // Initializes the various client interfaces. | 100 // Initializes the various client interfaces. |
| 100 virtual void setAutofillClient(WebAutofillClient*) = 0; | 101 virtual void setAutofillClient(WebAutofillClient*) = 0; |
| 101 virtual void setDevToolsAgentClient(WebDevToolsAgentClient*) = 0; | 102 virtual void setDevToolsAgentClient(WebDevToolsAgentClient*) = 0; |
| 102 virtual void setPermissionClient(WebPermissionClient*) = 0; | 103 virtual void setPermissionClient(WebPermissionClient*) = 0; |
| 103 virtual void setPrerendererClient(WebPrerendererClient*) = 0; | 104 virtual void setPrerendererClient(WebPrerendererClient*) = 0; |
| 104 virtual void setSpellCheckClient(WebSpellCheckClient*) = 0; | 105 virtual void setSpellCheckClient(WebSpellCheckClient*) = 0; |
| 105 virtual void setValidationMessageClient(WebValidationMessageClient*) = 0; | 106 virtual void setValidationMessageClient(WebValidationMessageClient*) = 0; |
| 106 virtual void setPasswordGeneratorClient(WebPasswordGeneratorClient*) = 0; | 107 virtual void setPasswordGeneratorClient(WebPasswordGeneratorClient*) = 0; |
| 108 virtual void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient
*) = 0; |
| 107 | 109 |
| 108 // Options ------------------------------------------------------------- | 110 // Options ------------------------------------------------------------- |
| 109 | 111 |
| 110 // The returned pointer is valid for the lifetime of the WebView. | 112 // The returned pointer is valid for the lifetime of the WebView. |
| 111 virtual WebSettings* settings() = 0; | 113 virtual WebSettings* settings() = 0; |
| 112 | 114 |
| 113 // Corresponds to the encoding of the main frame. Setting the page | 115 // Corresponds to the encoding of the main frame. Setting the page |
| 114 // encoding may cause the main frame to reload. | 116 // encoding may cause the main frame to reload. |
| 115 virtual WebString pageEncoding() const = 0; | 117 virtual WebString pageEncoding() const = 0; |
| 116 virtual void setPageEncoding(const WebString&) = 0; | 118 virtual void setPageEncoding(const WebString&) = 0; |
| (...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 512 | 514 |
| 513 // Testing functionality for TestRunner --------------------------------- | 515 // Testing functionality for TestRunner --------------------------------- |
| 514 | 516 |
| 515 protected: | 517 protected: |
| 516 ~WebView() {} | 518 ~WebView() {} |
| 517 }; | 519 }; |
| 518 | 520 |
| 519 } // namespace WebKit | 521 } // namespace WebKit |
| 520 | 522 |
| 521 #endif | 523 #endif |
| OLD | NEW |