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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 // once the user dismisses the dialog. | 120 // once the user dismisses the dialog. |
121 virtual void RunModalAlertDialog(WebKit::WebFrame* frame, | 121 virtual void RunModalAlertDialog(WebKit::WebFrame* frame, |
122 const WebKit::WebString& message) = 0; | 122 const WebKit::WebString& message) = 0; |
123 | 123 |
124 // The client should handle the navigation externally. | 124 // The client should handle the navigation externally. |
125 virtual void LoadURLExternally( | 125 virtual void LoadURLExternally( |
126 WebKit::WebFrame* frame, | 126 WebKit::WebFrame* frame, |
127 const WebKit::WebURLRequest& request, | 127 const WebKit::WebURLRequest& request, |
128 WebKit::WebNavigationPolicy policy) = 0; | 128 WebKit::WebNavigationPolicy policy) = 0; |
129 | 129 |
| 130 // Notifies the renderer that a paint is to be generated for the size |
| 131 // passed in. |
| 132 virtual void Repaint(const gfx::Size& size) = 0; |
| 133 |
130 protected: | 134 protected: |
131 virtual ~RenderView() {} | 135 virtual ~RenderView() {} |
132 }; | 136 }; |
133 | 137 |
134 } // namespace content | 138 } // namespace content |
135 | 139 |
136 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ | 140 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |