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_RENDERER_RENDER_VIEW_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
551 const base::string16& text, | 551 const base::string16& text, |
552 const std::vector<blink::WebCompositionUnderline>& underlines, | 552 const std::vector<blink::WebCompositionUnderline>& underlines, |
553 int selection_start, | 553 int selection_start, |
554 int selection_end) OVERRIDE; | 554 int selection_end) OVERRIDE; |
555 virtual void OnImeConfirmComposition(const base::string16& text, | 555 virtual void OnImeConfirmComposition(const base::string16& text, |
556 const gfx::Range& replacement_range, | 556 const gfx::Range& replacement_range, |
557 bool keep_selection) OVERRIDE; | 557 bool keep_selection) OVERRIDE; |
558 virtual void SetDeviceScaleFactor(float device_scale_factor) OVERRIDE; | 558 virtual void SetDeviceScaleFactor(float device_scale_factor) OVERRIDE; |
559 virtual void OnOrientationChange() OVERRIDE; | 559 virtual void OnOrientationChange() OVERRIDE; |
560 virtual ui::TextInputType GetTextInputType() OVERRIDE; | 560 virtual ui::TextInputType GetTextInputType() OVERRIDE; |
561 virtual void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) OVERRIDE; | 561 virtual bool GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) OVERRIDE; |
562 #if defined(OS_MACOSX) || defined(USE_AURA) | 562 #if defined(OS_MACOSX) || defined(USE_AURA) |
563 virtual void GetCompositionCharacterBounds( | 563 virtual void GetCompositionCharacterBounds( |
564 std::vector<gfx::Rect>* character_bounds) OVERRIDE; | 564 std::vector<gfx::Rect>* character_bounds) OVERRIDE; |
565 virtual void GetCompositionRange(gfx::Range* range) OVERRIDE; | 565 virtual void GetCompositionRange(gfx::Range* range) OVERRIDE; |
566 #endif | 566 #endif |
567 virtual bool CanComposeInline() OVERRIDE; | 567 virtual bool CanComposeInline() OVERRIDE; |
568 virtual void DidCommitCompositorFrame() OVERRIDE; | 568 virtual void DidCommitCompositorFrame() OVERRIDE; |
569 virtual void InstrumentWillBeginFrame(int frame_id) OVERRIDE; | 569 virtual void InstrumentWillBeginFrame(int frame_id) OVERRIDE; |
570 virtual void InstrumentDidBeginFrame() OVERRIDE; | 570 virtual void InstrumentDidBeginFrame() OVERRIDE; |
571 virtual void InstrumentDidCancelFrame() OVERRIDE; | 571 virtual void InstrumentDidCancelFrame() OVERRIDE; |
(...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1199 // use the Observer interface to filter IPC messages and receive frame change | 1199 // use the Observer interface to filter IPC messages and receive frame change |
1200 // notifications. | 1200 // notifications. |
1201 // --------------------------------------------------------------------------- | 1201 // --------------------------------------------------------------------------- |
1202 | 1202 |
1203 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1203 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1204 }; | 1204 }; |
1205 | 1205 |
1206 } // namespace content | 1206 } // namespace content |
1207 | 1207 |
1208 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1208 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |