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

Side by Side Diff: sky/viewer/internals.h

Issue 817573003: Move wm_flow off of views and onto Sky (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 | « sky/tools/skypy/skyserver.py ('k') | sky/viewer/internals.cc » ('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_VIEWER_INTERNALS_H_ 5 #ifndef SKY_VIEWER_INTERNALS_H_
6 #define SKY_VIEWER_INTERNALS_H_ 6 #define SKY_VIEWER_INTERNALS_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "gin/handle.h" 9 #include "gin/handle.h"
10 #include "gin/object_template_builder.h" 10 #include "gin/object_template_builder.h"
(...skipping 13 matching lines...) Expand all
24 virtual gin::ObjectTemplateBuilder GetObjectTemplateBuilder( 24 virtual gin::ObjectTemplateBuilder GetObjectTemplateBuilder(
25 v8::Isolate* isolate) override; 25 v8::Isolate* isolate) override;
26 26
27 private: 27 private:
28 explicit Internals(DocumentView* document_view); 28 explicit Internals(DocumentView* document_view);
29 29
30 std::string RenderTreeAsText(); 30 std::string RenderTreeAsText();
31 std::string ContentAsText(); 31 std::string ContentAsText();
32 void NotifyTestComplete(const std::string& test_result); 32 void NotifyTestComplete(const std::string& test_result);
33 33
34 mojo::Handle ConnectToEmbedderService(const std::string& interface_name);
35
34 mojo::Handle ConnectToService( 36 mojo::Handle ConnectToService(
35 const std::string& application_url, const std::string& interface_name); 37 const std::string& application_url, const std::string& interface_name);
36 38
37 void pauseAnimations(double pauseTime); 39 void pauseAnimations(double pauseTime);
38 40
39 base::WeakPtr<DocumentView> document_view_; 41 base::WeakPtr<DocumentView> document_view_;
40 TestHarnessPtr test_harness_; 42 TestHarnessPtr test_harness_;
41 43
42 MOJO_DISALLOW_COPY_AND_ASSIGN(Internals); 44 MOJO_DISALLOW_COPY_AND_ASSIGN(Internals);
43 }; 45 };
44 46
45 } // namespace sky 47 } // namespace sky
46 48
47 #endif // SKY_VIEWER_INTERNALS_H_ 49 #endif // SKY_VIEWER_INTERNALS_H_
OLDNEW
« no previous file with comments | « sky/tools/skypy/skyserver.py ('k') | sky/viewer/internals.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698