Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: content/public/renderer/render_view.h

Issue 2190783002: Remove one content::SSLStatus usage in the renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 111
112 // Notifies the renderer that a paint is to be generated for the size 112 // Notifies the renderer that a paint is to be generated for the size
113 // passed in. 113 // passed in.
114 virtual void Repaint(const gfx::Size& size) = 0; 114 virtual void Repaint(const gfx::Size& size) = 0;
115 115
116 // Inject edit commands to be used for the next keyboard event. 116 // Inject edit commands to be used for the next keyboard event.
117 virtual void SetEditCommandForNextKeyEvent(const std::string& name, 117 virtual void SetEditCommandForNextKeyEvent(const std::string& name,
118 const std::string& value) = 0; 118 const std::string& value) = 0;
119 virtual void ClearEditCommands() = 0; 119 virtual void ClearEditCommands() = 0;
120 120
121 // Returns a collection of security info about |frame|.
122 virtual SSLStatus GetSSLStatusOfFrame(blink::WebFrame* frame) const = 0;
123
124 // Returns |renderer_preferences_.accept_languages| value. 121 // Returns |renderer_preferences_.accept_languages| value.
125 virtual const std::string& GetAcceptLanguages() const = 0; 122 virtual const std::string& GetAcceptLanguages() const = 0;
126 123
127 #if defined(OS_ANDROID) 124 #if defined(OS_ANDROID)
128 virtual void UpdateTopControlsState(TopControlsState constraints, 125 virtual void UpdateTopControlsState(TopControlsState constraints,
129 TopControlsState current, 126 TopControlsState current,
130 bool animate) = 0; 127 bool animate) = 0;
131 #endif 128 #endif
132 129
133 // Converts the |rect| from Viewport coordinates to Window coordinates. 130 // Converts the |rect| from Viewport coordinates to Window coordinates.
(...skipping 13 matching lines...) Expand all
147 144
148 private: 145 private:
149 // This interface should only be implemented inside content. 146 // This interface should only be implemented inside content.
150 friend class RenderViewImpl; 147 friend class RenderViewImpl;
151 RenderView() {} 148 RenderView() {}
152 }; 149 };
153 150
154 } // namespace content 151 } // namespace content
155 152
156 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ 153 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698