Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / ui / web_contents_sizer.h
blobb7021dc9816377de36d1cb5725833b884e452597
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 CHROME_BROWSER_UI_WEB_CONTENTS_SIZER_H_
6 #define CHROME_BROWSER_UI_WEB_CONTENTS_SIZER_H_
8 namespace content {
9 class WebContents;
12 namespace gfx {
13 class Size;
16 // A platform-agnostic function to resize a WebContents. The top-left corner of
17 // the WebContents does not move during the resizing.
18 void ResizeWebContents(content::WebContents* web_contents,
19 const gfx::Size& size);
21 #endif // CHROME_BROWSER_UI_WEB_CONTENTS_SIZER_H_