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

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

Issue 11245004: [content shell] link against the TestRunner library (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch for landing Created 8 years, 1 month 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
« no previous file with comments | « content/content_shell.gypi ('k') | content/public/renderer/render_view_observer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/string16.h" 9 #include "base/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 // The client should handle the navigation externally. 139 // The client should handle the navigation externally.
140 virtual void LoadURLExternally( 140 virtual void LoadURLExternally(
141 WebKit::WebFrame* frame, 141 WebKit::WebFrame* frame,
142 const WebKit::WebURLRequest& request, 142 const WebKit::WebURLRequest& request,
143 WebKit::WebNavigationPolicy policy) = 0; 143 WebKit::WebNavigationPolicy policy) = 0;
144 144
145 // Notifies the renderer that a paint is to be generated for the size 145 // Notifies the renderer that a paint is to be generated for the size
146 // passed in. 146 // passed in.
147 virtual void Repaint(const gfx::Size& size) = 0; 147 virtual void Repaint(const gfx::Size& size) = 0;
148 148
149 // Inject edit commands to be used for the next keyboard event.
150 virtual void SetEditCommandForNextKeyEvent(const std::string& name,
151 const std::string& value) = 0;
152 virtual void ClearEditCommands() = 0;
153
149 protected: 154 protected:
150 virtual ~RenderView() {} 155 virtual ~RenderView() {}
151 }; 156 };
152 157
153 } // namespace content 158 } // namespace content
154 159
155 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ 160 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « content/content_shell.gypi ('k') | content/public/renderer/render_view_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698