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

Side by Side Diff: Source/core/plugins/PluginView.h

Issue 732803003: Clean up forward declarations in Source/core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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 | « Source/core/plugins/DOMPlugin.h ('k') | Source/core/rendering/FilterEffectRenderer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2013 Google Inc. All rights reserved. 3 * Copyright (C) 2013 Google Inc. All rights reserved.
4 * Copyright (C) 2014 Opera Software ASA. All rights reserved. 4 * Copyright (C) 2014 Opera Software ASA. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 14 matching lines...) Expand all
25 */ 25 */
26 26
27 #ifndef PluginView_h 27 #ifndef PluginView_h
28 #define PluginView_h 28 #define PluginView_h
29 29
30 #include "platform/Widget.h" 30 #include "platform/Widget.h"
31 #include "platform/scroll/ScrollTypes.h" 31 #include "platform/scroll/ScrollTypes.h"
32 #include "wtf/text/WTFString.h" 32 #include "wtf/text/WTFString.h"
33 #include <v8.h> 33 #include <v8.h>
34 34
35 struct NPObject;
36
37 namespace blink { class WebLayer; } 35 namespace blink { class WebLayer; }
38 36
39 namespace blink { 37 namespace blink {
40 38
41 class ResourceError; 39 class ResourceError;
42 class ResourceResponse; 40 class ResourceResponse;
43 class Scrollbar;
44 41
45 class PluginView : public Widget { 42 class PluginView : public Widget {
46 public: 43 public:
47 virtual bool isPluginView() const override final { return true; } 44 virtual bool isPluginView() const override final { return true; }
48 45
49 virtual blink::WebLayer* platformLayer() const { return 0; } 46 virtual blink::WebLayer* platformLayer() const { return 0; }
50 virtual v8::Local<v8::Object> scriptableObject(v8::Isolate*) { return v8::Lo cal<v8::Object>(); } 47 virtual v8::Local<v8::Object> scriptableObject(v8::Isolate*) { return v8::Lo cal<v8::Object>(); }
51 virtual bool getFormValue(String&) { return false; } 48 virtual bool getFormValue(String&) { return false; }
52 virtual bool wantsWheelEvents() { return false; } 49 virtual bool wantsWheelEvents() { return false; }
53 virtual bool supportsKeyboardFocus() const { return false; } 50 virtual bool supportsKeyboardFocus() const { return false; }
(...skipping 12 matching lines...) Expand all
66 63
67 protected: 64 protected:
68 PluginView() : Widget() { } 65 PluginView() : Widget() { }
69 }; 66 };
70 67
71 DEFINE_TYPE_CASTS(PluginView, Widget, widget, widget->isPluginView(), widget.isP luginView()); 68 DEFINE_TYPE_CASTS(PluginView, Widget, widget, widget->isPluginView(), widget.isP luginView());
72 69
73 } // namespace blink 70 } // namespace blink
74 71
75 #endif // PluginView_h 72 #endif // PluginView_h
OLDNEW
« no previous file with comments | « Source/core/plugins/DOMPlugin.h ('k') | Source/core/rendering/FilterEffectRenderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698