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

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

Issue 2027133002: Modify ui::TextInputClient to use ui::TextEditCommand enum in place of resource ids. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor4_up_down_mac
Patch Set: Address review comments. Created 4 years, 6 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_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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 bool GetSelectionRange(gfx::Range* range) const override; 232 bool GetSelectionRange(gfx::Range* range) const override;
233 bool SetSelectionRange(const gfx::Range& range) override; 233 bool SetSelectionRange(const gfx::Range& range) override;
234 bool DeleteRange(const gfx::Range& range) override; 234 bool DeleteRange(const gfx::Range& range) override;
235 bool GetTextFromRange(const gfx::Range& range, 235 bool GetTextFromRange(const gfx::Range& range,
236 base::string16* text) const override; 236 base::string16* text) const override;
237 void OnInputMethodChanged() override; 237 void OnInputMethodChanged() override;
238 bool ChangeTextDirectionAndLayoutAlignment( 238 bool ChangeTextDirectionAndLayoutAlignment(
239 base::i18n::TextDirection direction) override; 239 base::i18n::TextDirection direction) override;
240 void ExtendSelectionAndDelete(size_t before, size_t after) override; 240 void ExtendSelectionAndDelete(size_t before, size_t after) override;
241 void EnsureCaretInRect(const gfx::Rect& rect) override; 241 void EnsureCaretInRect(const gfx::Rect& rect) override;
242 bool IsEditCommandEnabled(int command_id) const override; 242 bool IsTextEditCommandEnabled(ui::TextEditCommand command) const override;
243 void SetEditCommandForNextKeyEvent(int command_id) override; 243 void SetTextEditCommandForNextKeyEvent(ui::TextEditCommand command) override;
244 244
245 // Overridden from display::DisplayObserver: 245 // Overridden from display::DisplayObserver:
246 void OnDisplayAdded(const display::Display& new_display) override; 246 void OnDisplayAdded(const display::Display& new_display) override;
247 void OnDisplayRemoved(const display::Display& old_display) override; 247 void OnDisplayRemoved(const display::Display& old_display) override;
248 void OnDisplayMetricsChanged(const display::Display& display, 248 void OnDisplayMetricsChanged(const display::Display& display,
249 uint32_t metrics) override; 249 uint32_t metrics) override;
250 250
251 // Overridden from aura::WindowDelegate: 251 // Overridden from aura::WindowDelegate:
252 gfx::Size GetMinimumSize() const override; 252 gfx::Size GetMinimumSize() const override;
253 gfx::Size GetMaximumSize() const override; 253 gfx::Size GetMaximumSize() const override;
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 bool disable_input_event_router_for_testing_; 693 bool disable_input_event_router_for_testing_;
694 694
695 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 695 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
696 696
697 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 697 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
698 }; 698 };
699 699
700 } // namespace content 700 } // namespace content
701 701
702 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 702 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW
« no previous file with comments | « components/arc/ime/arc_ime_service.cc ('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