| 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_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ |
| 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 struct WebCompositionUnderline; | 72 struct WebCompositionUnderline; |
| 73 struct WebCursorInfo; | 73 struct WebCursorInfo; |
| 74 struct WebURLError; | 74 struct WebURLError; |
| 75 struct WebPrintParams; | 75 struct WebPrintParams; |
| 76 } | 76 } |
| 77 | 77 |
| 78 namespace cc { | 78 namespace cc { |
| 79 class TextureLayer; | 79 class TextureLayer; |
| 80 } | 80 } |
| 81 | 81 |
| 82 namespace gfx { |
| 83 class Range; |
| 84 } |
| 85 |
| 82 namespace ppapi { | 86 namespace ppapi { |
| 83 class Resource; | 87 class Resource; |
| 84 struct InputEventData; | 88 struct InputEventData; |
| 85 struct PPP_Instance_Combined; | 89 struct PPP_Instance_Combined; |
| 86 } | 90 } |
| 87 | 91 |
| 88 namespace ui { | |
| 89 class Range; | |
| 90 } | |
| 91 | |
| 92 namespace v8 { | 92 namespace v8 { |
| 93 class Isolate; | 93 class Isolate; |
| 94 } | 94 } |
| 95 | 95 |
| 96 namespace content { | 96 namespace content { |
| 97 | 97 |
| 98 class ContentDecryptorDelegate; | 98 class ContentDecryptorDelegate; |
| 99 class FullscreenContainer; | 99 class FullscreenContainer; |
| 100 class MessageChannel; | 100 class MessageChannel; |
| 101 class PepperGraphics2DHost; | 101 class PepperGraphics2DHost; |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 const std::vector<WebKit::WebCompositionUnderline>& underlines, | 190 const std::vector<WebKit::WebCompositionUnderline>& underlines, |
| 191 int selection_start, | 191 int selection_start, |
| 192 int selection_end); | 192 int selection_end); |
| 193 bool HandleCompositionEnd(const base::string16& text); | 193 bool HandleCompositionEnd(const base::string16& text); |
| 194 bool HandleTextInput(const base::string16& text); | 194 bool HandleTextInput(const base::string16& text); |
| 195 | 195 |
| 196 // Gets the current text input status. | 196 // Gets the current text input status. |
| 197 ui::TextInputType text_input_type() const { return text_input_type_; } | 197 ui::TextInputType text_input_type() const { return text_input_type_; } |
| 198 gfx::Rect GetCaretBounds() const; | 198 gfx::Rect GetCaretBounds() const; |
| 199 bool IsPluginAcceptingCompositionEvents() const; | 199 bool IsPluginAcceptingCompositionEvents() const; |
| 200 void GetSurroundingText(base::string16* text, ui::Range* range) const; | 200 void GetSurroundingText(base::string16* text, gfx::Range* range) const; |
| 201 | 201 |
| 202 // Notifications about focus changes, see has_webkit_focus_ below. | 202 // Notifications about focus changes, see has_webkit_focus_ below. |
| 203 void SetWebKitFocus(bool has_focus); | 203 void SetWebKitFocus(bool has_focus); |
| 204 void SetContentAreaFocus(bool has_focus); | 204 void SetContentAreaFocus(bool has_focus); |
| 205 | 205 |
| 206 // Notification about page visibility. The default is "visible". | 206 // Notification about page visibility. The default is "visible". |
| 207 void PageVisibilityChanged(bool is_visible); | 207 void PageVisibilityChanged(bool is_visible); |
| 208 | 208 |
| 209 // Notifications that the view is about to paint, has started painting, and | 209 // Notifications that the view is about to paint, has started painting, and |
| 210 // has flushed the painted content to the screen. These messages are used to | 210 // has flushed the painted content to the screen. These messages are used to |
| (...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 849 | 849 |
| 850 scoped_ptr<MouseLockDispatcher::LockTarget> lock_target_; | 850 scoped_ptr<MouseLockDispatcher::LockTarget> lock_target_; |
| 851 | 851 |
| 852 friend class PpapiPluginInstanceTest; | 852 friend class PpapiPluginInstanceTest; |
| 853 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); | 853 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); |
| 854 }; | 854 }; |
| 855 | 855 |
| 856 } // namespace content | 856 } // namespace content |
| 857 | 857 |
| 858 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ | 858 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ |
| OLD | NEW |