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

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

Issue 102593002: Convert string16 to base::string16 in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 virtual bool IsEditableNode(const blink::WebNode& node) const = 0; 88 virtual bool IsEditableNode(const blink::WebNode& node) const = 0;
89 89
90 // Create a new NPAPI/Pepper plugin depending on |info|. Returns NULL if no 90 // Create a new NPAPI/Pepper plugin depending on |info|. Returns NULL if no
91 // plugin was found. 91 // plugin was found.
92 virtual blink::WebPlugin* CreatePlugin( 92 virtual blink::WebPlugin* CreatePlugin(
93 blink::WebFrame* frame, 93 blink::WebFrame* frame,
94 const WebPluginInfo& info, 94 const WebPluginInfo& info,
95 const blink::WebPluginParams& params) = 0; 95 const blink::WebPluginParams& params) = 0;
96 96
97 // Evaluates a string of JavaScript in a particular frame. 97 // Evaluates a string of JavaScript in a particular frame.
98 virtual void EvaluateScript(const string16& frame_xpath, 98 virtual void EvaluateScript(const base::string16& frame_xpath,
99 const string16& jscript, 99 const base::string16& jscript,
100 int id, 100 int id,
101 bool notify_result) = 0; 101 bool notify_result) = 0;
102 102
103 // Returns true if we should display scrollbars for the given view size and 103 // Returns true if we should display scrollbars for the given view size and
104 // false if the scrollbars should be hidden. 104 // false if the scrollbars should be hidden.
105 virtual bool ShouldDisplayScrollbars(int width, int height) const = 0; 105 virtual bool ShouldDisplayScrollbars(int width, int height) const = 0;
106 106
107 // Bitwise-ORed set of extra bindings that have been enabled. See 107 // Bitwise-ORed set of extra bindings that have been enabled. See
108 // BindingsPolicy for details. 108 // BindingsPolicy for details.
109 virtual int GetEnabledBindings() const = 0; 109 virtual int GetEnabledBindings() const = 0;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 179
180 private: 180 private:
181 // This interface should only be implemented inside content. 181 // This interface should only be implemented inside content.
182 friend class RenderViewImpl; 182 friend class RenderViewImpl;
183 RenderView() {} 183 RenderView() {}
184 }; 184 };
185 185
186 } // namespace content 186 } // namespace content
187 187
188 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ 188 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « content/public/renderer/content_renderer_client.h ('k') | content/public/test/browser_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698