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

Side by Side Diff: sky/shell/ui/engine.h

Issue 1156203003: Fix dart:sky.internals to work in SkyView (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_SHELL_UI_ENGINE_H_ 5 #ifndef SKY_SHELL_UI_ENGINE_H_
6 #define SKY_SHELL_UI_ENGINE_H_ 6 #define SKY_SHELL_UI_ENGINE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 float device_pixel_ratio) override; 67 float device_pixel_ratio) override;
68 void OnInputEvent(InputEventPtr event) override; 68 void OnInputEvent(InputEventPtr event) override;
69 void LoadURL(const mojo::String& url) override; 69 void LoadURL(const mojo::String& url) override;
70 70
71 // WebViewClient methods: 71 // WebViewClient methods:
72 void frameDetached(blink::WebFrame*) override; 72 void frameDetached(blink::WebFrame*) override;
73 void initializeLayerTreeView() override; 73 void initializeLayerTreeView() override;
74 void scheduleVisualUpdate() override; 74 void scheduleVisualUpdate() override;
75 blink::WebScreenInfo screenInfo() override; 75 blink::WebScreenInfo screenInfo() override;
76 blink::ServiceProvider* services() override; 76 blink::ServiceProvider* services() override;
77
78 // WebFrameClient methods:
77 void didCreateIsolate(blink::WebLocalFrame* frame, 79 void didCreateIsolate(blink::WebLocalFrame* frame,
78 Dart_Isolate isolate) override; 80 Dart_Isolate isolate) override;
79 81
80 // SkyViewClient methods: 82 // SkyViewClient methods:
81 void ScheduleFrame() override; 83 void ScheduleFrame() override;
84 void DidCreateIsolate(Dart_Isolate isolate) override;
82 85
83 // Services methods: 86 // Services methods:
84 mojo::NavigatorHost* NavigatorHost() override; 87 mojo::NavigatorHost* NavigatorHost() override;
85 88
86 // NavigatorHost methods: 89 // NavigatorHost methods:
87 void RequestNavigate(mojo::Target target, 90 void RequestNavigate(mojo::Target target,
88 mojo::URLRequestPtr request) override; 91 mojo::URLRequestPtr request) override;
89 void DidNavigateLocally(const mojo::String& url) override; 92 void DidNavigateLocally(const mojo::String& url) override;
90 void RequestNavigateHistory(int32_t delta) override; 93 void RequestNavigateHistory(int32_t delta) override;
91 94
(...skipping 13 matching lines...) Expand all
105 108
106 base::WeakPtrFactory<Engine> weak_factory_; 109 base::WeakPtrFactory<Engine> weak_factory_;
107 110
108 DISALLOW_COPY_AND_ASSIGN(Engine); 111 DISALLOW_COPY_AND_ASSIGN(Engine);
109 }; 112 };
110 113
111 } // namespace shell 114 } // namespace shell
112 } // namespace sky 115 } // namespace sky
113 116
114 #endif // SKY_SHELL_UI_ENGINE_H_ 117 #endif // SKY_SHELL_UI_ENGINE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698