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

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

Issue 12225076: Delete most web intents code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 10 months 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 | Annotate | Revision Log
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 <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 15 matching lines...) Expand all
26 #include "content/public/common/three_d_api_types.h" 26 #include "content/public/common/three_d_api_types.h"
27 #include "net/base/load_states.h" 27 #include "net/base/load_states.h"
28 #include "ui/gfx/rect_f.h" 28 #include "ui/gfx/rect_f.h"
29 #include "ui/gfx/size.h" 29 #include "ui/gfx/size.h"
30 #include "webkit/glue/resource_type.h" 30 #include "webkit/glue/resource_type.h"
31 31
32 struct BrowserPluginHostMsg_CreateGuest_Params; 32 struct BrowserPluginHostMsg_CreateGuest_Params;
33 struct BrowserPluginHostMsg_ResizeGuest_Params; 33 struct BrowserPluginHostMsg_ResizeGuest_Params;
34 struct ViewMsg_PostMessage_Params; 34 struct ViewMsg_PostMessage_Params;
35 35
36 namespace webkit_glue {
37 struct WebIntentData;
38 struct WebIntentServiceData;
39 }
40
41 namespace content { 36 namespace content {
42 class BrowserPluginEmbedder; 37 class BrowserPluginEmbedder;
43 class BrowserPluginGuest; 38 class BrowserPluginGuest;
44 class ColorChooser; 39 class ColorChooser;
45 class DateTimeChooserAndroid; 40 class DateTimeChooserAndroid;
46 class DownloadItem; 41 class DownloadItem;
47 class InterstitialPageImpl; 42 class InterstitialPageImpl;
48 class JavaBridgeDispatcherHostManager; 43 class JavaBridgeDispatcherHostManager;
49 class JavaScriptDialogManager; 44 class JavaScriptDialogManager;
50 class RenderViewHost; 45 class RenderViewHost;
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 void OnDialogClosed(RenderViewHost* rvh, 501 void OnDialogClosed(RenderViewHost* rvh,
507 IPC::Message* reply_msg, 502 IPC::Message* reply_msg,
508 bool success, 503 bool success,
509 const string16& user_input); 504 const string16& user_input);
510 505
511 // Callback function when requesting permission to access the PPAPI broker. 506 // Callback function when requesting permission to access the PPAPI broker.
512 // |result| is true if permission was granted. 507 // |result| is true if permission was granted.
513 void OnPpapiBrokerPermissionResult(int request_id, bool result); 508 void OnPpapiBrokerPermissionResult(int request_id, bool result);
514 509
515 // IPC message handlers. 510 // IPC message handlers.
516 #if defined(ENABLE_WEB_INTENTS)
517 void OnRegisterIntentService(const webkit_glue::WebIntentServiceData& data,
518 bool user_gesture);
519 void OnWebIntentDispatch(const webkit_glue::WebIntentData& intent,
520 int intent_id);
521 #endif
522 void OnDidLoadResourceFromMemoryCache(const GURL& url, 511 void OnDidLoadResourceFromMemoryCache(const GURL& url,
523 const std::string& security_info, 512 const std::string& security_info,
524 const std::string& http_request, 513 const std::string& http_request,
525 const std::string& mime_type, 514 const std::string& mime_type,
526 ResourceType::Type resource_type); 515 ResourceType::Type resource_type);
527 void OnDidDisplayInsecureContent(); 516 void OnDidDisplayInsecureContent();
528 void OnDidRunInsecureContent(const std::string& security_origin, 517 void OnDidRunInsecureContent(const std::string& security_origin,
529 const GURL& target_url); 518 const GURL& target_url);
530 void OnDocumentLoadedInFrame(int64 frame_id); 519 void OnDocumentLoadedInFrame(int64 frame_id);
531 void OnDidFinishLoad(int64 frame_id, 520 void OnDidFinishLoad(int64 frame_id,
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
890 // Maps the ids of pending favicon downloads to their callbacks 879 // Maps the ids of pending favicon downloads to their callbacks
891 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; 880 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap;
892 FaviconDownloadMap favicon_download_map_; 881 FaviconDownloadMap favicon_download_map_;
893 882
894 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 883 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
895 }; 884 };
896 885
897 } // namespace content 886 } // namespace content
898 887
899 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 888 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698