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 #ifndef APPS_UI_WEB_CONTENTS_SIZER_H_
6 #define APPS_UI_WEB_CONTENTS_SIZER_H_
17 // A platform-agnostic function to resize a WebContents. The top-left corner of
18 // the WebContents does not move during the resizing.
19 void ResizeWebContents(content::WebContents
* web_contents
,
20 const gfx::Size
& size
);
24 #endif // APPS_UI_WEB_CONTENTS_SIZER_H_