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

Side by Side Diff: sky/engine/public/web/WebFrame.h

Issue 866813005: Remove some dead code in WebFrame (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « no previous file | sky/engine/web/WebLocalFrameImpl.h » ('j') | 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 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 // frame. There can be many V8 contexts associated with this frame, one for 148 // frame. There can be many V8 contexts associated with this frame, one for
149 // each isolated world and one for the main world. If you don't know what 149 // each isolated world and one for the main world. If you don't know what
150 // the "main world" or an "isolated world" is, then you probably shouldn't 150 // the "main world" or an "isolated world" is, then you probably shouldn't
151 // be calling this API. 151 // be calling this API.
152 virtual v8::Local<v8::Context> mainWorldScriptContext() const = 0; 152 virtual v8::Local<v8::Context> mainWorldScriptContext() const = 0;
153 153
154 // Navigation ---------------------------------------------------------- 154 // Navigation ----------------------------------------------------------
155 155
156 virtual void load(const WebURL&, mojo::ScopedDataPipeConsumerHandle) = 0; 156 virtual void load(const WebURL&, mojo::ScopedDataPipeConsumerHandle) = 0;
157 157
158 // Sets the referrer for the given request to be the specified URL or
159 // if that is null, then it sets the referrer to the referrer that the
160 // frame would use for subresources. NOTE: This method also filters
161 // out invalid referrers (e.g., it is invalid to send a HTTPS URL as
162 // the referrer for a HTTP request).
163 virtual void setReferrerForRequest(WebURLRequest&, const WebURL&) = 0;
164
165 // Returns the number of registered unload listeners.
166 virtual unsigned unloadListenerCount() const = 0;
167
168 158
169 // Editing ------------------------------------------------------------- 159 // Editing -------------------------------------------------------------
170 160
171 // Replaces the selection with the given text. 161 // Replaces the selection with the given text.
172 virtual void replaceSelection(const WebString& text) = 0; 162 virtual void replaceSelection(const WebString& text) = 0;
173 163
174 virtual void insertText(const WebString& text) = 0; 164 virtual void insertText(const WebString& text) = 0;
175 165
176 virtual void setMarkedText(const WebString& text, unsigned location, unsigne d length) = 0; 166 virtual void setMarkedText(const WebString& text, unsigned location, unsigne d length) = 0;
177 virtual void unmarkText() = 0; 167 virtual void unmarkText() = 0;
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 private: 254 private:
265 }; 255 };
266 256
267 #if BLINK_IMPLEMENTATION 257 #if BLINK_IMPLEMENTATION
268 Frame* toCoreFrame(const WebFrame*); 258 Frame* toCoreFrame(const WebFrame*);
269 #endif 259 #endif
270 260
271 } // namespace blink 261 } // namespace blink
272 262
273 #endif // SKY_ENGINE_PUBLIC_WEB_WEBFRAME_H_ 263 #endif // SKY_ENGINE_PUBLIC_WEB_WEBFRAME_H_
OLDNEW
« no previous file with comments | « no previous file | sky/engine/web/WebLocalFrameImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698