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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 bool GetSelectionRange(gfx::Range* range) const override; | 223 bool GetSelectionRange(gfx::Range* range) const override; |
224 bool SetSelectionRange(const gfx::Range& range) override; | 224 bool SetSelectionRange(const gfx::Range& range) override; |
225 bool DeleteRange(const gfx::Range& range) override; | 225 bool DeleteRange(const gfx::Range& range) override; |
226 bool GetTextFromRange(const gfx::Range& range, | 226 bool GetTextFromRange(const gfx::Range& range, |
227 base::string16* text) const override; | 227 base::string16* text) const override; |
228 void OnInputMethodChanged() override; | 228 void OnInputMethodChanged() override; |
229 bool ChangeTextDirectionAndLayoutAlignment( | 229 bool ChangeTextDirectionAndLayoutAlignment( |
230 base::i18n::TextDirection direction) override; | 230 base::i18n::TextDirection direction) override; |
231 void ExtendSelectionAndDelete(size_t before, size_t after) override; | 231 void ExtendSelectionAndDelete(size_t before, size_t after) override; |
232 void EnsureCaretInRect(const gfx::Rect& rect) override; | 232 void EnsureCaretInRect(const gfx::Rect& rect) override; |
233 bool IsEditCommandEnabled(int command_id) override; | 233 bool IsEditCommandEnabled(ui::TextEditCommand command) const override; |
234 void SetEditCommandForNextKeyEvent(int command_id) override; | 234 void SetEditCommandForNextKeyEvent(ui::TextEditCommand command) override; |
235 | 235 |
236 // Overridden from display::DisplayObserver: | 236 // Overridden from display::DisplayObserver: |
237 void OnDisplayAdded(const display::Display& new_display) override; | 237 void OnDisplayAdded(const display::Display& new_display) override; |
238 void OnDisplayRemoved(const display::Display& old_display) override; | 238 void OnDisplayRemoved(const display::Display& old_display) override; |
239 void OnDisplayMetricsChanged(const display::Display& display, | 239 void OnDisplayMetricsChanged(const display::Display& display, |
240 uint32_t metrics) override; | 240 uint32_t metrics) override; |
241 | 241 |
242 // Overridden from aura::WindowDelegate: | 242 // Overridden from aura::WindowDelegate: |
243 gfx::Size GetMinimumSize() const override; | 243 gfx::Size GetMinimumSize() const override; |
244 gfx::Size GetMaximumSize() const override; | 244 gfx::Size GetMaximumSize() const override; |
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
674 bool disable_input_event_router_for_testing_; | 674 bool disable_input_event_router_for_testing_; |
675 | 675 |
676 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | 676 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; |
677 | 677 |
678 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 678 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
679 }; | 679 }; |
680 | 680 |
681 } // namespace content | 681 } // namespace content |
682 | 682 |
683 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 683 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |