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/browser/renderer_host/render_widget_host_view_win.h

Issue 10855036: Adding selection text direction to SelectionBoundsChanged. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced Created 8 years, 4 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_VIEW_WIN_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlapp.h> 9 #include <atlapp.h>
10 #include <atlcrack.h> 10 #include <atlcrack.h>
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 virtual void WasShown() OVERRIDE; 167 virtual void WasShown() OVERRIDE;
168 virtual void WasHidden() OVERRIDE; 168 virtual void WasHidden() OVERRIDE;
169 virtual void MovePluginWindows( 169 virtual void MovePluginWindows(
170 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; 170 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE;
171 virtual void Focus() OVERRIDE; 171 virtual void Focus() OVERRIDE;
172 virtual void Blur() OVERRIDE; 172 virtual void Blur() OVERRIDE;
173 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; 173 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE;
174 virtual void SetIsLoading(bool is_loading) OVERRIDE; 174 virtual void SetIsLoading(bool is_loading) OVERRIDE;
175 virtual void TextInputStateChanged(ui::TextInputType type, 175 virtual void TextInputStateChanged(ui::TextInputType type,
176 bool can_compose_inline) OVERRIDE; 176 bool can_compose_inline) OVERRIDE;
177 virtual void SelectionBoundsChanged(const gfx::Rect& start_rect, 177 virtual void SelectionBoundsChanged(
178 const gfx::Rect& end_rect) OVERRIDE; 178 const gfx::Rect& start_rect,
179 WebKit::WebTextDirection start_direction,
180 const gfx::Rect& end_rect,
181 WebKit::WebTextDirection end_direction) OVERRIDE;
179 virtual void ImeCancelComposition() OVERRIDE; 182 virtual void ImeCancelComposition() OVERRIDE;
180 virtual void ImeCompositionRangeChanged( 183 virtual void ImeCompositionRangeChanged(
181 const ui::Range& range, 184 const ui::Range& range,
182 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; 185 const std::vector<gfx::Rect>& character_bounds) OVERRIDE;
183 virtual void DidUpdateBackingStore( 186 virtual void DidUpdateBackingStore(
184 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, 187 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy,
185 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; 188 const std::vector<gfx::Rect>& copy_rects) OVERRIDE;
186 virtual void RenderViewGone(base::TerminationStatus status, 189 virtual void RenderViewGone(base::TerminationStatus status,
187 int error_code) OVERRIDE; 190 int error_code) OVERRIDE;
188 // called by WebContentsImpl before DestroyWindow 191 // called by WebContentsImpl before DestroyWindow
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 bool touch_events_enabled_; 542 bool touch_events_enabled_;
540 543
541 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; 544 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_;
542 545
543 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); 546 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin);
544 }; 547 };
545 548
546 } // namespace content 549 } // namespace content
547 550
548 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 551 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698