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

Side by Side Diff: content/browser/renderer_host/render_widget_host.h

Issue 6974007: Move setToolTipText related functions from RenderView to RenderWidget. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Check tool tip is empty in Mac code. Created 9 years, 7 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <string> 10 #include <string>
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 // Called if we know the renderer is responsive. When we currently think the 439 // Called if we know the renderer is responsive. When we currently think the
440 // renderer is unresponsive, this will clear that state and call 440 // renderer is unresponsive, this will clear that state and call
441 // NotifyRendererResponsive. 441 // NotifyRendererResponsive.
442 void RendererIsResponsive(); 442 void RendererIsResponsive();
443 443
444 // IPC message handlers 444 // IPC message handlers
445 void OnMsgRenderViewReady(); 445 void OnMsgRenderViewReady();
446 void OnMsgRenderViewGone(int status, int error_code); 446 void OnMsgRenderViewGone(int status, int error_code);
447 void OnMsgClose(); 447 void OnMsgClose();
448 void OnMsgRequestMove(const gfx::Rect& pos); 448 void OnMsgRequestMove(const gfx::Rect& pos);
449 void OnMsgSetTooltipText(const std::wstring& tooltip_text,
450 WebKit::WebTextDirection text_direction_hint);
449 void OnMsgPaintAtSizeAck(int tag, const gfx::Size& size); 451 void OnMsgPaintAtSizeAck(int tag, const gfx::Size& size);
450 void OnMsgUpdateRect(const ViewHostMsg_UpdateRect_Params& params); 452 void OnMsgUpdateRect(const ViewHostMsg_UpdateRect_Params& params);
451 void OnMsgInputEventAck(const IPC::Message& message); 453 void OnMsgInputEventAck(const IPC::Message& message);
452 virtual void OnMsgFocus(); 454 virtual void OnMsgFocus();
453 virtual void OnMsgBlur(); 455 virtual void OnMsgBlur();
454 456
455 void OnMsgSetCursor(const WebCursor& cursor); 457 void OnMsgSetCursor(const WebCursor& cursor);
456 void OnMsgImeUpdateTextInputState(WebKit::WebTextInputType type, 458 void OnMsgImeUpdateTextInputState(WebKit::WebTextInputType type,
457 const gfx::Rect& caret_rect); 459 const gfx::Rect& caret_rect);
458 void OnMsgImeCompositionRangeChanged(const ui::Range& range); 460 void OnMsgImeCompositionRangeChanged(const ui::Range& range);
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 653
652 std::vector<gfx::PluginWindowHandle> deferred_plugin_handles_; 654 std::vector<gfx::PluginWindowHandle> deferred_plugin_handles_;
653 655
654 // The last scroll offset of the render widget. 656 // The last scroll offset of the render widget.
655 gfx::Point last_scroll_offset_; 657 gfx::Point last_scroll_offset_;
656 658
657 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); 659 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost);
658 }; 660 };
659 661
660 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 662 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host.cc ('k') | content/browser/renderer_host/render_widget_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698