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 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
549 virtual bool ForceCompositingModeEnabled() OVERRIDE; | 549 virtual bool ForceCompositingModeEnabled() OVERRIDE; |
550 virtual void OnImeSetComposition( | 550 virtual void OnImeSetComposition( |
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 bool SetDeviceColorProfile( |
| 560 const std::vector<char>& color_profile) OVERRIDE; |
559 virtual void OnOrientationChange() OVERRIDE; | 561 virtual void OnOrientationChange() OVERRIDE; |
560 virtual ui::TextInputType GetTextInputType() OVERRIDE; | 562 virtual ui::TextInputType GetTextInputType() OVERRIDE; |
561 virtual void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) OVERRIDE; | 563 virtual void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) OVERRIDE; |
562 #if defined(OS_MACOSX) || defined(USE_AURA) | 564 #if defined(OS_MACOSX) || defined(USE_AURA) |
563 virtual void GetCompositionCharacterBounds( | 565 virtual void GetCompositionCharacterBounds( |
564 std::vector<gfx::Rect>* character_bounds) OVERRIDE; | 566 std::vector<gfx::Rect>* character_bounds) OVERRIDE; |
565 virtual void GetCompositionRange(gfx::Range* range) OVERRIDE; | 567 virtual void GetCompositionRange(gfx::Range* range) OVERRIDE; |
566 #endif | 568 #endif |
567 virtual bool CanComposeInline() OVERRIDE; | 569 virtual bool CanComposeInline() OVERRIDE; |
568 virtual void DidCommitCompositorFrame() OVERRIDE; | 570 virtual void DidCommitCompositorFrame() OVERRIDE; |
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1200 // use the Observer interface to filter IPC messages and receive frame change | 1202 // use the Observer interface to filter IPC messages and receive frame change |
1201 // notifications. | 1203 // notifications. |
1202 // --------------------------------------------------------------------------- | 1204 // --------------------------------------------------------------------------- |
1203 | 1205 |
1204 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1206 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1205 }; | 1207 }; |
1206 | 1208 |
1207 } // namespace content | 1209 } // namespace content |
1208 | 1210 |
1209 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1211 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |