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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura.cc

Issue 126513004: Rename RootWindowHost to WindowTreeHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 11 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) 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 3058 matching lines...) Expand 10 before | Expand all | Expand 10 after
3069 #endif 3069 #endif
3070 in_shutdown_ = true; 3070 in_shutdown_ = true;
3071 host_->Shutdown(); 3071 host_->Shutdown();
3072 } 3072 }
3073 } 3073 }
3074 } 3074 }
3075 3075
3076 //////////////////////////////////////////////////////////////////////////////// 3076 ////////////////////////////////////////////////////////////////////////////////
3077 // RenderWidgetHostViewAura, aura::RootWindowObserver implementation: 3077 // RenderWidgetHostViewAura, aura::RootWindowObserver implementation:
3078 3078
3079 void RenderWidgetHostViewAura::OnRootWindowHostMoved( 3079 void RenderWidgetHostViewAura::OnWindowTreeHostMoved(
3080 const aura::RootWindow* root, 3080 const aura::RootWindow* root,
3081 const gfx::Point& new_origin) { 3081 const gfx::Point& new_origin) {
3082 TRACE_EVENT1("ui", "RenderWidgetHostViewAura::OnRootWindowHostMoved", 3082 TRACE_EVENT1("ui", "RenderWidgetHostViewAura::OnWindowTreeHostMoved",
3083 "new_origin", new_origin.ToString()); 3083 "new_origin", new_origin.ToString());
3084 3084
3085 UpdateScreenInfo(window_); 3085 UpdateScreenInfo(window_);
3086 } 3086 }
3087 3087
3088 //////////////////////////////////////////////////////////////////////////////// 3088 ////////////////////////////////////////////////////////////////////////////////
3089 // RenderWidgetHostViewAura, SoftwareFrameManagerClient implementation: 3089 // RenderWidgetHostViewAura, SoftwareFrameManagerClient implementation:
3090 3090
3091 void RenderWidgetHostViewAura::SoftwareFrameWasFreed( 3091 void RenderWidgetHostViewAura::SoftwareFrameWasFreed(
3092 uint32 output_surface_id, unsigned frame_id) { 3092 uint32 output_surface_id, unsigned frame_id) {
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
3501 RenderWidgetHost* widget) { 3501 RenderWidgetHost* widget) {
3502 return new RenderWidgetHostViewAura(widget); 3502 return new RenderWidgetHostViewAura(widget);
3503 } 3503 }
3504 3504
3505 // static 3505 // static
3506 void RenderWidgetHostViewPort::GetDefaultScreenInfo(WebScreenInfo* results) { 3506 void RenderWidgetHostViewPort::GetDefaultScreenInfo(WebScreenInfo* results) {
3507 GetScreenInfoForWindow(results, NULL); 3507 GetScreenInfoForWindow(results, NULL);
3508 } 3508 }
3509 3509
3510 } // namespace content 3510 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698