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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 2593323002: Use the physical-pixel space for native IME on linux platform. (Closed)
Patch Set: Created 4 years 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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 void SetCompositionText(const ui::CompositionText& composition) override; 200 void SetCompositionText(const ui::CompositionText& composition) override;
201 void ConfirmCompositionText() override; 201 void ConfirmCompositionText() override;
202 void ClearCompositionText() override; 202 void ClearCompositionText() override;
203 void InsertText(const base::string16& text) override; 203 void InsertText(const base::string16& text) override;
204 void InsertChar(const ui::KeyEvent& event) override; 204 void InsertChar(const ui::KeyEvent& event) override;
205 ui::TextInputType GetTextInputType() const override; 205 ui::TextInputType GetTextInputType() const override;
206 ui::TextInputMode GetTextInputMode() const override; 206 ui::TextInputMode GetTextInputMode() const override;
207 base::i18n::TextDirection GetTextDirection() const override; 207 base::i18n::TextDirection GetTextDirection() const override;
208 int GetTextInputFlags() const override; 208 int GetTextInputFlags() const override;
209 bool CanComposeInline() const override; 209 bool CanComposeInline() const override;
210 float GetScaleFactor() const override;
210 gfx::Rect GetCaretBounds() const override; 211 gfx::Rect GetCaretBounds() const override;
211 bool GetCompositionCharacterBounds(uint32_t index, 212 bool GetCompositionCharacterBounds(uint32_t index,
212 gfx::Rect* rect) const override; 213 gfx::Rect* rect) const override;
213 bool HasCompositionText() const override; 214 bool HasCompositionText() const override;
214 bool GetTextRange(gfx::Range* range) const override; 215 bool GetTextRange(gfx::Range* range) const override;
215 bool GetCompositionTextRange(gfx::Range* range) const override; 216 bool GetCompositionTextRange(gfx::Range* range) const override;
216 bool GetSelectionRange(gfx::Range* range) const override; 217 bool GetSelectionRange(gfx::Range* range) const override;
217 bool SetSelectionRange(const gfx::Range& range) override; 218 bool SetSelectionRange(const gfx::Range& range) override;
218 bool DeleteRange(const gfx::Range& range) override; 219 bool DeleteRange(const gfx::Range& range) override;
219 bool GetTextFromRange(const gfx::Range& range, 220 bool GetTextFromRange(const gfx::Range& range,
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 std::unique_ptr<RenderWidgetHostViewEventHandler> event_handler_; 592 std::unique_ptr<RenderWidgetHostViewEventHandler> event_handler_;
592 593
593 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 594 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
594 595
595 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 596 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
596 }; 597 };
597 598
598 } // namespace content 599 } // namespace content
599 600
600 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 601 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698