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.
5 // This module provides class that serves as a public interface for a
6 // derived object that can size a guest.
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).
13 #ifndef CONTENT_PUBLIC_BROWSER_GUEST_SIZER_H_
14 #define CONTENT_PUBLIC_BROWSER_GUEST_SIZER_H_
16 #include "ui/gfx/geometry/size.h"
22 virtual void SizeContents(const gfx::Size
& new_size
) = 0;
25 } // namespace content
27 #endif // CONTENT_PUBLIC_BROWSER_GUEST_SIZER_H_