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

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

Issue 2293373002: Remove unused prefs/api/resource for setPageEncoding (Closed)
Patch Set: It's September! Created 4 years, 3 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/WebSettings.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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 virtual void setSpellCheckClient(WebSpellCheckClient*) = 0; 139 virtual void setSpellCheckClient(WebSpellCheckClient*) = 0;
140 140
141 // Options ------------------------------------------------------------- 141 // Options -------------------------------------------------------------
142 142
143 // The returned pointer is valid for the lifetime of the WebView. 143 // The returned pointer is valid for the lifetime of the WebView.
144 virtual WebSettings* settings() = 0; 144 virtual WebSettings* settings() = 0;
145 145
146 // Corresponds to the encoding of the main frame. Setting the page 146 // Corresponds to the encoding of the main frame. Setting the page
147 // encoding may cause the main frame to reload. 147 // encoding may cause the main frame to reload.
148 virtual WebString pageEncoding() const = 0; 148 virtual WebString pageEncoding() const = 0;
149 virtual void setPageEncoding(const WebString&) = 0;
150 149
151 // Controls whether pressing Tab key advances focus to links. 150 // Controls whether pressing Tab key advances focus to links.
152 virtual bool tabsToLinks() const = 0; 151 virtual bool tabsToLinks() const = 0;
153 virtual void setTabsToLinks(bool) = 0; 152 virtual void setTabsToLinks(bool) = 0;
154 153
155 // Method that controls whether pressing Tab key cycles through page 154 // Method that controls whether pressing Tab key cycles through page
156 // elements or inserts a '\t' char in the focused text area. 155 // elements or inserts a '\t' char in the focused text area.
157 virtual bool tabKeyCyclesThroughElements() const = 0; 156 virtual bool tabKeyCyclesThroughElements() const = 0;
158 virtual void setTabKeyCyclesThroughElements(bool) = 0; 157 virtual void setTabKeyCyclesThroughElements(bool) = 0;
159 158
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 // completed. 527 // completed.
529 WebWidget* widget() { return this; } 528 WebWidget* widget() { return this; }
530 529
531 protected: 530 protected:
532 ~WebView() {} 531 ~WebView() {}
533 }; 532 };
534 533
535 } // namespace blink 534 } // namespace blink
536 535
537 #endif 536 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebSettings.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698