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_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 | 142 |
143 // Sets a BrowserPluginGuest object for this WebContents. If this WebContents | 143 // Sets a BrowserPluginGuest object for this WebContents. If this WebContents |
144 // has a BrowserPluginGuest then that implies that it is being hosted by | 144 // has a BrowserPluginGuest then that implies that it is being hosted by |
145 // a BrowserPlugin object in an embedder renderer process. | 145 // a BrowserPlugin object in an embedder renderer process. |
146 void SetBrowserPluginGuest(BrowserPluginGuest* guest); | 146 void SetBrowserPluginGuest(BrowserPluginGuest* guest); |
147 | 147 |
148 // Returns embedder browser plugin object, or NULL if this WebContents is not | 148 // Returns embedder browser plugin object, or NULL if this WebContents is not |
149 // an embedder. | 149 // an embedder. |
150 BrowserPluginEmbedder* GetBrowserPluginEmbedder() const; | 150 BrowserPluginEmbedder* GetBrowserPluginEmbedder() const; |
151 | 151 |
152 // Returns the BrowserPluginGuestManager object, or NULL if this web contents | |
153 // does not have a BrowserPluginGuestManager. | |
154 BrowserPluginGuestManager* GetBrowserPluginGuestManager() const; | |
155 | |
156 // Gets the current fullscreen render widget's routing ID. Returns | 152 // Gets the current fullscreen render widget's routing ID. Returns |
157 // MSG_ROUTING_NONE when there is no fullscreen render widget. | 153 // MSG_ROUTING_NONE when there is no fullscreen render widget. |
158 int GetFullscreenWidgetRoutingID() const; | 154 int GetFullscreenWidgetRoutingID() const; |
159 | 155 |
160 // Invoked when visible SSL state (as defined by SSLStatus) changes. | 156 // Invoked when visible SSL state (as defined by SSLStatus) changes. |
161 void DidChangeVisibleSSLState(); | 157 void DidChangeVisibleSSLState(); |
162 | 158 |
163 // Informs the render view host and the BrowserPluginEmbedder, if present, of | 159 // Informs the render view host and the BrowserPluginEmbedder, if present, of |
164 // a Drag Source End. | 160 // a Drag Source End. |
165 void DragSourceEndedAt(int client_x, int client_y, int screen_x, | 161 void DragSourceEndedAt(int client_x, int client_y, int screen_x, |
(...skipping 947 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1113 | 1109 |
1114 // Whether the last JavaScript dialog shown was suppressed. Used for testing. | 1110 // Whether the last JavaScript dialog shown was suppressed. Used for testing. |
1115 bool last_dialog_suppressed_; | 1111 bool last_dialog_suppressed_; |
1116 | 1112 |
1117 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1113 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
1118 }; | 1114 }; |
1119 | 1115 |
1120 } // namespace content | 1116 } // namespace content |
1121 | 1117 |
1122 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1118 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |