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

Side by Side Diff: sky/engine/core/frame/RemoteFrame.h

Issue 682413006: Add a separate call to initialize the bounds for a sky <iframe> element. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: . Created 6 years, 1 month 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef RemoteFrame_h
6 #define RemoteFrame_h
7
8 #include "mojo/services/public/cpp/view_manager/view_observer.h"
9
10 namespace mojo {
11 class View;
12 }
13
14 namespace blink {
15
16 class IntRect;
17
18 // This class encapsulates the mojo View that backs an HTMLIFrameElement.
abarth-chromium 2014/11/10 23:03:51 Why encapsulate? Can't folks just use a mojo::Vie
Matt Perry 2014/11/10 23:35:34 I was expecting there to be more methods eventuall
19 class RemoteFrame : public mojo::ViewObserver {
20 public:
21 RemoteFrame(mojo::View* view);
22 virtual ~RemoteFrame() {}
23
24 void setBounds(const IntRect& bounds);
25
26 private:
27 // ViewObserver methods:
28 void OnViewDestroyed(mojo::View* view) override;
29
30 mojo::View* m_view;
31 };
32
33 } // namespace blink
34
35 #endif // RemoteFrame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698