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 26 matching lines...) Expand all Loading... |
37 #include "WebDragOperation.h" | 37 #include "WebDragOperation.h" |
38 #include "WebHistoryCommitType.h" | 38 #include "WebHistoryCommitType.h" |
39 #include "WebHistoryItem.h" | 39 #include "WebHistoryItem.h" |
40 #include "WebPageVisibilityState.h" | 40 #include "WebPageVisibilityState.h" |
41 #include "WebWidget.h" | 41 #include "WebWidget.h" |
42 | 42 |
43 namespace blink { | 43 namespace blink { |
44 | 44 |
45 class WebAXObject; | 45 class WebAXObject; |
46 class WebAutofillClient; | 46 class WebAutofillClient; |
| 47 class WebCredentialManagerClient; |
47 class WebDevToolsAgent; | 48 class WebDevToolsAgent; |
48 class WebDevToolsAgentClient; | 49 class WebDevToolsAgentClient; |
49 class WebDragData; | 50 class WebDragData; |
50 class WebFrame; | 51 class WebFrame; |
51 class WebFrameClient; | 52 class WebFrameClient; |
52 class WebGraphicsContext3D; | 53 class WebGraphicsContext3D; |
53 class WebHitTestResult; | 54 class WebHitTestResult; |
54 class WebNode; | 55 class WebNode; |
55 class WebPageOverlay; | 56 class WebPageOverlay; |
56 class WebPrerendererClient; | 57 class WebPrerendererClient; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 BLINK_EXPORT static WebView* create(WebViewClient*); | 89 BLINK_EXPORT static WebView* create(WebViewClient*); |
89 | 90 |
90 // After creating a WebView, you should immediately call this method. | 91 // After creating a WebView, you should immediately call this method. |
91 // You can optionally modify the settings before calling this method. | 92 // You can optionally modify the settings before calling this method. |
92 // 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 |
93 // be null. | 94 // be null. |
94 virtual void setMainFrame(WebFrame*) = 0; | 95 virtual void setMainFrame(WebFrame*) = 0; |
95 | 96 |
96 // Initializes the various client interfaces. | 97 // Initializes the various client interfaces. |
97 virtual void setAutofillClient(WebAutofillClient*) = 0; | 98 virtual void setAutofillClient(WebAutofillClient*) = 0; |
| 99 virtual void setCredentialManagerClient(WebCredentialManagerClient*) = 0; |
98 virtual void setDevToolsAgentClient(WebDevToolsAgentClient*) = 0; | 100 virtual void setDevToolsAgentClient(WebDevToolsAgentClient*) = 0; |
99 virtual void setPrerendererClient(WebPrerendererClient*) = 0; | 101 virtual void setPrerendererClient(WebPrerendererClient*) = 0; |
100 virtual void setSpellCheckClient(WebSpellCheckClient*) = 0; | 102 virtual void setSpellCheckClient(WebSpellCheckClient*) = 0; |
101 | 103 |
102 // Options ------------------------------------------------------------- | 104 // Options ------------------------------------------------------------- |
103 | 105 |
104 // The returned pointer is valid for the lifetime of the WebView. | 106 // The returned pointer is valid for the lifetime of the WebView. |
105 virtual WebSettings* settings() = 0; | 107 virtual WebSettings* settings() = 0; |
106 | 108 |
107 // Corresponds to the encoding of the main frame. Setting the page | 109 // Corresponds to the encoding of the main frame. Setting the page |
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
496 | 498 |
497 // Testing functionality for TestRunner --------------------------------- | 499 // Testing functionality for TestRunner --------------------------------- |
498 | 500 |
499 protected: | 501 protected: |
500 ~WebView() {} | 502 ~WebView() {} |
501 }; | 503 }; |
502 | 504 |
503 } // namespace blink | 505 } // namespace blink |
504 | 506 |
505 #endif | 507 #endif |
OLD | NEW |