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 25 matching lines...) Expand all Loading... |
36 #include "../platform/WebVector.h" | 36 #include "../platform/WebVector.h" |
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; | |
47 class WebCredentialManagerClient; | 46 class WebCredentialManagerClient; |
48 class WebDevToolsAgent; | 47 class WebDevToolsAgent; |
49 class WebDevToolsAgentClient; | 48 class WebDevToolsAgentClient; |
50 class WebDragData; | 49 class WebDragData; |
51 class WebFrame; | 50 class WebFrame; |
52 class WebFrameClient; | 51 class WebFrameClient; |
53 class WebGraphicsContext3D; | 52 class WebGraphicsContext3D; |
54 class WebHitTestResult; | 53 class WebHitTestResult; |
55 class WebNode; | 54 class WebNode; |
56 class WebPageOverlay; | 55 class WebPageOverlay; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 // to pass a null client pointer. | 87 // to pass a null client pointer. |
89 BLINK_EXPORT static WebView* create(WebViewClient*); | 88 BLINK_EXPORT static WebView* create(WebViewClient*); |
90 | 89 |
91 // After creating a WebView, you should immediately call this method. | 90 // After creating a WebView, you should immediately call this method. |
92 // You can optionally modify the settings before calling this method. | 91 // You can optionally modify the settings before calling this method. |
93 // This WebFrame will receive events for the main frame and must not | 92 // This WebFrame will receive events for the main frame and must not |
94 // be null. | 93 // be null. |
95 virtual void setMainFrame(WebFrame*) = 0; | 94 virtual void setMainFrame(WebFrame*) = 0; |
96 | 95 |
97 // Initializes the various client interfaces. | 96 // Initializes the various client interfaces. |
98 virtual void setAutofillClient(WebAutofillClient*) = 0; | |
99 virtual void setCredentialManagerClient(WebCredentialManagerClient*) = 0; | 97 virtual void setCredentialManagerClient(WebCredentialManagerClient*) = 0; |
100 virtual void setDevToolsAgentClient(WebDevToolsAgentClient*) = 0; | 98 virtual void setDevToolsAgentClient(WebDevToolsAgentClient*) = 0; |
101 virtual void setPrerendererClient(WebPrerendererClient*) = 0; | 99 virtual void setPrerendererClient(WebPrerendererClient*) = 0; |
102 virtual void setSpellCheckClient(WebSpellCheckClient*) = 0; | 100 virtual void setSpellCheckClient(WebSpellCheckClient*) = 0; |
103 | 101 |
104 // Options ------------------------------------------------------------- | 102 // Options ------------------------------------------------------------- |
105 | 103 |
106 // The returned pointer is valid for the lifetime of the WebView. | 104 // The returned pointer is valid for the lifetime of the WebView. |
107 virtual WebSettings* settings() = 0; | 105 virtual WebSettings* settings() = 0; |
108 | 106 |
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
497 // event gets generated/tested. | 495 // event gets generated/tested. |
498 virtual void forceNextWebGLContextCreationToFail() = 0; | 496 virtual void forceNextWebGLContextCreationToFail() = 0; |
499 | 497 |
500 protected: | 498 protected: |
501 ~WebView() {} | 499 ~WebView() {} |
502 }; | 500 }; |
503 | 501 |
504 } // namespace blink | 502 } // namespace blink |
505 | 503 |
506 #endif | 504 #endif |
OLD | NEW |