Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Side by Side Diff: chrome/browser/renderer_host/render_widget_host_view_views.cc

Issue 7136001: GPU compositing surface handle is no longer sent to renderer process. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 about_to_validate_and_paint_(false), 150 about_to_validate_and_paint_(false),
151 is_hidden_(false), 151 is_hidden_(false),
152 is_loading_(false), 152 is_loading_(false),
153 native_cursor_(NULL), 153 native_cursor_(NULL),
154 is_showing_popup_menu_(false), 154 is_showing_popup_menu_(false),
155 visually_deemphasized_(false), 155 visually_deemphasized_(false),
156 touch_event_(), 156 touch_event_(),
157 text_input_type_(ui::TEXT_INPUT_TYPE_NONE), 157 text_input_type_(ui::TEXT_INPUT_TYPE_NONE),
158 has_composition_text_(false) { 158 has_composition_text_(false) {
159 set_focusable(true); 159 set_focusable(true);
160 host_->set_view(this); 160 host_->SetView(this);
161 } 161 }
162 162
163 RenderWidgetHostViewViews::~RenderWidgetHostViewViews() { 163 RenderWidgetHostViewViews::~RenderWidgetHostViewViews() {
164 } 164 }
165 165
166 void RenderWidgetHostViewViews::InitAsChild() { 166 void RenderWidgetHostViewViews::InitAsChild() {
167 Show(); 167 Show();
168 } 168 }
169 169
170 void RenderWidgetHostViewViews::InitAsPopup( 170 void RenderWidgetHostViewViews::InitAsPopup(
(...skipping 781 matching lines...) Expand 10 before | Expand all | Expand 10 after
952 } 952 }
953 953
954 // static 954 // static
955 RenderWidgetHostView* 955 RenderWidgetHostView*
956 RenderWidgetHostView::GetRenderWidgetHostViewFromNativeView( 956 RenderWidgetHostView::GetRenderWidgetHostViewFromNativeView(
957 gfx::NativeView widget) { 957 gfx::NativeView widget) {
958 gpointer user_data = g_object_get_data(G_OBJECT(widget), 958 gpointer user_data = g_object_get_data(G_OBJECT(widget),
959 kRenderWidgetHostViewKey); 959 kRenderWidgetHostViewKey);
960 return reinterpret_cast<RenderWidgetHostView*>(user_data); 960 return reinterpret_cast<RenderWidgetHostView*>(user_data);
961 } 961 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698