| 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 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 503 int selection_start, | 503 int selection_start, |
| 504 int selection_end) override; | 504 int selection_end) override; |
| 505 void OnImeConfirmComposition(const base::string16& text, | 505 void OnImeConfirmComposition(const base::string16& text, |
| 506 const gfx::Range& replacement_range, | 506 const gfx::Range& replacement_range, |
| 507 bool keep_selection) override; | 507 bool keep_selection) override; |
| 508 void SetDeviceScaleFactor(float device_scale_factor) override; | 508 void SetDeviceScaleFactor(float device_scale_factor) override; |
| 509 bool SetDeviceColorProfile(const std::vector<char>& color_profile) override; | 509 bool SetDeviceColorProfile(const std::vector<char>& color_profile) override; |
| 510 void OnOrientationChange() override; | 510 void OnOrientationChange() override; |
| 511 ui::TextInputType GetTextInputType() override; | 511 ui::TextInputType GetTextInputType() override; |
| 512 void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) override; | 512 void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) override; |
| 513 #if defined(OS_MACOSX) || defined(USE_AURA) || defined(OS_ANDROID) | |
| 514 void GetCompositionCharacterBounds( | 513 void GetCompositionCharacterBounds( |
| 515 std::vector<gfx::Rect>* character_bounds) override; | 514 std::vector<gfx::Rect>* character_bounds) override; |
| 516 void GetCompositionRange(gfx::Range* range) override; | 515 void GetCompositionRange(gfx::Range* range) override; |
| 517 #endif | |
| 518 bool CanComposeInline() override; | 516 bool CanComposeInline() override; |
| 519 void DidCommitCompositorFrame() override; | 517 void DidCommitCompositorFrame() override; |
| 520 void InstrumentWillBeginFrame(int frame_id) override; | 518 void InstrumentWillBeginFrame(int frame_id) override; |
| 521 void InstrumentDidBeginFrame() override; | 519 void InstrumentDidBeginFrame() override; |
| 522 void InstrumentDidCancelFrame() override; | 520 void InstrumentDidCancelFrame() override; |
| 523 void InstrumentWillComposite() override; | 521 void InstrumentWillComposite() override; |
| 524 | 522 |
| 525 protected: | 523 protected: |
| 526 explicit RenderViewImpl(const ViewMsg_New_Params& params); | 524 explicit RenderViewImpl(const ViewMsg_New_Params& params); |
| 527 | 525 |
| (...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1089 // use the Observer interface to filter IPC messages and receive frame change | 1087 // use the Observer interface to filter IPC messages and receive frame change |
| 1090 // notifications. | 1088 // notifications. |
| 1091 // --------------------------------------------------------------------------- | 1089 // --------------------------------------------------------------------------- |
| 1092 | 1090 |
| 1093 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1091 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1094 }; | 1092 }; |
| 1095 | 1093 |
| 1096 } // namespace content | 1094 } // namespace content |
| 1097 | 1095 |
| 1098 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1096 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |