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

Side by Side Diff: sky/engine/core/loader/MojoLoader.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 | « no previous file | sky/engine/core/loader/MojoLoader.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SKY_ENGINE_CORE_LOADER_MOJOLOADER_H_ 5 #ifndef SKY_ENGINE_CORE_LOADER_MOJOLOADER_H_
6 #define SKY_ENGINE_CORE_LOADER_MOJOLOADER_H_ 6 #define SKY_ENGINE_CORE_LOADER_MOJOLOADER_H_
7 7
8 #include "mojo/public/cpp/system/data_pipe.h" 8 #include "mojo/public/cpp/system/data_pipe.h"
9 #include "sky/engine/platform/weborigin/KURL.h" 9 #include "sky/engine/platform/weborigin/KURL.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 class LocalFrame; 13 class LocalFrame;
14 14
15 class MojoLoader { 15 class MojoLoader {
16 public: 16 public:
17 explicit MojoLoader(LocalFrame&); 17 explicit MojoLoader(LocalFrame&);
18 18
19 void load(const KURL&, mojo::ScopedDataPipeConsumerHandle); 19 void init(const KURL&);
20 void parse(mojo::ScopedDataPipeConsumerHandle);
20 21
21 private: 22 private:
22 LocalFrame& m_frame; 23 LocalFrame& m_frame;
23 }; 24 };
24 25
25 } 26 }
26 27
27 #endif // SKY_ENGINE_CORE_LOADER_MOJOLOADER_H_ 28 #endif // SKY_ENGINE_CORE_LOADER_MOJOLOADER_H_
OLDNEW
« no previous file with comments | « no previous file | sky/engine/core/loader/MojoLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698