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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 #if defined(OS_ANDROID) | 124 #if defined(OS_ANDROID) |
125 virtual void UpdateTopControlsState(TopControlsState constraints, | 125 virtual void UpdateTopControlsState(TopControlsState constraints, |
126 TopControlsState current, | 126 TopControlsState current, |
127 bool animate) = 0; | 127 bool animate) = 0; |
128 #endif | 128 #endif |
129 | 129 |
130 virtual bool UsesTemporaryZoomLevel() const = 0; | |
Fady Samuel
2014/06/10 20:05:14
Is there a need to expose this to the content API?
wjmaclean
2014/06/10 20:18:55
See comment in render_view_impl.h
| |
131 | |
130 protected: | 132 protected: |
131 virtual ~RenderView() {} | 133 virtual ~RenderView() {} |
132 | 134 |
133 private: | 135 private: |
134 // This interface should only be implemented inside content. | 136 // This interface should only be implemented inside content. |
135 friend class RenderViewImpl; | 137 friend class RenderViewImpl; |
136 RenderView() {} | 138 RenderView() {} |
137 }; | 139 }; |
138 | 140 |
139 } // namespace content | 141 } // namespace content |
140 | 142 |
141 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ | 143 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |