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