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

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

Issue 11956022: Browser Plugin: Allocate Instance IDs in BrowserPluginEmbedder instead of BrowserPluginManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed Istiaque's comments Created 7 years, 11 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 547 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color); 558 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color);
559 void OnPepperPluginHung(int plugin_child_id, 559 void OnPepperPluginHung(int plugin_child_id,
560 const FilePath& path, 560 const FilePath& path,
561 bool is_hung); 561 bool is_hung);
562 void OnWebUISend(const GURL& source_url, 562 void OnWebUISend(const GURL& source_url,
563 const std::string& name, 563 const std::string& name,
564 const base::ListValue& args); 564 const base::ListValue& args);
565 void OnRequestPpapiBrokerPermission(int request_id, 565 void OnRequestPpapiBrokerPermission(int request_id,
566 const GURL& url, 566 const GURL& url,
567 const FilePath& plugin_path); 567 const FilePath& plugin_path);
568 void OnBrowserPluginCreateGuest( 568 void OnBrowserPluginAllocateInstanceID(int request_id);
569 int instance_id,
570 const BrowserPluginHostMsg_CreateGuest_Params& params);
571 void OnDidDownloadFavicon(int id, 569 void OnDidDownloadFavicon(int id,
572 const GURL& image_url, 570 const GURL& image_url,
573 int requested_size, 571 int requested_size,
574 const std::vector<SkBitmap>& bitmaps); 572 const std::vector<SkBitmap>& bitmaps);
575 void OnUpdateFaviconURL(int32 page_id, 573 void OnUpdateFaviconURL(int32 page_id,
576 const std::vector<FaviconURL>& candidates); 574 const std::vector<FaviconURL>& candidates);
577 575
578 // Changes the IsLoading state and notifies delegate as needed 576 // Changes the IsLoading state and notifies delegate as needed
579 // |details| is used to provide details on the load that just finished 577 // |details| is used to provide details on the load that just finished
580 // (but can be null if not applicable). Can be overridden. 578 // (but can be null if not applicable). Can be overridden.
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
863 // Maps the ids of pending favicon downloads to their callbacks 861 // Maps the ids of pending favicon downloads to their callbacks
864 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; 862 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap;
865 FaviconDownloadMap favicon_download_map_; 863 FaviconDownloadMap favicon_download_map_;
866 864
867 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 865 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
868 }; 866 };
869 867
870 } // namespace content 868 } // namespace content
871 869
872 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 870 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698