Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_PUBLIC_BROWSER_BROWSER_PLUGIN_GUEST_DELEGATE_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_PLUGIN_GUEST_DELEGATE_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_PLUGIN_GUEST_DELEGATE_H_ | 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_PLUGIN_GUEST_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
| 9 #include "base/process/kill.h" | 9 #include "base/process/kill.h" |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| 11 #include "base/values.h" | 11 #include "base/values.h" |
| 12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
| 13 #include "content/public/common/media_stream_request.h" | 13 #include "content/public/common/media_stream_request.h" |
| 14 #include "third_party/skia/include/core/SkColor.h" | 14 #include "third_party/skia/include/core/SkColor.h" |
| 15 #include "ui/base/window_open_disposition.h" | 15 #include "ui/base/window_open_disposition.h" |
| 16 #include "ui/gfx/geometry/rect.h" | 16 #include "ui/gfx/geometry/rect.h" |
| 17 #include "ui/gfx/size.h" | 17 #include "ui/gfx/size.h" |
| 18 #include "url/gurl.h" | 18 #include "url/gurl.h" |
| 19 | 19 |
| 20 namespace blink { | |
| 21 class WebGestureEvent; | |
| 22 } // namespace blink | |
| 23 | |
| 20 namespace content { | 24 namespace content { |
| 21 | 25 |
| 22 class ColorChooser; | 26 class ColorChooser; |
| 23 class JavaScriptDialogManager; | 27 class JavaScriptDialogManager; |
| 24 class WebContents; | 28 class WebContents; |
| 25 struct ColorSuggestion; | 29 struct ColorSuggestion; |
| 26 struct ContextMenuParams; | 30 struct ContextMenuParams; |
| 27 struct FileChooserParams; | 31 struct FileChooserParams; |
| 28 struct NativeWebKeyboardEvent; | 32 struct NativeWebKeyboardEvent; |
| 29 struct OpenURLParams; | 33 struct OpenURLParams; |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 198 int opener_render_frame_id, | 202 int opener_render_frame_id, |
| 199 const base::string16& frame_name, | 203 const base::string16& frame_name, |
| 200 const GURL& target_url, | 204 const GURL& target_url, |
| 201 WebContents* new_contents) {} | 205 WebContents* new_contents) {} |
| 202 | 206 |
| 203 // Registers a |callback| with the delegate that the delegate would call when | 207 // Registers a |callback| with the delegate that the delegate would call when |
| 204 // it is about to be destroyed. | 208 // it is about to be destroyed. |
| 205 typedef base::Callback<void(WebContents*)> DestructionCallback; | 209 typedef base::Callback<void(WebContents*)> DestructionCallback; |
| 206 virtual void RegisterDestructionCallback( | 210 virtual void RegisterDestructionCallback( |
| 207 const DestructionCallback& callback) {} | 211 const DestructionCallback& callback) {} |
| 212 | |
| 213 virtual bool PreHandleGestureEvent(content::WebContents* source, | |
|
jam
2014/05/21 16:44:39
no content::
Fady Samuel
2014/05/22 13:37:50
Done.
| |
| 214 const blink::WebGestureEvent& event); | |
| 208 }; | 215 }; |
| 209 | 216 |
| 210 } // namespace content | 217 } // namespace content |
| 211 | 218 |
| 212 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_PLUGIN_GUEST_DELEGATE_H_ | 219 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_PLUGIN_GUEST_DELEGATE_H_ |
| OLD | NEW |