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

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

Issue 1117023002: Keep event page alive when there's some Pepper plugin on it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove DCHECK. Created 5 years, 6 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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 808 matching lines...) Expand 10 before | Expand all | Expand 10 after
819 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); 819 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy);
820 void OnOpenColorChooser(int color_chooser_id, 820 void OnOpenColorChooser(int color_chooser_id,
821 SkColor color, 821 SkColor color,
822 const std::vector<ColorSuggestion>& suggestions); 822 const std::vector<ColorSuggestion>& suggestions);
823 void OnEndColorChooser(int color_chooser_id); 823 void OnEndColorChooser(int color_chooser_id);
824 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color); 824 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color);
825 void OnWebUISend(const GURL& source_url, 825 void OnWebUISend(const GURL& source_url,
826 const std::string& name, 826 const std::string& name,
827 const base::ListValue& args); 827 const base::ListValue& args);
828 #if defined(ENABLE_PLUGINS) 828 #if defined(ENABLE_PLUGINS)
829 void OnPepperInstanceCreated();
830 void OnPepperInstanceDeleted();
829 void OnPepperPluginHung(int plugin_child_id, 831 void OnPepperPluginHung(int plugin_child_id,
830 const base::FilePath& path, 832 const base::FilePath& path,
831 bool is_hung); 833 bool is_hung);
832 void OnPluginCrashed(const base::FilePath& plugin_path, 834 void OnPluginCrashed(const base::FilePath& plugin_path,
833 base::ProcessId plugin_pid); 835 base::ProcessId plugin_pid);
834 void OnRequestPpapiBrokerPermission(int routing_id, 836 void OnRequestPpapiBrokerPermission(int routing_id,
835 const GURL& url, 837 const GURL& url,
836 const base::FilePath& plugin_path); 838 const base::FilePath& plugin_path);
837 839
838 // Callback function when requesting permission to access the PPAPI broker. 840 // Callback function when requesting permission to access the PPAPI broker.
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
1284 // Adds/removes a callback called on creation of each new WebContents. 1286 // Adds/removes a callback called on creation of each new WebContents.
1285 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1287 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1286 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1288 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1287 1289
1288 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1290 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1289 }; 1291 };
1290 1292
1291 } // namespace content 1293 } // namespace content
1292 1294
1293 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1295 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698