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

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

Issue 444813002: Remove BrowserPlugin's -internal-attach method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: All tests pass Created 6 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 <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
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(int browser_plugin_instance_id,
126 int guest_instance_id) = 0;
127
124 #if defined(OS_ANDROID) 128 #if defined(OS_ANDROID)
125 virtual void UpdateTopControlsState(TopControlsState constraints, 129 virtual void UpdateTopControlsState(TopControlsState constraints,
126 TopControlsState current, 130 TopControlsState current,
127 bool animate) = 0; 131 bool animate) = 0;
128 #endif 132 #endif
129 133
130 protected: 134 protected:
131 virtual ~RenderView() {} 135 virtual ~RenderView() {}
132 136
133 private: 137 private:
134 // This interface should only be implemented inside content. 138 // This interface should only be implemented inside content.
135 friend class RenderViewImpl; 139 friend class RenderViewImpl;
136 RenderView() {} 140 RenderView() {}
137 }; 141 };
138 142
139 } // namespace content 143 } // namespace content
140 144
141 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ 145 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698