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

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

Issue 2060933002: Let Flash join and be controlled by media session (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pepper_to_contents
Patch Set: modified when to add/remove player to/from MediaSession Created 4 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
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 926 matching lines...) Expand 10 before | Expand all | Expand 10 after
937 void OnOpenColorChooser(int color_chooser_id, 937 void OnOpenColorChooser(int color_chooser_id,
938 SkColor color, 938 SkColor color,
939 const std::vector<ColorSuggestion>& suggestions); 939 const std::vector<ColorSuggestion>& suggestions);
940 void OnEndColorChooser(int color_chooser_id); 940 void OnEndColorChooser(int color_chooser_id);
941 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color); 941 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color);
942 void OnWebUISend(const GURL& source_url, 942 void OnWebUISend(const GURL& source_url,
943 const std::string& name, 943 const std::string& name,
944 const base::ListValue& args); 944 const base::ListValue& args);
945 void OnUpdatePageImportanceSignals(const PageImportanceSignals& signals); 945 void OnUpdatePageImportanceSignals(const PageImportanceSignals& signals);
946 #if defined(ENABLE_PLUGINS) 946 #if defined(ENABLE_PLUGINS)
947 void OnPepperInstanceCreated(); 947 void OnPepperInstanceCreated(int32_t pp_instance);
948 void OnPepperInstanceDeleted(); 948 void OnPepperInstanceDeleted(int32_t pp_instance);
949 void OnPepperPluginHung(int plugin_child_id, 949 void OnPepperPluginHung(int plugin_child_id,
950 const base::FilePath& path, 950 const base::FilePath& path,
951 bool is_hung); 951 bool is_hung);
952 void OnPluginCrashed(const base::FilePath& plugin_path, 952 void OnPluginCrashed(const base::FilePath& plugin_path,
953 base::ProcessId plugin_pid); 953 base::ProcessId plugin_pid);
954 void OnRequestPpapiBrokerPermission(int routing_id, 954 void OnRequestPpapiBrokerPermission(int routing_id,
955 const GURL& url, 955 const GURL& url,
956 const base::FilePath& plugin_path); 956 const base::FilePath& plugin_path);
957 957
958 // Callback function when requesting permission to access the PPAPI broker. 958 // Callback function when requesting permission to access the PPAPI broker.
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
1420 // Adds/removes a callback called on creation of each new WebContents. 1420 // Adds/removes a callback called on creation of each new WebContents.
1421 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1421 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1422 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1422 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1423 1423
1424 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1424 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1425 }; 1425 };
1426 1426
1427 } // namespace content 1427 } // namespace content
1428 1428
1429 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1429 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698