| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/logging.h" | 7 #include "base/logging.h" |
| 8 #include "content/browser/renderer_host/backing_store_skia.h" | 8 #include "content/browser/renderer_host/backing_store_skia.h" |
| 9 #include "content/browser/renderer_host/web_input_event_aura.h" | 9 #include "content/browser/renderer_host/web_input_event_aura.h" |
| 10 #include "content/browser/renderer_host/render_widget_host.h" | 10 #include "content/browser/renderer_host/render_widget_host.h" |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 } | 104 } |
| 105 | 105 |
| 106 void RenderWidgetHostViewAura::Focus() { | 106 void RenderWidgetHostViewAura::Focus() { |
| 107 window_->Focus(); | 107 window_->Focus(); |
| 108 } | 108 } |
| 109 | 109 |
| 110 void RenderWidgetHostViewAura::Blur() { | 110 void RenderWidgetHostViewAura::Blur() { |
| 111 window_->Blur(); | 111 window_->Blur(); |
| 112 } | 112 } |
| 113 | 113 |
| 114 bool RenderWidgetHostViewAura::HasFocus() { | 114 bool RenderWidgetHostViewAura::HasFocus() const { |
| 115 return window_->HasFocus(); | 115 return window_->HasFocus(); |
| 116 } | 116 } |
| 117 | 117 |
| 118 void RenderWidgetHostViewAura::Show() { | 118 void RenderWidgetHostViewAura::Show() { |
| 119 window_->Show(); | 119 window_->Show(); |
| 120 } | 120 } |
| 121 | 121 |
| 122 void RenderWidgetHostViewAura::Hide() { | 122 void RenderWidgetHostViewAura::Hide() { |
| 123 window_->Hide(); | 123 window_->Hide(); |
| 124 } | 124 } |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 418 } | 418 } |
| 419 #endif | 419 #endif |
| 420 | 420 |
| 421 //////////////////////////////////////////////////////////////////////////////// | 421 //////////////////////////////////////////////////////////////////////////////// |
| 422 // RenderWidgetHostViewAura, private: | 422 // RenderWidgetHostViewAura, private: |
| 423 | 423 |
| 424 void RenderWidgetHostViewAura::UpdateCursorIfOverSelf() { | 424 void RenderWidgetHostViewAura::UpdateCursorIfOverSelf() { |
| 425 //NOTIMPLEMENTED(); | 425 //NOTIMPLEMENTED(); |
| 426 // TODO(beng): See RenderWidgetHostViewWin. | 426 // TODO(beng): See RenderWidgetHostViewWin. |
| 427 } | 427 } |
| OLD | NEW |