| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 virtual void SetEditCommandForNextKeyEvent(const std::string& name, | 114 virtual void SetEditCommandForNextKeyEvent(const std::string& name, |
| 115 const std::string& value) = 0; | 115 const std::string& value) = 0; |
| 116 virtual void ClearEditCommands() = 0; | 116 virtual void ClearEditCommands() = 0; |
| 117 | 117 |
| 118 // Returns a collection of security info about |frame|. | 118 // Returns a collection of security info about |frame|. |
| 119 virtual SSLStatus GetSSLStatusOfFrame(blink::WebFrame* frame) const = 0; | 119 virtual SSLStatus GetSSLStatusOfFrame(blink::WebFrame* frame) const = 0; |
| 120 | 120 |
| 121 // Returns |renderer_preferences_.accept_languages| value. | 121 // Returns |renderer_preferences_.accept_languages| value. |
| 122 virtual const std::string& GetAcceptLanguages() const = 0; | 122 virtual const std::string& GetAcceptLanguages() const = 0; |
| 123 | 123 |
| 124 // Attaches the browser plugin to guest content created by the embedder. |
| 125 virtual void AttachToBrowserPlugin(blink::WebNode& browser_plugin) = 0; |
| 126 |
| 124 #if defined(OS_ANDROID) | 127 #if defined(OS_ANDROID) |
| 125 virtual void UpdateTopControlsState(TopControlsState constraints, | 128 virtual void UpdateTopControlsState(TopControlsState constraints, |
| 126 TopControlsState current, | 129 TopControlsState current, |
| 127 bool animate) = 0; | 130 bool animate) = 0; |
| 128 #endif | 131 #endif |
| 129 | 132 |
| 130 protected: | 133 protected: |
| 131 virtual ~RenderView() {} | 134 virtual ~RenderView() {} |
| 132 | 135 |
| 133 private: | 136 private: |
| 134 // This interface should only be implemented inside content. | 137 // This interface should only be implemented inside content. |
| 135 friend class RenderViewImpl; | 138 friend class RenderViewImpl; |
| 136 RenderView() {} | 139 RenderView() {} |
| 137 }; | 140 }; |
| 138 | 141 |
| 139 } // namespace content | 142 } // namespace content |
| 140 | 143 |
| 141 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ | 144 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |