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

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

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

Powered by Google App Engine
This is Rietveld 408576698