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 <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 void OnInputMethodChanged() override; | 257 void OnInputMethodChanged() override; |
258 bool ChangeTextDirectionAndLayoutAlignment( | 258 bool ChangeTextDirectionAndLayoutAlignment( |
259 base::i18n::TextDirection direction) override; | 259 base::i18n::TextDirection direction) override; |
260 void ExtendSelectionAndDelete(size_t before, size_t after) override; | 260 void ExtendSelectionAndDelete(size_t before, size_t after) override; |
261 void EnsureCaretInRect(const gfx::Rect& rect) override; | 261 void EnsureCaretInRect(const gfx::Rect& rect) override; |
262 void OnCandidateWindowShown() override; | 262 void OnCandidateWindowShown() override; |
263 void OnCandidateWindowUpdated() override; | 263 void OnCandidateWindowUpdated() override; |
264 void OnCandidateWindowHidden() override; | 264 void OnCandidateWindowHidden() override; |
265 bool IsEditingCommandEnabled(int command_id) override; | 265 bool IsEditingCommandEnabled(int command_id) override; |
266 void ExecuteEditingCommand(int command_id) override; | 266 void ExecuteEditingCommand(int command_id) override; |
| 267 bool HandleAsKeyEventOnly(const ui::KeyEvent& key_event) override; |
267 | 268 |
268 // Overridden from gfx::DisplayObserver: | 269 // Overridden from gfx::DisplayObserver: |
269 void OnDisplayAdded(const gfx::Display& new_display) override; | 270 void OnDisplayAdded(const gfx::Display& new_display) override; |
270 void OnDisplayRemoved(const gfx::Display& old_display) override; | 271 void OnDisplayRemoved(const gfx::Display& old_display) override; |
271 void OnDisplayMetricsChanged(const gfx::Display& display, | 272 void OnDisplayMetricsChanged(const gfx::Display& display, |
272 uint32_t metrics) override; | 273 uint32_t metrics) override; |
273 | 274 |
274 // Overridden from aura::WindowDelegate: | 275 // Overridden from aura::WindowDelegate: |
275 gfx::Size GetMinimumSize() const override; | 276 gfx::Size GetMinimumSize() const override; |
276 gfx::Size GetMaximumSize() const override; | 277 gfx::Size GetMaximumSize() const override; |
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
649 // compositing surface and showing the disambiguation popup. | 650 // compositing surface and showing the disambiguation popup. |
650 gfx::Vector2dF disambiguation_scroll_offset_; | 651 gfx::Vector2dF disambiguation_scroll_offset_; |
651 | 652 |
652 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | 653 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; |
653 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 654 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
654 }; | 655 }; |
655 | 656 |
656 } // namespace content | 657 } // namespace content |
657 | 658 |
658 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 659 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |