OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ |
6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ | 6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 | 9 |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
(...skipping 28 matching lines...) Expand all Loading... | |
39 | 39 |
40 class ChildProcessSecurityPolicy; | 40 class ChildProcessSecurityPolicy; |
41 class RenderFrameHost; | 41 class RenderFrameHost; |
42 class RenderViewHostDelegate; | 42 class RenderViewHostDelegate; |
43 class SessionStorageNamespace; | 43 class SessionStorageNamespace; |
44 class SiteInstance; | 44 class SiteInstance; |
45 struct DropData; | 45 struct DropData; |
46 struct FileChooserFileInfo; | 46 struct FileChooserFileInfo; |
47 struct WebPreferences; | 47 struct WebPreferences; |
48 | 48 |
49 struct FocusedNodeDetails { | |
50 bool is_editable_node; | |
51 gfx::Rect node_bounds_in_screen; | |
52 }; | |
53 | |
sadrul
2014/12/12 17:13:49
This doesn't look like the right place for this.
jennyz
2014/12/12 23:14:45
Yes, I feel a little awkward too, do you have any
sadrul
2014/12/15 18:37:16
I can't think of a better place either. This might
jennyz
2014/12/15 23:24:55
Moved to content/public/browser/focused_node_detai
| |
49 // A RenderViewHost is responsible for creating and talking to a RenderView | 54 // A RenderViewHost is responsible for creating and talking to a RenderView |
50 // object in a child process. It exposes a high level API to users, for things | 55 // object in a child process. It exposes a high level API to users, for things |
51 // like loading pages, adjusting the display and other browser functionality, | 56 // like loading pages, adjusting the display and other browser functionality, |
52 // which it translates into IPC messages sent over the IPC channel with the | 57 // which it translates into IPC messages sent over the IPC channel with the |
53 // RenderView. It responds to all IPC messages sent by that RenderView and | 58 // RenderView. It responds to all IPC messages sent by that RenderView and |
54 // cracks them, calling a delegate object back with higher level types where | 59 // cracks them, calling a delegate object back with higher level types where |
55 // possible. | 60 // possible. |
56 // | 61 // |
57 // The intent of this interface is to provide a view-agnostic communication | 62 // The intent of this interface is to provide a view-agnostic communication |
58 // conduit with a renderer. This is so we can build HTML views not only as | 63 // conduit with a renderer. This is so we can build HTML views not only as |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
226 | 231 |
227 private: | 232 private: |
228 // This interface should only be implemented inside content. | 233 // This interface should only be implemented inside content. |
229 friend class RenderViewHostImpl; | 234 friend class RenderViewHostImpl; |
230 RenderViewHost() {} | 235 RenderViewHost() {} |
231 }; | 236 }; |
232 | 237 |
233 } // namespace content | 238 } // namespace content |
234 | 239 |
235 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ | 240 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ |
OLD | NEW |