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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 2501213002: Drag-and-drop: dragSourceEndedAt, dragSourceSystemDragEnded (Closed)
Patch Set: Rebased. Added check for !GetWebWidget(). Created 4 years, 1 month 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
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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <functional> 10 #include <functional>
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 // Creates a BrowserPluginEmbedder object for this WebContents if one doesn't 176 // Creates a BrowserPluginEmbedder object for this WebContents if one doesn't
177 // already exist. 177 // already exist.
178 void CreateBrowserPluginEmbedderIfNecessary(); 178 void CreateBrowserPluginEmbedderIfNecessary();
179 179
180 // Cancels modal dialogs in this WebContents, as well as in any browser 180 // Cancels modal dialogs in this WebContents, as well as in any browser
181 // plugins it is hosting. 181 // plugins it is hosting.
182 void CancelActiveAndPendingDialogs(); 182 void CancelActiveAndPendingDialogs();
183 183
184 // Informs the render view host and the BrowserPluginEmbedder, if present, of 184 // Informs the render view host and the BrowserPluginEmbedder, if present, of
185 // a Drag Source End. 185 // a Drag Source End.
186 void DragSourceEndedAt(int client_x, int client_y, int screen_x, 186 void DragSourceEndedAt(int client_x,
187 int screen_y, blink::WebDragOperation operation); 187 int client_y,
188 int screen_x,
189 int screen_y,
190 blink::WebDragOperation operation);
188 191
189 // Notification that the RenderViewHost's load state changed. 192 // Notification that the RenderViewHost's load state changed.
190 void LoadStateChanged(const GURL& url, 193 void LoadStateChanged(const GURL& url,
191 const net::LoadStateWithParam& load_state, 194 const net::LoadStateWithParam& load_state,
192 uint64_t upload_position, 195 uint64_t upload_position,
193 uint64_t upload_size); 196 uint64_t upload_size);
194 197
195 // A response has been received for a resource request. 198 // A response has been received for a resource request.
196 void DidGetResourceResponseStart( 199 void DidGetResourceResponseStart(
197 const ResourceRequestDetails& details); 200 const ResourceRequestDetails& details);
(...skipping 1256 matching lines...) Expand 10 before | Expand all | Expand 10 after
1454 // Adds/removes a callback called on creation of each new WebContents. 1457 // Adds/removes a callback called on creation of each new WebContents.
1455 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1458 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1456 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1459 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1457 1460
1458 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1461 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1459 }; 1462 };
1460 1463
1461 } // namespace content 1464 } // namespace content
1462 1465
1463 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1466 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698