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

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

Issue 940703002: Make it possible to load a WebFrame from a URL (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Indent Created 5 years, 10 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 | « sky/engine/core/loader/MojoLoader.cpp ('k') | 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 127
128 // Logs to the console associated with this frame. 128 // Logs to the console associated with this frame.
129 virtual void addMessageToConsole(const WebConsoleMessage&) = 0; 129 virtual void addMessageToConsole(const WebConsoleMessage&) = 0;
130 130
131 // Calls window.gc() if it is defined. 131 // Calls window.gc() if it is defined.
132 virtual void collectGarbage() = 0; 132 virtual void collectGarbage() = 0;
133 133
134 134
135 // Navigation ---------------------------------------------------------- 135 // Navigation ----------------------------------------------------------
136 136
137 virtual void load(const WebURL&) = 0;
138
137 virtual void load(const WebURL&, mojo::ScopedDataPipeConsumerHandle) = 0; 139 virtual void load(const WebURL&, mojo::ScopedDataPipeConsumerHandle) = 0;
138 140
139 141
140 // Editing ------------------------------------------------------------- 142 // Editing -------------------------------------------------------------
141 143
142 // Replaces the selection with the given text. 144 // Replaces the selection with the given text.
143 virtual void replaceSelection(const WebString& text) = 0; 145 virtual void replaceSelection(const WebString& text) = 0;
144 146
145 virtual void insertText(const WebString& text) = 0; 147 virtual void insertText(const WebString& text) = 0;
146 148
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 private: 226 private:
225 }; 227 };
226 228
227 #if BLINK_IMPLEMENTATION 229 #if BLINK_IMPLEMENTATION
228 Frame* toCoreFrame(const WebFrame*); 230 Frame* toCoreFrame(const WebFrame*);
229 #endif 231 #endif
230 232
231 } // namespace blink 233 } // namespace blink
232 234
233 #endif // SKY_ENGINE_PUBLIC_WEB_WEBFRAME_H_ 235 #endif // SKY_ENGINE_PUBLIC_WEB_WEBFRAME_H_
OLDNEW
« no previous file with comments | « sky/engine/core/loader/MojoLoader.cpp ('k') | sky/engine/web/WebLocalFrameImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698