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

Side by Side Diff: content/public/browser/guest_sizer.h

Issue 910073003: <webview>: Make contentWindow available prior to attachment (on display:none). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed nit Created 5 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 // 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_
OLDNEW
« no previous file with comments | « content/public/browser/guest_host.h ('k') | extensions/browser/api/guest_view/guest_view_internal_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698