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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 // to pass a null client pointer. | 88 // to pass a null client pointer. |
89 BLINK_EXPORT static WebView* create(WebViewClient*); | 89 BLINK_EXPORT static WebView* create(WebViewClient*); |
90 | 90 |
91 // After creating a WebView, you should immediately call this method. | 91 // After creating a WebView, you should immediately call this method. |
92 // You can optionally modify the settings before calling this method. | 92 // You can optionally modify the settings before calling this method. |
93 // This WebFrame will receive events for the main frame and must not | 93 // This WebFrame will receive events for the main frame and must not |
94 // be null. | 94 // be null. |
95 virtual void setMainFrame(WebFrame*) = 0; | 95 virtual void setMainFrame(WebFrame*) = 0; |
96 | 96 |
97 // Initializes the various client interfaces. | 97 // Initializes the various client interfaces. |
| 98 // FIXME: remove. See http://crbug.com/425756 |
98 virtual void setAutofillClient(WebAutofillClient*) = 0; | 99 virtual void setAutofillClient(WebAutofillClient*) = 0; |
99 virtual void setCredentialManagerClient(WebCredentialManagerClient*) = 0; | 100 virtual void setCredentialManagerClient(WebCredentialManagerClient*) = 0; |
100 virtual void setDevToolsAgentClient(WebDevToolsAgentClient*) = 0; | 101 virtual void setDevToolsAgentClient(WebDevToolsAgentClient*) = 0; |
101 virtual void setPrerendererClient(WebPrerendererClient*) = 0; | 102 virtual void setPrerendererClient(WebPrerendererClient*) = 0; |
102 virtual void setSpellCheckClient(WebSpellCheckClient*) = 0; | 103 virtual void setSpellCheckClient(WebSpellCheckClient*) = 0; |
103 | 104 |
104 // Options ------------------------------------------------------------- | 105 // Options ------------------------------------------------------------- |
105 | 106 |
106 // The returned pointer is valid for the lifetime of the WebView. | 107 // The returned pointer is valid for the lifetime of the WebView. |
107 virtual WebSettings* settings() = 0; | 108 virtual WebSettings* settings() = 0; |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
497 // event gets generated/tested. | 498 // event gets generated/tested. |
498 virtual void forceNextWebGLContextCreationToFail() = 0; | 499 virtual void forceNextWebGLContextCreationToFail() = 0; |
499 | 500 |
500 protected: | 501 protected: |
501 ~WebView() {} | 502 ~WebView() {} |
502 }; | 503 }; |
503 | 504 |
504 } // namespace blink | 505 } // namespace blink |
505 | 506 |
506 #endif | 507 #endif |
OLD | NEW |