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

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

Issue 2791753003: Split WebTextCheckClient off WebSpellCheckClient (Closed)
Patch Set: Add TODOs for class renaming Created 3 years, 8 months 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 | « third_party/WebKit/public/web/WebTextCheckClient.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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 class WebCredentialManagerClient; 51 class WebCredentialManagerClient;
52 class WebFrame; 52 class WebFrame;
53 class WebHitTestResult; 53 class WebHitTestResult;
54 class WebLocalFrame; 54 class WebLocalFrame;
55 class WebPageImportanceSignals; 55 class WebPageImportanceSignals;
56 class WebPrerendererClient; 56 class WebPrerendererClient;
57 class WebRemoteFrame; 57 class WebRemoteFrame;
58 class WebSettings; 58 class WebSettings;
59 class WebSpellCheckClient; 59 class WebSpellCheckClient;
60 class WebString; 60 class WebString;
61 class WebTextCheckClient;
61 class WebViewClient; 62 class WebViewClient;
62 class WebViewScheduler; 63 class WebViewScheduler;
63 struct WebActiveWheelFlingParameters; 64 struct WebActiveWheelFlingParameters;
64 struct WebDeviceEmulationParams; 65 struct WebDeviceEmulationParams;
65 struct WebFloatPoint; 66 struct WebFloatPoint;
66 struct WebMediaPlayerAction; 67 struct WebMediaPlayerAction;
67 struct WebPluginAction; 68 struct WebPluginAction;
68 struct WebPoint; 69 struct WebPoint;
69 struct WebWindowFeatures; 70 struct WebWindowFeatures;
70 71
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // You can optionally modify the settings before calling this method. 129 // You can optionally modify the settings before calling this method.
129 // This WebFrame will receive events for the main frame and must not 130 // This WebFrame will receive events for the main frame and must not
130 // be null. 131 // be null.
131 virtual void setMainFrame(WebFrame*) = 0; 132 virtual void setMainFrame(WebFrame*) = 0;
132 133
133 // Initializes the various client interfaces. 134 // Initializes the various client interfaces.
134 virtual void setCredentialManagerClient(WebCredentialManagerClient*) = 0; 135 virtual void setCredentialManagerClient(WebCredentialManagerClient*) = 0;
135 virtual void setPrerendererClient(WebPrerendererClient*) = 0; 136 virtual void setPrerendererClient(WebPrerendererClient*) = 0;
136 virtual void setSpellCheckClient(WebSpellCheckClient*) = 0; 137 virtual void setSpellCheckClient(WebSpellCheckClient*) = 0;
137 138
139 // TODO(xiaochengh): Move reference of WebTextCheckClient to WebLocalFrame.
140 virtual void setTextCheckClient(WebTextCheckClient*) = 0;
141
138 // Options ------------------------------------------------------------- 142 // Options -------------------------------------------------------------
139 143
140 // The returned pointer is valid for the lifetime of the WebView. 144 // The returned pointer is valid for the lifetime of the WebView.
141 virtual WebSettings* settings() = 0; 145 virtual WebSettings* settings() = 0;
142 146
143 // Corresponds to the encoding of the main frame. Setting the page 147 // Corresponds to the encoding of the main frame. Setting the page
144 // encoding may cause the main frame to reload. 148 // encoding may cause the main frame to reload.
145 virtual WebString pageEncoding() const = 0; 149 virtual WebString pageEncoding() const = 0;
146 150
147 // Controls whether pressing Tab key advances focus to links. 151 // Controls whether pressing Tab key advances focus to links.
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 // completed. 503 // completed.
500 WebWidget* widget() { return this; } 504 WebWidget* widget() { return this; }
501 505
502 protected: 506 protected:
503 ~WebView() {} 507 ~WebView() {}
504 }; 508 };
505 509
506 } // namespace blink 510 } // namespace blink
507 511
508 #endif 512 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebTextCheckClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698