| 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 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 520 int selection_end) override; | 520 int selection_end) override; |
| 521 virtual void OnImeConfirmComposition(const base::string16& text, | 521 virtual void OnImeConfirmComposition(const base::string16& text, |
| 522 const gfx::Range& replacement_range, | 522 const gfx::Range& replacement_range, |
| 523 bool keep_selection) override; | 523 bool keep_selection) override; |
| 524 virtual void SetDeviceScaleFactor(float device_scale_factor) override; | 524 virtual void SetDeviceScaleFactor(float device_scale_factor) override; |
| 525 virtual bool SetDeviceColorProfile( | 525 virtual bool SetDeviceColorProfile( |
| 526 const std::vector<char>& color_profile) override; | 526 const std::vector<char>& color_profile) override; |
| 527 virtual void OnOrientationChange() override; | 527 virtual void OnOrientationChange() override; |
| 528 virtual ui::TextInputType GetTextInputType() override; | 528 virtual ui::TextInputType GetTextInputType() override; |
| 529 virtual void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) override; | 529 virtual void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) override; |
| 530 #if defined(OS_MACOSX) || defined(USE_AURA) | 530 #if defined(OS_MACOSX) || defined(USE_AURA) || defined(OS_ANDROID) |
| 531 virtual void GetCompositionCharacterBounds( | 531 virtual void GetCompositionCharacterBounds( |
| 532 std::vector<gfx::Rect>* character_bounds) override; | 532 std::vector<gfx::Rect>* character_bounds) override; |
| 533 virtual void GetCompositionRange(gfx::Range* range) override; | 533 virtual void GetCompositionRange(gfx::Range* range) override; |
| 534 #endif | 534 #endif |
| 535 virtual bool CanComposeInline() override; | 535 virtual bool CanComposeInline() override; |
| 536 virtual void DidCommitCompositorFrame() override; | 536 virtual void DidCommitCompositorFrame() override; |
| 537 virtual void InstrumentWillBeginFrame(int frame_id) override; | 537 virtual void InstrumentWillBeginFrame(int frame_id) override; |
| 538 virtual void InstrumentDidBeginFrame() override; | 538 virtual void InstrumentDidBeginFrame() override; |
| 539 virtual void InstrumentDidCancelFrame() override; | 539 virtual void InstrumentDidCancelFrame() override; |
| 540 virtual void InstrumentWillComposite() override; | 540 virtual void InstrumentWillComposite() override; |
| (...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1110 // use the Observer interface to filter IPC messages and receive frame change | 1110 // use the Observer interface to filter IPC messages and receive frame change |
| 1111 // notifications. | 1111 // notifications. |
| 1112 // --------------------------------------------------------------------------- | 1112 // --------------------------------------------------------------------------- |
| 1113 | 1113 |
| 1114 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1114 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1115 }; | 1115 }; |
| 1116 | 1116 |
| 1117 } // namespace content | 1117 } // namespace content |
| 1118 | 1118 |
| 1119 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1119 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |