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

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

Issue 19800005: Hide knowledge of webkit::ppapi::PluginDelegate from chrome. This is part of moving ppapi implement… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
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 "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 // once the user dismisses the dialog. 139 // once the user dismisses the dialog.
140 virtual void RunModalAlertDialog(WebKit::WebFrame* frame, 140 virtual void RunModalAlertDialog(WebKit::WebFrame* frame,
141 const WebKit::WebString& message) = 0; 141 const WebKit::WebString& message) = 0;
142 142
143 // The client should handle the navigation externally. 143 // The client should handle the navigation externally.
144 virtual void LoadURLExternally( 144 virtual void LoadURLExternally(
145 WebKit::WebFrame* frame, 145 WebKit::WebFrame* frame,
146 const WebKit::WebURLRequest& request, 146 const WebKit::WebURLRequest& request,
147 WebKit::WebNavigationPolicy policy) = 0; 147 WebKit::WebNavigationPolicy policy) = 0;
148 148
149 // Used by plugins that load data in this RenderView to update the loading
150 // notifications.
151 virtual void DidStartLoading() = 0;
152 virtual void DidStopLoading() = 0;
153
149 // Notifies the renderer that a paint is to be generated for the size 154 // Notifies the renderer that a paint is to be generated for the size
150 // passed in. 155 // passed in.
151 virtual void Repaint(const gfx::Size& size) = 0; 156 virtual void Repaint(const gfx::Size& size) = 0;
152 157
153 // Inject edit commands to be used for the next keyboard event. 158 // Inject edit commands to be used for the next keyboard event.
154 virtual void SetEditCommandForNextKeyEvent(const std::string& name, 159 virtual void SetEditCommandForNextKeyEvent(const std::string& name,
155 const std::string& value) = 0; 160 const std::string& value) = 0;
156 virtual void ClearEditCommands() = 0; 161 virtual void ClearEditCommands() = 0;
157 162
158 // Returns a collection of security info about |frame|. 163 // Returns a collection of security info about |frame|.
(...skipping 10 matching lines...) Expand all
169 174
170 private: 175 private:
171 // This interface should only be implemented inside content. 176 // This interface should only be implemented inside content.
172 friend class RenderViewImpl; 177 friend class RenderViewImpl;
173 RenderView() {} 178 RenderView() {}
174 }; 179 };
175 180
176 } // namespace content 181 } // namespace content
177 182
178 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ 183 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698