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

Side by Side Diff: sky/shell/ui_delegate.h

Issue 1222663003: Rename ViewportObserver to SkyEngine (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: now with moar files Created 5 years, 5 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/shell/ui/input_event_converter.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_DELEGATE_H_ 5 #ifndef SKY_SHELL_UI_DELEGATE_H_
6 #define SKY_SHELL_UI_DELEGATE_H_ 6 #define SKY_SHELL_UI_DELEGATE_H_
7 7
8 #include "mojo/public/cpp/bindings/interface_request.h" 8 #include "mojo/public/cpp/bindings/interface_request.h"
9 #include "sky/services/viewport/viewport_observer.mojom.h" 9 #include "sky/services/engine/sky_engine.mojom.h"
10 #include "ui/gfx/geometry/size.h" 10 #include "ui/gfx/geometry/size.h"
11 #include "ui/gfx/native_widget_types.h" 11 #include "ui/gfx/native_widget_types.h"
12 12
13 namespace sky { 13 namespace sky {
14 namespace shell { 14 namespace shell {
15 15
16 class UIDelegate { 16 class UIDelegate {
17 public: 17 public:
18 virtual void ConnectToViewportObserver( 18 virtual void ConnectToEngine(mojo::InterfaceRequest<SkyEngine> request) = 0;
19 mojo::InterfaceRequest<ViewportObserver> request) = 0;
20 virtual void OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget) = 0; 19 virtual void OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget) = 0;
21 virtual void OnOutputSurfaceDestroyed() = 0; 20 virtual void OnOutputSurfaceDestroyed() = 0;
22 21
23 protected: 22 protected:
24 virtual ~UIDelegate(); 23 virtual ~UIDelegate();
25 }; 24 };
26 25
27 } // namespace shell 26 } // namespace shell
28 } // namespace sky 27 } // namespace sky
29 28
30 #endif // SKY_SHELL_UI_DELEGATE_H_ 29 #endif // SKY_SHELL_UI_DELEGATE_H_
OLDNEW
« no previous file with comments | « sky/shell/ui/input_event_converter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698