OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 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 CONTENT_PUBLIC_BROWSER_GUEST_PROXY_HOST_H_ | |
6 #define CONTENT_PUBLIC_BROWSER_GUEST_PROXY_HOST_H_ | |
7 | |
8 #include "ui/gfx/geometry/size.h" | |
9 | |
10 namespace content { | |
11 | |
12 // This class currently only serves as a base class for BrowserPluginGuest, and | |
13 // its API can only be accessed by a BrowserPluginGuestDelegate. | |
14 class GuestProxyHost { | |
Charlie Reis
2015/03/06 00:05:36
Please explain more of the reasoning for the name
Fady Samuel
2015/03/07 00:20:28
Done.
| |
15 public: | |
16 // Returns the routing ID for the RenderView proxy for the guest in the | |
17 // owner's guest process. This creates a new proxy if one does not already | |
Charlie Reis
2015/03/06 00:05:36
What is "owner's guest process?" Do you mean "own
Fady Samuel
2015/03/07 00:20:28
Yes, I've removed this API.
| |
18 // exist. | |
19 virtual int GetGuestProxyRoutingID() = 0; | |
20 | |
21 // Sets the size of the guest WebContents. | |
22 virtual void SizeContents(const gfx::Size& new_size) = 0; | |
23 | |
24 // Called when the GuestProxyHost is about to be destroyed. | |
25 virtual void WillDestroy() = 0; | |
26 }; | |
27 | |
28 } // namespace content | |
29 | |
30 #endif // CONTENT_PUBLIC_BROWSER_GUEST_PROXY_HOST_H_ | |
OLD | NEW |