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

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

Issue 2554513002: Change |EnsureCaretInRect| to |EnsureCaretNotInRect|. (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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 bool GetCompositionTextRange(gfx::Range* range) const override; 213 bool GetCompositionTextRange(gfx::Range* range) const override;
214 bool GetSelectionRange(gfx::Range* range) const override; 214 bool GetSelectionRange(gfx::Range* range) const override;
215 bool SetSelectionRange(const gfx::Range& range) override; 215 bool SetSelectionRange(const gfx::Range& range) override;
216 bool DeleteRange(const gfx::Range& range) override; 216 bool DeleteRange(const gfx::Range& range) override;
217 bool GetTextFromRange(const gfx::Range& range, 217 bool GetTextFromRange(const gfx::Range& range,
218 base::string16* text) const override; 218 base::string16* text) const override;
219 void OnInputMethodChanged() override; 219 void OnInputMethodChanged() override;
220 bool ChangeTextDirectionAndLayoutAlignment( 220 bool ChangeTextDirectionAndLayoutAlignment(
221 base::i18n::TextDirection direction) override; 221 base::i18n::TextDirection direction) override;
222 void ExtendSelectionAndDelete(size_t before, size_t after) override; 222 void ExtendSelectionAndDelete(size_t before, size_t after) override;
223 void EnsureCaretInRect(const gfx::Rect& rect) override; 223 void EnsureCaretNotInRect(const gfx::Rect& rect) override;
224 bool IsTextEditCommandEnabled(ui::TextEditCommand command) const override; 224 bool IsTextEditCommandEnabled(ui::TextEditCommand command) const override;
225 void SetTextEditCommandForNextKeyEvent(ui::TextEditCommand command) override; 225 void SetTextEditCommandForNextKeyEvent(ui::TextEditCommand command) override;
226 226
227 // Overridden from display::DisplayObserver: 227 // Overridden from display::DisplayObserver:
228 void OnDisplayAdded(const display::Display& new_display) override; 228 void OnDisplayAdded(const display::Display& new_display) override;
229 void OnDisplayRemoved(const display::Display& old_display) override; 229 void OnDisplayRemoved(const display::Display& old_display) override;
230 void OnDisplayMetricsChanged(const display::Display& display, 230 void OnDisplayMetricsChanged(const display::Display& display,
231 uint32_t metrics) override; 231 uint32_t metrics) override;
232 232
233 // Overridden from aura::WindowDelegate: 233 // Overridden from aura::WindowDelegate:
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 std::unique_ptr<RenderWidgetHostViewEventHandler> event_handler_; 599 std::unique_ptr<RenderWidgetHostViewEventHandler> event_handler_;
600 600
601 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 601 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
602 602
603 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 603 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
604 }; 604 };
605 605
606 } // namespace content 606 } // namespace content
607 607
608 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 608 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW
« no previous file with comments | « components/arc/ime/arc_ime_service.h ('k') | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698