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

Side by Side Diff: content/public/browser/render_widget_host.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_BROWSER_RENDER_WIDGET_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "content/public/browser/native_web_keyboard_event.h" 10 #include "content/public/browser/native_web_keyboard_event.h"
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 // RENDER_WIDGET_HOST_DID_RECEIVE_PAINT_AT_SIZE_ACK notification is issued. 249 // RENDER_WIDGET_HOST_DID_RECEIVE_PAINT_AT_SIZE_ACK notification is issued.
250 // Note that this bypasses most of the update logic that is normally invoked, 250 // Note that this bypasses most of the update logic that is normally invoked,
251 // and doesn't put the results into the backing store. 251 // and doesn't put the results into the backing store.
252 virtual void PaintAtSize(TransportDIB::Handle dib_handle, 252 virtual void PaintAtSize(TransportDIB::Handle dib_handle,
253 int tag, 253 int tag,
254 const gfx::Size& page_size, 254 const gfx::Size& page_size,
255 const gfx::Size& desired_size) = 0; 255 const gfx::Size& desired_size) = 0;
256 256
257 // Makes an IPC call to tell webkit to replace the currently selected word 257 // Makes an IPC call to tell webkit to replace the currently selected word
258 // or a word around the cursor. 258 // or a word around the cursor.
259 virtual void Replace(const string16& word) = 0; 259 virtual void Replace(const base::string16& word) = 0;
260 260
261 // Makes an IPC call to tell webkit to replace the misspelling in the current 261 // Makes an IPC call to tell webkit to replace the misspelling in the current
262 // selection. 262 // selection.
263 virtual void ReplaceMisspelling(const string16& word) = 0; 263 virtual void ReplaceMisspelling(const base::string16& word) = 0;
264 264
265 // Called to notify the RenderWidget that the resize rect has changed without 265 // Called to notify the RenderWidget that the resize rect has changed without
266 // the size of the RenderWidget itself changing. 266 // the size of the RenderWidget itself changing.
267 virtual void ResizeRectChanged(const gfx::Rect& new_rect) = 0; 267 virtual void ResizeRectChanged(const gfx::Rect& new_rect) = 0;
268 268
269 // Restart the active hang monitor timeout. Clears all existing timeouts and 269 // Restart the active hang monitor timeout. Clears all existing timeouts and
270 // starts with a new one. This can be because the renderer has become 270 // starts with a new one. This can be because the renderer has become
271 // active, the tab is being hidden, or the user has chosen to wait some more 271 // active, the tab is being hidden, or the user has chosen to wait some more
272 // to give the tab a chance to become active and we don't want to display a 272 // to give the tab a chance to become active and we don't want to display a
273 // warning too soon. 273 // warning too soon.
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 // within content/. This method is necessary because 317 // within content/. This method is necessary because
318 // RenderWidgetHost is the root of a diamond inheritance pattern, so 318 // RenderWidgetHost is the root of a diamond inheritance pattern, so
319 // subclasses inherit it virtually, which removes our ability to 319 // subclasses inherit it virtually, which removes our ability to
320 // static_cast to the subclass. 320 // static_cast to the subclass.
321 virtual RenderWidgetHostImpl* AsRenderWidgetHostImpl() = 0; 321 virtual RenderWidgetHostImpl* AsRenderWidgetHostImpl() = 0;
322 }; 322 };
323 323
324 } // namespace content 324 } // namespace content
325 325
326 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_ 326 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_
OLDNEW
« no previous file with comments | « content/public/browser/render_view_host.h ('k') | content/public/browser/render_widget_host_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698