| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |