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

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

Issue 222783004: Move textual replacement to WebContents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 virtual void ForwardWheelEvent( 154 virtual void ForwardWheelEvent(
155 const blink::WebMouseWheelEvent& wheel_event) OVERRIDE; 155 const blink::WebMouseWheelEvent& wheel_event) OVERRIDE;
156 virtual void ForwardKeyboardEvent( 156 virtual void ForwardKeyboardEvent(
157 const NativeWebKeyboardEvent& key_event) OVERRIDE; 157 const NativeWebKeyboardEvent& key_event) OVERRIDE;
158 virtual const gfx::Vector2d& GetLastScrollOffset() const OVERRIDE; 158 virtual const gfx::Vector2d& GetLastScrollOffset() const OVERRIDE;
159 virtual RenderProcessHost* GetProcess() const OVERRIDE; 159 virtual RenderProcessHost* GetProcess() const OVERRIDE;
160 virtual int GetRoutingID() const OVERRIDE; 160 virtual int GetRoutingID() const OVERRIDE;
161 virtual RenderWidgetHostView* GetView() const OVERRIDE; 161 virtual RenderWidgetHostView* GetView() const OVERRIDE;
162 virtual bool IsLoading() const OVERRIDE; 162 virtual bool IsLoading() const OVERRIDE;
163 virtual bool IsRenderView() const OVERRIDE; 163 virtual bool IsRenderView() const OVERRIDE;
164 virtual void Replace(const base::string16& word) OVERRIDE;
165 virtual void ReplaceMisspelling(const base::string16& word) OVERRIDE;
166 virtual void ResizeRectChanged(const gfx::Rect& new_rect) OVERRIDE; 164 virtual void ResizeRectChanged(const gfx::Rect& new_rect) OVERRIDE;
167 virtual void RestartHangMonitorTimeout() OVERRIDE; 165 virtual void RestartHangMonitorTimeout() OVERRIDE;
168 virtual void SetIgnoreInputEvents(bool ignore_input_events) OVERRIDE; 166 virtual void SetIgnoreInputEvents(bool ignore_input_events) OVERRIDE;
169 virtual void Stop() OVERRIDE; 167 virtual void Stop() OVERRIDE;
170 virtual void WasResized() OVERRIDE; 168 virtual void WasResized() OVERRIDE;
171 virtual void AddKeyPressEventCallback( 169 virtual void AddKeyPressEventCallback(
172 const KeyPressEventCallback& callback) OVERRIDE; 170 const KeyPressEventCallback& callback) OVERRIDE;
173 virtual void RemoveKeyPressEventCallback( 171 virtual void RemoveKeyPressEventCallback(
174 const KeyPressEventCallback& callback) OVERRIDE; 172 const KeyPressEventCallback& callback) OVERRIDE;
175 virtual void AddMouseEventCallback( 173 virtual void AddMouseEventCallback(
(...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after
948 std::queue<base::Callback<void(bool, const SkBitmap&)> > pending_snapshots_; 946 std::queue<base::Callback<void(bool, const SkBitmap&)> > pending_snapshots_;
949 947
950 int64 last_input_number_; 948 int64 last_input_number_;
951 949
952 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 950 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
953 }; 951 };
954 952
955 } // namespace content 953 } // namespace content
956 954
957 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 955 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698