Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Side by Side Diff: public/web/WebView.h

Issue 737853002: Refactor Autofill for OOPIF, step 1: add autofillClient to WebLocalFrame (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fn ordering Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « public/web/WebLocalFrame.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « public/web/WebLocalFrame.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698