| 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 #include "content/browser/renderer_host/render_widget_host_view_aura.h" | 5 #include "content/browser/renderer_host/render_widget_host_view_aura.h" |
| 6 | 6 |
| 7 #include "base/auto_reset.h" | 7 #include "base/auto_reset.h" |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/callback_helpers.h" | 10 #include "base/callback_helpers.h" |
| (...skipping 1639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1650 host_->CandidateWindowHidden(); | 1650 host_->CandidateWindowHidden(); |
| 1651 } | 1651 } |
| 1652 | 1652 |
| 1653 bool RenderWidgetHostViewAura::IsEditingCommandEnabled(int command_id) { | 1653 bool RenderWidgetHostViewAura::IsEditingCommandEnabled(int command_id) { |
| 1654 return false; | 1654 return false; |
| 1655 } | 1655 } |
| 1656 | 1656 |
| 1657 void RenderWidgetHostViewAura::ExecuteEditingCommand(int command_id) { | 1657 void RenderWidgetHostViewAura::ExecuteEditingCommand(int command_id) { |
| 1658 } | 1658 } |
| 1659 | 1659 |
| 1660 bool RenderWidgetHostViewAura::HandleAsKeyEventOnly( |
| 1661 const ui::KeyEvent& key_event) { |
| 1662 return false; |
| 1663 } |
| 1664 |
| 1660 //////////////////////////////////////////////////////////////////////////////// | 1665 //////////////////////////////////////////////////////////////////////////////// |
| 1661 // RenderWidgetHostViewAura, gfx::DisplayObserver implementation: | 1666 // RenderWidgetHostViewAura, gfx::DisplayObserver implementation: |
| 1662 | 1667 |
| 1663 void RenderWidgetHostViewAura::OnDisplayAdded( | 1668 void RenderWidgetHostViewAura::OnDisplayAdded( |
| 1664 const gfx::Display& new_display) { | 1669 const gfx::Display& new_display) { |
| 1665 } | 1670 } |
| 1666 | 1671 |
| 1667 void RenderWidgetHostViewAura::OnDisplayRemoved( | 1672 void RenderWidgetHostViewAura::OnDisplayRemoved( |
| 1668 const gfx::Display& old_display) { | 1673 const gfx::Display& old_display) { |
| 1669 } | 1674 } |
| (...skipping 985 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2655 | 2660 |
| 2656 //////////////////////////////////////////////////////////////////////////////// | 2661 //////////////////////////////////////////////////////////////////////////////// |
| 2657 // RenderWidgetHostViewBase, public: | 2662 // RenderWidgetHostViewBase, public: |
| 2658 | 2663 |
| 2659 // static | 2664 // static |
| 2660 void RenderWidgetHostViewBase::GetDefaultScreenInfo(WebScreenInfo* results) { | 2665 void RenderWidgetHostViewBase::GetDefaultScreenInfo(WebScreenInfo* results) { |
| 2661 GetScreenInfoForWindow(results, NULL); | 2666 GetScreenInfoForWindow(results, NULL); |
| 2662 } | 2667 } |
| 2663 | 2668 |
| 2664 } // namespace content | 2669 } // namespace content |
| OLD | NEW |