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

Unified Diff: blimp/client/core/contents/blimp_contents_impl.cc

Issue 2382733007: Add BlimpDocument, pull out functions in BlimpCompositor. (Closed)
Patch Set: Remove Webkit DEPS modification. Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: blimp/client/core/contents/blimp_contents_impl.cc
diff --git a/blimp/client/core/contents/blimp_contents_impl.cc b/blimp/client/core/contents/blimp_contents_impl.cc
index 5777e1b77afab65f8cc0cbecf8f5d7aea32d9780..42e9a1a3ad7c9b2fb01b6d3e08f86a817a96ea03 100644
--- a/blimp/client/core/contents/blimp_contents_impl.cc
+++ b/blimp/client/core/contents/blimp_contents_impl.cc
@@ -34,13 +34,13 @@ BlimpContentsImpl::BlimpContentsImpl(
RenderWidgetFeature* render_widget_feature,
TabControlFeature* tab_control_feature)
: navigation_controller_(id, this, navigation_feature),
- compositor_manager_(id, render_widget_feature, compositor_deps),
+ document_manager_(id, render_widget_feature, compositor_deps),
id_(id),
ime_feature_(ime_feature),
window_(window),
tab_control_feature_(tab_control_feature) {
blimp_contents_view_ =
- BlimpContentsViewImpl::Create(this, compositor_manager_.layer());
+ BlimpContentsViewImpl::Create(this, document_manager_.layer());
ime_feature_->set_delegate(blimp_contents_view_->GetImeDelegate());
}
@@ -89,12 +89,12 @@ BlimpContentsViewImpl* BlimpContentsImpl::GetView() {
}
void BlimpContentsImpl::Show() {
- compositor_manager_.SetVisible(true);
+ document_manager_.SetVisible(true);
UMA_HISTOGRAM_BOOLEAN("Blimp.Tab.Visible", true);
}
void BlimpContentsImpl::Hide() {
- compositor_manager_.SetVisible(false);
+ document_manager_.SetVisible(false);
UMA_HISTOGRAM_BOOLEAN("Blimp.Tab.Visible", false);
}
« no previous file with comments | « blimp/client/core/contents/blimp_contents_impl.h ('k') | blimp/client/core/contents/blimp_contents_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698