OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "app/keyboard_code_conversion_gtk.h" | 10 #include "app/keyboard_code_conversion_gtk.h" |
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
584 void RenderWidgetHostViewViews::CreatePluginContainer( | 584 void RenderWidgetHostViewViews::CreatePluginContainer( |
585 gfx::PluginWindowHandle id) { | 585 gfx::PluginWindowHandle id) { |
586 // TODO(anicolao): plugin_container_manager_.CreatePluginContainer(id); | 586 // TODO(anicolao): plugin_container_manager_.CreatePluginContainer(id); |
587 } | 587 } |
588 | 588 |
589 void RenderWidgetHostViewViews::DestroyPluginContainer( | 589 void RenderWidgetHostViewViews::DestroyPluginContainer( |
590 gfx::PluginWindowHandle id) { | 590 gfx::PluginWindowHandle id) { |
591 // TODO(anicolao): plugin_container_manager_.DestroyPluginContainer(id); | 591 // TODO(anicolao): plugin_container_manager_.DestroyPluginContainer(id); |
592 } | 592 } |
593 | 593 |
594 void RenderWidgetHostViewViews::SetVisuallyDeemphasized(bool deemphasized) { | 594 void RenderWidgetHostViewViews::SetVisuallyDeemphasized( |
| 595 const SkColor* color, bool animate) { |
595 // TODO(anicolao) | 596 // TODO(anicolao) |
596 } | 597 } |
597 | 598 |
598 bool RenderWidgetHostViewViews::ContainsNativeView( | 599 bool RenderWidgetHostViewViews::ContainsNativeView( |
599 gfx::NativeView native_view) const { | 600 gfx::NativeView native_view) const { |
600 // TODO(port) | 601 // TODO(port) |
601 NOTREACHED() << | 602 NOTREACHED() << |
602 "RenderWidgetHostViewViews::ContainsNativeView not implemented."; | 603 "RenderWidgetHostViewViews::ContainsNativeView not implemented."; |
603 return false; | 604 return false; |
604 } | 605 } |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
719 } | 720 } |
720 | 721 |
721 // static | 722 // static |
722 RenderWidgetHostView* | 723 RenderWidgetHostView* |
723 RenderWidgetHostView::GetRenderWidgetHostViewFromNativeView( | 724 RenderWidgetHostView::GetRenderWidgetHostViewFromNativeView( |
724 gfx::NativeView widget) { | 725 gfx::NativeView widget) { |
725 gpointer user_data = g_object_get_data(G_OBJECT(widget), | 726 gpointer user_data = g_object_get_data(G_OBJECT(widget), |
726 kRenderWidgetHostViewKey); | 727 kRenderWidgetHostViewKey); |
727 return reinterpret_cast<RenderWidgetHostView*>(user_data); | 728 return reinterpret_cast<RenderWidgetHostView*>(user_data); |
728 } | 729 } |
OLD | NEW |