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

Side by Side Diff: ui/gfx/layout_util.h

Issue 209023003: Remove references to WebContentsView::SizeContents from chrome/ and app/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments & styling. Created 6 years, 9 months 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 UI_GFX_LAYOUT_UTIL_H_
6 #define UI_GFX_LAYOUT_UTIL_H_
7
8 #include "ui/gfx/gfx_export.h"
9
10 namespace content {
11 class WebContents;
12 }
13
14 namespace gfx {
15
16 class Size;
17
18 // A platform-agnostic function to resize a WebContents. The top-left corner of
19 // the WebContents does not move during the resizing.
20 GFX_EXPORT void ResizeWebContents(content::WebContents* web_contents,
21 const gfx::Size& size);
22
23 } // namespace gfx
24
25 #endif // UI_GFX_LAYOUT_UTIL_H_
OLDNEW
« ui/gfx/DEPS ('K') | « ui/gfx/gfx.gyp ('k') | ui/gfx/layout_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698