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_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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 EnsureCaretOutOfRect(const gfx::Rect& rect) override; | 223 void EnsureCaretOutOfRect(const gfx::Rect& rect) override; |
| 224 void OnClientFocusLost() override; |
224 bool IsTextEditCommandEnabled(ui::TextEditCommand command) const override; | 225 bool IsTextEditCommandEnabled(ui::TextEditCommand command) const override; |
225 void SetTextEditCommandForNextKeyEvent(ui::TextEditCommand command) override; | 226 void SetTextEditCommandForNextKeyEvent(ui::TextEditCommand command) override; |
226 | 227 |
227 // Overridden from display::DisplayObserver: | 228 // Overridden from display::DisplayObserver: |
228 void OnDisplayAdded(const display::Display& new_display) override; | 229 void OnDisplayAdded(const display::Display& new_display) override; |
229 void OnDisplayRemoved(const display::Display& old_display) override; | 230 void OnDisplayRemoved(const display::Display& old_display) override; |
230 void OnDisplayMetricsChanged(const display::Display& display, | 231 void OnDisplayMetricsChanged(const display::Display& display, |
231 uint32_t metrics) override; | 232 uint32_t metrics) override; |
232 | 233 |
233 // Overridden from aura::WindowDelegate: | 234 // Overridden from aura::WindowDelegate: |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
599 std::unique_ptr<RenderWidgetHostViewEventHandler> event_handler_; | 600 std::unique_ptr<RenderWidgetHostViewEventHandler> event_handler_; |
600 | 601 |
601 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | 602 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; |
602 | 603 |
603 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 604 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
604 }; | 605 }; |
605 | 606 |
606 } // namespace content | 607 } // namespace content |
607 | 608 |
608 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 609 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |