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

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

Issue 2024033006: Make ui::TextInputClient::IsEditCommandEnabled const. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 bool GetSelectionRange(gfx::Range* range) const override; 230 bool GetSelectionRange(gfx::Range* range) const override;
231 bool SetSelectionRange(const gfx::Range& range) override; 231 bool SetSelectionRange(const gfx::Range& range) override;
232 bool DeleteRange(const gfx::Range& range) override; 232 bool DeleteRange(const gfx::Range& range) override;
233 bool GetTextFromRange(const gfx::Range& range, 233 bool GetTextFromRange(const gfx::Range& range,
234 base::string16* text) const override; 234 base::string16* text) const override;
235 void OnInputMethodChanged() override; 235 void OnInputMethodChanged() override;
236 bool ChangeTextDirectionAndLayoutAlignment( 236 bool ChangeTextDirectionAndLayoutAlignment(
237 base::i18n::TextDirection direction) override; 237 base::i18n::TextDirection direction) override;
238 void ExtendSelectionAndDelete(size_t before, size_t after) override; 238 void ExtendSelectionAndDelete(size_t before, size_t after) override;
239 void EnsureCaretInRect(const gfx::Rect& rect) override; 239 void EnsureCaretInRect(const gfx::Rect& rect) override;
240 bool IsEditCommandEnabled(int command_id) override; 240 bool IsEditCommandEnabled(int command_id) const override;
241 void SetEditCommandForNextKeyEvent(int command_id) override; 241 void SetEditCommandForNextKeyEvent(int command_id) override;
242 242
243 // Overridden from display::DisplayObserver: 243 // Overridden from display::DisplayObserver:
244 void OnDisplayAdded(const display::Display& new_display) override; 244 void OnDisplayAdded(const display::Display& new_display) override;
245 void OnDisplayRemoved(const display::Display& old_display) override; 245 void OnDisplayRemoved(const display::Display& old_display) override;
246 void OnDisplayMetricsChanged(const display::Display& display, 246 void OnDisplayMetricsChanged(const display::Display& display,
247 uint32_t metrics) override; 247 uint32_t metrics) override;
248 248
249 // Overridden from aura::WindowDelegate: 249 // Overridden from aura::WindowDelegate:
250 gfx::Size GetMinimumSize() const override; 250 gfx::Size GetMinimumSize() const override;
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 bool disable_input_event_router_for_testing_; 691 bool disable_input_event_router_for_testing_;
692 692
693 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 693 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
694 694
695 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 695 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
696 }; 696 };
697 697
698 } // namespace content 698 } // namespace content
699 699
700 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 700 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698