| OLD | NEW |
| 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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 virtual bool GetTextRange(ui::Range* range) OVERRIDE; | 261 virtual bool GetTextRange(ui::Range* range) OVERRIDE; |
| 262 virtual bool GetCompositionTextRange(ui::Range* range) OVERRIDE; | 262 virtual bool GetCompositionTextRange(ui::Range* range) OVERRIDE; |
| 263 virtual bool GetSelectionRange(ui::Range* range) OVERRIDE; | 263 virtual bool GetSelectionRange(ui::Range* range) OVERRIDE; |
| 264 virtual bool SetSelectionRange(const ui::Range& range) OVERRIDE; | 264 virtual bool SetSelectionRange(const ui::Range& range) OVERRIDE; |
| 265 virtual bool DeleteRange(const ui::Range& range) OVERRIDE; | 265 virtual bool DeleteRange(const ui::Range& range) OVERRIDE; |
| 266 virtual bool GetTextFromRange(const ui::Range& range, | 266 virtual bool GetTextFromRange(const ui::Range& range, |
| 267 string16* text) OVERRIDE; | 267 string16* text) OVERRIDE; |
| 268 virtual void OnInputMethodChanged() OVERRIDE; | 268 virtual void OnInputMethodChanged() OVERRIDE; |
| 269 virtual bool ChangeTextDirectionAndLayoutAlignment( | 269 virtual bool ChangeTextDirectionAndLayoutAlignment( |
| 270 base::i18n::TextDirection direction) OVERRIDE; | 270 base::i18n::TextDirection direction) OVERRIDE; |
| 271 virtual void ExtendSelectionAndDelete(int before, int after) OVERRIDE; |
| 271 | 272 |
| 272 protected: | 273 protected: |
| 273 friend class RenderWidgetHostView; | 274 friend class RenderWidgetHostView; |
| 274 | 275 |
| 275 // Should construct only via RenderWidgetHostView::CreateViewForWidget. | 276 // Should construct only via RenderWidgetHostView::CreateViewForWidget. |
| 276 // | 277 // |
| 277 // The view will associate itself with the given widget. | 278 // The view will associate itself with the given widget. |
| 278 explicit RenderWidgetHostViewWin(RenderWidgetHost* widget); | 279 explicit RenderWidgetHostViewWin(RenderWidgetHost* widget); |
| 279 | 280 |
| 280 // Windows Message Handlers | 281 // Windows Message Handlers |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 575 bool touch_events_enabled_; | 576 bool touch_events_enabled_; |
| 576 | 577 |
| 577 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 578 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
| 578 | 579 |
| 579 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 580 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
| 580 }; | 581 }; |
| 581 | 582 |
| 582 } // namespace content | 583 } // namespace content |
| 583 | 584 |
| 584 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 585 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
| OLD | NEW |