OLD | NEW |
| (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 // This module provides class that serves as a public interface for a | |
6 // derived object that can size a guest. | |
7 | |
8 // This class currently only serves as a base class for BrowserPluginGuest, and | |
9 // its API can only be accessed by a BrowserPluginGuestDelegate. This module | |
10 // will go away once the migration to RenderFrame architecture has completed | |
11 // (http://crbug.com/330264). | |
12 | |
13 #ifndef CONTENT_PUBLIC_BROWSER_GUEST_SIZER_H_ | |
14 #define CONTENT_PUBLIC_BROWSER_GUEST_SIZER_H_ | |
15 | |
16 #include "ui/gfx/geometry/size.h" | |
17 | |
18 namespace content { | |
19 | |
20 class GuestSizer { | |
21 public: | |
22 virtual void SizeContents(const gfx::Size& new_size) = 0; | |
23 }; | |
24 | |
25 } // namespace content | |
26 | |
27 #endif // CONTENT_PUBLIC_BROWSER_GUEST_SIZER_H_ | |
OLD | NEW |