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_PUBLIC_RENDERER_RENDER_VIEW_H_ | 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ |
6 #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ | 6 #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/string16.h" | 9 #include "base/string16.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 // The client should handle the navigation externally. | 139 // The client should handle the navigation externally. |
140 virtual void LoadURLExternally( | 140 virtual void LoadURLExternally( |
141 WebKit::WebFrame* frame, | 141 WebKit::WebFrame* frame, |
142 const WebKit::WebURLRequest& request, | 142 const WebKit::WebURLRequest& request, |
143 WebKit::WebNavigationPolicy policy) = 0; | 143 WebKit::WebNavigationPolicy policy) = 0; |
144 | 144 |
145 // Notifies the renderer that a paint is to be generated for the size | 145 // Notifies the renderer that a paint is to be generated for the size |
146 // passed in. | 146 // passed in. |
147 virtual void Repaint(const gfx::Size& size) = 0; | 147 virtual void Repaint(const gfx::Size& size) = 0; |
148 | 148 |
| 149 // Inject edit commands to be used for the next keyboard event. |
| 150 virtual void SetEditCommandForNextKeyEvent(const std::string& name, |
| 151 const std::string& value) = 0; |
| 152 virtual void ClearEditCommands() = 0; |
| 153 |
149 protected: | 154 protected: |
150 virtual ~RenderView() {} | 155 virtual ~RenderView() {} |
151 }; | 156 }; |
152 | 157 |
153 } // namespace content | 158 } // namespace content |
154 | 159 |
155 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ | 160 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |