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 "chrome/browser/renderer_host/render_widget_host_view_views.h" | 5 #include "chrome/browser/renderer_host/render_widget_host_view_views.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 const_cast<RenderWidgetHostViewViews*>(this)); | 240 const_cast<RenderWidgetHostViewViews*>(this)); |
241 #endif | 241 #endif |
242 } | 242 } |
243 | 243 |
244 void RenderWidgetHostViewViews::MovePluginWindows( | 244 void RenderWidgetHostViewViews::MovePluginWindows( |
245 const std::vector<webkit::npapi::WebPluginGeometry>& moves) { | 245 const std::vector<webkit::npapi::WebPluginGeometry>& moves) { |
246 // TODO(anicolao): NIY | 246 // TODO(anicolao): NIY |
247 // NOTIMPLEMENTED(); | 247 // NOTIMPLEMENTED(); |
248 } | 248 } |
249 | 249 |
250 bool RenderWidgetHostViewViews::HasFocus() { | 250 bool RenderWidgetHostViewViews::HasFocus() const { |
251 return View::HasFocus(); | 251 return View::HasFocus(); |
252 } | 252 } |
253 | 253 |
254 void RenderWidgetHostViewViews::Show() { | 254 void RenderWidgetHostViewViews::Show() { |
255 SetVisible(true); | 255 SetVisible(true); |
256 } | 256 } |
257 | 257 |
258 void RenderWidgetHostViewViews::Hide() { | 258 void RenderWidgetHostViewViews::Hide() { |
259 SetVisible(false); | 259 SetVisible(false); |
260 } | 260 } |
(...skipping 897 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1158 for (std::vector< base::Callback<void(void)> >::const_iterator | 1158 for (std::vector< base::Callback<void(void)> >::const_iterator |
1159 it = on_compositing_ended_callbacks_.begin(); | 1159 it = on_compositing_ended_callbacks_.begin(); |
1160 it != on_compositing_ended_callbacks_.end(); ++it) { | 1160 it != on_compositing_ended_callbacks_.end(); ++it) { |
1161 it->Run(); | 1161 it->Run(); |
1162 } | 1162 } |
1163 on_compositing_ended_callbacks_.clear(); | 1163 on_compositing_ended_callbacks_.clear(); |
1164 compositor->RemoveObserver(this); | 1164 compositor->RemoveObserver(this); |
1165 } | 1165 } |
1166 | 1166 |
1167 #endif | 1167 #endif |
OLD | NEW |