Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: content/renderer/render_view_impl.h

Issue 671503005: Plumb composition character bounds for Android 5.0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 2 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
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_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 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 int selection_start, 517 int selection_start,
518 int selection_end) override; 518 int selection_end) override;
519 void OnImeConfirmComposition(const base::string16& text, 519 void OnImeConfirmComposition(const base::string16& text,
520 const gfx::Range& replacement_range, 520 const gfx::Range& replacement_range,
521 bool keep_selection) override; 521 bool keep_selection) override;
522 void SetDeviceScaleFactor(float device_scale_factor) override; 522 void SetDeviceScaleFactor(float device_scale_factor) override;
523 bool SetDeviceColorProfile(const std::vector<char>& color_profile) override; 523 bool SetDeviceColorProfile(const std::vector<char>& color_profile) override;
524 void OnOrientationChange() override; 524 void OnOrientationChange() override;
525 ui::TextInputType GetTextInputType() override; 525 ui::TextInputType GetTextInputType() override;
526 void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) override; 526 void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) override;
527 #if defined(OS_MACOSX) || defined(USE_AURA) 527 #if defined(OS_MACOSX) || defined(USE_AURA) || defined(OS_ANDROID)
528 void GetCompositionCharacterBounds( 528 void GetCompositionCharacterBounds(
529 std::vector<gfx::Rect>* character_bounds) override; 529 std::vector<gfx::Rect>* character_bounds) override;
530 void GetCompositionRange(gfx::Range* range) override; 530 void GetCompositionRange(gfx::Range* range) override;
531 #endif 531 #endif
532 bool CanComposeInline() override; 532 bool CanComposeInline() override;
533 void DidCommitCompositorFrame() override; 533 void DidCommitCompositorFrame() override;
534 void InstrumentWillBeginFrame(int frame_id) override; 534 void InstrumentWillBeginFrame(int frame_id) override;
535 void InstrumentDidBeginFrame() override; 535 void InstrumentDidBeginFrame() override;
536 void InstrumentDidCancelFrame() override; 536 void InstrumentDidCancelFrame() override;
537 void InstrumentWillComposite() override; 537 void InstrumentWillComposite() override;
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
1106 // use the Observer interface to filter IPC messages and receive frame change 1106 // use the Observer interface to filter IPC messages and receive frame change
1107 // notifications. 1107 // notifications.
1108 // --------------------------------------------------------------------------- 1108 // ---------------------------------------------------------------------------
1109 1109
1110 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1110 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1111 }; 1111 };
1112 1112
1113 } // namespace content 1113 } // namespace content
1114 1114
1115 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1115 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698