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

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: Diff against simplified focus 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 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color); 555 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color);
556 void OnPepperPluginHung(int plugin_child_id, 556 void OnPepperPluginHung(int plugin_child_id,
557 const FilePath& path, 557 const FilePath& path,
558 bool is_hung); 558 bool is_hung);
559 void OnWebUISend(const GURL& source_url, 559 void OnWebUISend(const GURL& source_url,
560 const std::string& name, 560 const std::string& name,
561 const base::ListValue& args); 561 const base::ListValue& args);
562 void OnRequestPpapiBrokerPermission(int request_id, 562 void OnRequestPpapiBrokerPermission(int request_id,
563 const GURL& url, 563 const GURL& url,
564 const FilePath& plugin_path); 564 const FilePath& plugin_path);
565 void OnBrowserPluginCreateGuest( 565 void OnBrowserPluginAllocateInstanceID(int request_id);
566 int instance_id,
567 const BrowserPluginHostMsg_CreateGuest_Params& params);
568 void OnDidDownloadFavicon(int id, 566 void OnDidDownloadFavicon(int id,
569 const GURL& image_url, 567 const GURL& image_url,
570 int requested_size, 568 int requested_size,
571 const std::vector<SkBitmap>& bitmaps); 569 const std::vector<SkBitmap>& bitmaps);
572 void OnUpdateFaviconURL(int32 page_id, 570 void OnUpdateFaviconURL(int32 page_id,
573 const std::vector<FaviconURL>& candidates); 571 const std::vector<FaviconURL>& candidates);
574 572
575 // Changes the IsLoading state and notifies delegate as needed 573 // Changes the IsLoading state and notifies delegate as needed
576 // |details| is used to provide details on the load that just finished 574 // |details| is used to provide details on the load that just finished
577 // (but can be null if not applicable). Can be overridden. 575 // (but can be null if not applicable). Can be overridden.
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
854 // Maps the ids of pending favicon downloads to their callbacks 852 // Maps the ids of pending favicon downloads to their callbacks
855 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; 853 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap;
856 FaviconDownloadMap favicon_download_map_; 854 FaviconDownloadMap favicon_download_map_;
857 855
858 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 856 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
859 }; 857 };
860 858
861 } // namespace content 859 } // namespace content
862 860
863 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 861 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698