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

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

Issue 974483004: Stocks app shouldn't show black when resuming from recents list (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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/engine.cc ('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/viewport/viewport_observer.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 12
12 namespace sky { 13 namespace sky {
13 namespace shell { 14 namespace shell {
14 15
15 class UIDelegate { 16 class UIDelegate {
16 public: 17 public:
17 virtual void ConnectToViewportObserver( 18 virtual void ConnectToViewportObserver(
18 mojo::InterfaceRequest<ViewportObserver> request) = 0; 19 mojo::InterfaceRequest<ViewportObserver> request) = 0;
20 virtual void OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget) = 0;
21 virtual void OnOutputSurfaceDestroyed() = 0;
19 22
20 protected: 23 protected:
21 virtual ~UIDelegate(); 24 virtual ~UIDelegate();
22 }; 25 };
23 26
24 } // namespace shell 27 } // namespace shell
25 } // namespace sky 28 } // namespace sky
26 29
27 #endif // SKY_SHELL_UI_DELEGATE_H_ 30 #endif // SKY_SHELL_UI_DELEGATE_H_
OLDNEW
« no previous file with comments | « sky/shell/ui/engine.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698