contents_ 30 android_webview/browser/aw_contents_client_bridge_base.cc return data ? data->contents_ : NULL; contents_ 33 android_webview/browser/aw_contents_client_bridge_base.cc explicit UserData(AwContentsClientBridgeBase* ptr) : contents_(ptr) {} contents_ 35 android_webview/browser/aw_contents_client_bridge_base.cc AwContentsClientBridgeBase* contents_; contents_ 105 android_webview/native/aw_contents.cc AwContentsUserData(AwContents* ptr) : contents_(ptr) {} contents_ 112 android_webview/native/aw_contents.cc return data ? data->contents_ : NULL; contents_ 116 android_webview/native/aw_contents.cc AwContents* contents_; contents_ 513 chrome/browser/extensions/api/extension_action/extension_action_api.cc contents_(NULL), contents_ 549 chrome/browser/extensions/api/extension_action/extension_action_api.cc &contents_, contents_ 551 chrome/browser/extensions/api/extension_action/extension_action_api.cc if (!contents_) { contents_ 640 chrome/browser/extensions/api/extension_action/extension_action_api.cc TabHelper::FromWebContents(contents_)-> contents_ 660 chrome/browser/extensions/api/extension_action/extension_action_api.cc CHECK(contents_); contents_ 661 chrome/browser/extensions/api/extension_action/extension_action_api.cc return *TabHelper::FromWebContents(contents_); contents_ 151 chrome/browser/extensions/api/extension_action/extension_action_api.h content::WebContents* contents_; contents_ 21 chrome/browser/extensions/extension_api_unittest.cc ExtensionApiUnittest::ExtensionApiUnittest() : contents_(NULL) { contents_ 33 chrome/browser/extensions/extension_api_unittest.cc if (!contents_) { contents_ 35 chrome/browser/extensions/extension_api_unittest.cc contents_ = browser()->tab_strip_model()->GetActiveWebContents(); contents_ 42 chrome/browser/extensions/extension_api_unittest.cc if (contents_) contents_ 43 chrome/browser/extensions/extension_api_unittest.cc function->SetRenderViewHost(contents_->GetRenderViewHost()); contents_ 80 chrome/browser/extensions/extension_api_unittest.cc if (contents_) contents_ 81 chrome/browser/extensions/extension_api_unittest.cc function->SetRenderViewHost(contents_->GetRenderViewHost()); contents_ 43 chrome/browser/extensions/extension_api_unittest.h content::WebContents* contents() { return contents_; } contents_ 90 chrome/browser/extensions/extension_api_unittest.h content::WebContents* contents_; contents_ 73 chrome/browser/managed_mode/managed_mode_url_filter.cc scoped_ptr<ManagedModeURLFilter::Contents> contents_; contents_ 79 chrome/browser/managed_mode/managed_mode_url_filter.cc : contents_(new ManagedModeURLFilter::Contents()), contents_ 83 chrome/browser/managed_mode/managed_mode_url_filter.cc DCHECK(!contents_.get()); contents_ 103 chrome/browser/managed_mode/managed_mode_url_filter.cc &contents_->url_matcher, ++matcher_id_, contents_ 106 chrome/browser/managed_mode/managed_mode_url_filter.cc contents_->matcher_site_map[matcher_id_] = site_id; contents_ 111 chrome/browser/managed_mode/managed_mode_url_filter.cc contents_->hash_site_map.insert(std::make_pair(StringToUpperASCII(hash), contents_ 118 chrome/browser/managed_mode/managed_mode_url_filter.cc int site_id = contents_->sites.size(); contents_ 122 chrome/browser/managed_mode/managed_mode_url_filter.cc contents_->sites.push_back(site); contents_ 142 chrome/browser/managed_mode/managed_mode_url_filter.cc contents_->url_matcher.AddConditionSets(all_conditions_); contents_ 143 chrome/browser/managed_mode/managed_mode_url_filter.cc return contents_.Pass(); contents_ 294 chrome/browser/managed_mode/managed_mode_url_filter.cc contents_->url_matcher.MatchURL(url); contents_ 299 chrome/browser/managed_mode/managed_mode_url_filter.cc if (contents_->hash_site_map.count(GetHostnameHash(url))) contents_ 310 chrome/browser/managed_mode/managed_mode_url_filter.cc contents_->url_matcher.MatchURL(url); contents_ 314 chrome/browser/managed_mode/managed_mode_url_filter.cc contents_->matcher_site_map.find(*it); contents_ 315 chrome/browser/managed_mode/managed_mode_url_filter.cc if (entry == contents_->matcher_site_map.end()) { contents_ 319 chrome/browser/managed_mode/managed_mode_url_filter.cc sites->push_back(&contents_->sites[entry->second]); contents_ 325 chrome/browser/managed_mode/managed_mode_url_filter.cc contents_->hash_site_map.equal_range(GetHostnameHash(url)); contents_ 328 chrome/browser/managed_mode/managed_mode_url_filter.cc sites->push_back(&contents_->sites[hash_it->second]); contents_ 387 chrome/browser/managed_mode/managed_mode_url_filter.cc contents_ = contents.Pass(); contents_ 114 chrome/browser/managed_mode/managed_mode_url_filter.h scoped_ptr<Contents> contents_; contents_ 64 chrome/browser/prefs/pref_hash_store_impl.cc contents_(contents.Pass()), contents_ 66 chrome/browser/prefs/pref_hash_store_impl.cc IsHashDictionaryTrusted(pref_hash_calculator_, *contents_)), contents_ 68 chrome/browser/prefs/pref_hash_store_impl.cc DCHECK(contents_); contents_ 76 chrome/browser/prefs/pref_hash_store_impl.cc contents_->Reset(); contents_ 85 chrome/browser/prefs/pref_hash_store_impl.cc if (!contents_->IsInitialized()) contents_ 89 chrome/browser/prefs/pref_hash_store_impl.cc if (!contents_->GetVersion(¤t_version)) { contents_ 99 chrome/browser/prefs/pref_hash_store_impl.cc contents_->CommitPendingWrite(); contents_ 114 chrome/browser/prefs/pref_hash_store_impl.cc const base::DictionaryValue* hashes_dict = outer_->contents_->GetContents(); contents_ 115 chrome/browser/prefs/pref_hash_store_impl.cc outer_->contents_->SetSuperMac(outer_->pref_hash_calculator_.Calculate( contents_ 116 chrome/browser/prefs/pref_hash_store_impl.cc outer_->contents_->hash_store_id(), hashes_dict)); contents_ 129 chrome/browser/prefs/pref_hash_store_impl.cc if (!outer_->contents_->GetVersion(¤t_version) || contents_ 131 chrome/browser/prefs/pref_hash_store_impl.cc outer_->contents_->SetVersion(VERSION_LATEST); contents_ 139 chrome/browser/prefs/pref_hash_store_impl.cc const base::DictionaryValue* hashed_prefs = outer_->contents_->GetContents(); contents_ 173 chrome/browser/prefs/pref_hash_store_impl.cc (*outer_->contents_->GetMutableContents())->SetString(path, mac); contents_ 257 chrome/browser/prefs/pref_hash_store_impl.cc outer_->contents_->GetMutableContents(); contents_ 283 chrome/browser/prefs/pref_hash_store_impl.cc const base::DictionaryValue* hashed_prefs = outer_->contents_->GetContents(); contents_ 64 chrome/browser/prefs/pref_hash_store_impl.h scoped_ptr<HashStoreContents> contents_; contents_ 497 chrome/browser/prerender/prerender_browsertest.cc : contents_(NULL), contents_ 502 chrome/browser/prerender/prerender_browsertest.cc if (contents_) contents_ 503 chrome/browser/prerender/prerender_browsertest.cc contents_->RemoveObserver(this); contents_ 506 chrome/browser/prerender/prerender_browsertest.cc TestPrerenderContents* contents() const { return contents_; } contents_ 531 chrome/browser/prerender/prerender_browsertest.cc DCHECK(!contents_); contents_ 532 chrome/browser/prerender/prerender_browsertest.cc contents_ = contents; contents_ 533 chrome/browser/prerender/prerender_browsertest.cc contents_->AddObserver(this); contents_ 549 chrome/browser/prerender/prerender_browsertest.cc DCHECK(contents_); contents_ 550 chrome/browser/prerender/prerender_browsertest.cc contents_ = NULL; contents_ 563 chrome/browser/prerender/prerender_browsertest.cc TestPrerenderContents* contents_; contents_ 967 chrome/browser/prerender/prerender_manager.cc contents_(contents), contents_ 970 chrome/browser/prerender/prerender_manager.cc DCHECK_NE(static_cast<PrerenderContents*>(NULL), contents_); contents_ 977 chrome/browser/prerender/prerender_manager.cc DCHECK(contents_); contents_ 978 chrome/browser/prerender/prerender_manager.cc contents_->set_match_complete_status( contents_ 980 chrome/browser/prerender/prerender_manager.cc PrerenderData* to_delete = new PrerenderData(manager_, contents_.release(), contents_ 982 chrome/browser/prerender/prerender_manager.cc contents_.reset(to_delete->contents_->CreateMatchCompleteReplacement()); contents_ 987 chrome/browser/prerender/prerender_manager.cc DCHECK_NE(static_cast<PrerenderContents*>(NULL), contents_); contents_ 989 chrome/browser/prerender/prerender_manager.cc contents_->AddObserver(handle); contents_ 995 chrome/browser/prerender/prerender_manager.cc DCHECK_NE(static_cast<PrerenderContents*>(NULL), contents_); contents_ 1006 chrome/browser/prerender/prerender_manager.cc DCHECK_NE(static_cast<PrerenderContents*>(NULL), contents_); contents_ 1010 chrome/browser/prerender/prerender_manager.cc contents_->Destroy(FINAL_STATUS_CANCELLED); contents_ 1019 chrome/browser/prerender/prerender_manager.cc return contents_.release(); contents_ 393 chrome/browser/prerender/prerender_manager.h PrerenderContents* contents() { return contents_.get(); } contents_ 415 chrome/browser/prerender/prerender_manager.h scoped_ptr<PrerenderContents> contents_; contents_ 12 chrome/browser/printing/print_preview_context_menu_observer.cc content::WebContents* contents) : contents_(contents) { contents_ 23 chrome/browser/printing/print_preview_context_menu_observer.cc return (controller->GetPrintPreviewForContents(contents_) != NULL); contents_ 28 chrome/browser/printing/print_preview_context_menu_observer.h content::WebContents* contents_; contents_ 26 chrome/browser/sessions/session_command.cc memcpy(dest, &(contents_[0]), count); contents_ 42 chrome/browser/sessions/session_command.h char* contents() { return const_cast<char*>(contents_.c_str()); } contents_ 43 chrome/browser/sessions/session_command.h const char* contents() const { return contents_.c_str(); } contents_ 49 chrome/browser/sessions/session_command.h size_type size() const { return static_cast<size_type>(contents_.size()); } contents_ 63 chrome/browser/sessions/session_command.h std::string contents_; contents_ 193 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc const GURL& current_url = contents_->GetLastCommittedURL(); contents_ 281 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc if (contents_->GetBrowserContext()->IsOffTheRecord()) contents_ 302 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc WindowAndroidHelper::FromWebContents(contents_)-> contents_ 395 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc contents_(contents), contents_ 73 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.h content::WebContents* const contents_; contents_ 130 chrome/browser/ui/app_list/start_page_service.cc if (!contents_) { contents_ 133 chrome/browser/ui/app_list/start_page_service.cc contents_->GetWebUI()->CallJavascriptFunction( contents_ 140 chrome/browser/ui/app_list/start_page_service.cc contents_->GetWebUI()->CallJavascriptFunction( contents_ 148 chrome/browser/ui/app_list/start_page_service.cc contents_->GetWebUI()->CallJavascriptFunction( contents_ 178 chrome/browser/ui/app_list/start_page_service.cc return app_list::switches::IsExperimentalAppListEnabled() ? contents_.get() contents_ 184 chrome/browser/ui/app_list/start_page_service.cc if (!contents_) contents_ 186 chrome/browser/ui/app_list/start_page_service.cc return contents_.get(); contents_ 234 chrome/browser/ui/app_list/start_page_service.cc contents_.reset(content::WebContents::Create( contents_ 237 chrome/browser/ui/app_list/start_page_service.cc contents_->SetDelegate(contents_delegate_.get()); contents_ 246 chrome/browser/ui/app_list/start_page_service.cc contents_->GetController().LoadURL( contents_ 254 chrome/browser/ui/app_list/start_page_service.cc contents_.reset(); contents_ 83 chrome/browser/ui/app_list/start_page_service.h scoped_ptr<content::WebContents> contents_; contents_ 53 chrome/browser/ui/browser_instant_controller_unittest.cc contents_(contents), contents_ 80 chrome/browser/ui/browser_instant_controller_unittest.cc content::WebContents* contents_; contents_ 36 chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.h content::WebContents* contents_; // weak contents_ 42 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc : contents_(NULL), contents_ 57 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc contents_, contents_ 64 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc g_signal_connect(contents_, "destroy", contents_ 219 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc if (!contents_) contents_ 220 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc contents_ = gtk_vbox_new(FALSE, 0); contents_ 230 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc gtk_box_pack_start(GTK_BOX(contents_), inner_contents_, TRUE, TRUE, 0); contents_ 232 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc gtk_widget_show_all(contents_); contents_ 71 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.h GtkWidget* contents_; contents_ 38 chrome/browser/ui/gtk/extensions/media_galleries_dialog_gtk.cc contents_.reset(gtk_vbox_new(FALSE, ui::kContentAreaSpacing)); contents_ 39 chrome/browser/ui/gtk/extensions/media_galleries_dialog_gtk.cc g_object_ref_sink(contents_.get()); contents_ 40 chrome/browser/ui/gtk/extensions/media_galleries_dialog_gtk.cc g_signal_connect(contents_.get(), contents_ 48 chrome/browser/ui/gtk/extensions/media_galleries_dialog_gtk.cc window_ = CreateWebContentsModalDialogGtk(contents_.get(), confirm_); contents_ 61 chrome/browser/ui/gtk/extensions/media_galleries_dialog_gtk.cc gtk_util::RemoveAllChildren(contents_.get()); contents_ 68 chrome/browser/ui/gtk/extensions/media_galleries_dialog_gtk.cc gtk_box_pack_start(GTK_BOX(contents_.get()), header, FALSE, FALSE, 0); contents_ 74 chrome/browser/ui/gtk/extensions/media_galleries_dialog_gtk.cc gtk_box_pack_start(GTK_BOX(contents_.get()), subtext, FALSE, FALSE, 0); contents_ 94 chrome/browser/ui/gtk/extensions/media_galleries_dialog_gtk.cc gtk_box_pack_start(GTK_BOX(contents_.get()), scroll_window, contents_ 155 chrome/browser/ui/gtk/extensions/media_galleries_dialog_gtk.cc gtk_box_pack_start(GTK_BOX(contents_.get()), bottom_area, FALSE, FALSE, 0); contents_ 162 chrome/browser/ui/gtk/extensions/media_galleries_dialog_gtk.cc gtk_widget_show_all(contents_.get()); contents_ 63 chrome/browser/ui/gtk/extensions/media_galleries_dialog_gtk.h ui::ScopedGObject<GtkWidget>::Type contents_; contents_ 81 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc WebContents* contents_; contents_ 180 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc contents_ = hung_contents; contents_ 181 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc contents_observer_.reset(new WebContentsObserverImpl(this, contents_)); contents_ 213 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc contents_ = NULL; contents_ 218 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc if (contents_ && contents_->GetRenderProcessHost() == contents_ 231 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc if (contents_ && contents_->GetRenderProcessHost()) { contents_ 232 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc base::KillProcess(contents_->GetRenderProcessHost()->GetHandle(), contents_ 240 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc if (contents_ && contents_->GetRenderViewHost()) contents_ 241 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc contents_->GetRenderViewHost()->RestartHangMonitorTimeout(); contents_ 16 chrome/browser/ui/gtk/tabs/drag_data.cc contents_(NULL), contents_ 30 chrome/browser/ui/gtk/tabs/drag_data.cc contents_(contents), contents_ 41 chrome/browser/ui/gtk/tabs/drag_data.cc contents_->SetDelegate(original_delegate_); contents_ 68 chrome/browser/ui/gtk/tabs/drag_data.cc if (drag_data_[i].contents_) contents_ 69 chrome/browser/ui/gtk/tabs/drag_data.cc web_contentses.push_back(drag_data_[i].contents_); contents_ 98 chrome/browser/ui/gtk/tabs/drag_data.cc return GetSourceTabData()->contents_; contents_ 37 chrome/browser/ui/gtk/tabs/drag_data.h content::WebContents* contents_; contents_ 124 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc if (contents == drag_data_->get(i)->contents_) contents_ 142 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc if (web_contents == drag_data_->get(i)->contents_) contents_ 235 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc if (drag_data_->get(i)->contents_ == destroyed_web_contents) { contents_ 239 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc drag_data_->get(i)->contents_ = NULL; contents_ 306 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc WebContents* contents = drag_data_->get(i)->contents_; contents_ 443 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc drag_data_->get(i)->contents_->SetDelegate(NULL); contents_ 466 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc index + i, drag_data_->get(i)->contents_, contents_ 483 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc attached_model->GetIndexOfWebContents(drag_data_->get(i)->contents_); contents_ 504 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc drag_data_->get(i)->contents_->SetDelegate(this); contents_ 631 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc if (!drag_data_->get(i)->contents_) contents_ 634 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc drag_data_->get(i)->contents_); contents_ 695 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc if (!drag_data_->get(i)->contents_) contents_ 698 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc drag_data_->get(i)->contents_); contents_ 705 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc if (!drag_data_->get(i)->contents_) contents_ 709 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc drag_data_->get(i)->contents_, contents_ 716 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc if (!drag_data_->get(i)->contents_) contents_ 719 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc drag_data_->get(i)->contents_); contents_ 732 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc if (!drag_data_->get(i)->contents_) contents_ 736 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc drag_data_->get(i)->contents_, contents_ 770 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc item.web_contents = drag_data_->get(i)->contents_; contents_ 788 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc if (drag_data_->get(i)->contents_ && contents_ 789 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc drag_data_->get(i)->contents_->GetDelegate() == this) { contents_ 849 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc if (drag_data_->get(i)->contents_) { contents_ 851 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc content::Source<WebContents>(drag_data_->get(i)->contents_)); contents_ 73 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc WebContents* web_contents = drag_data_->get(i)->contents_; contents_ 211 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc contents_(NULL), contents_ 237 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc contents_, contents_ 271 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc if (!contents_) contents_ 272 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc contents_ = gtk_vbox_new(FALSE, 0); contents_ 274 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc gtk_util::RemoveAllChildren(contents_); contents_ 278 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc gtk_box_pack_start(GTK_BOX(contents_), header_box_, FALSE, FALSE, 0); contents_ 342 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc gtk_box_pack_start(GTK_BOX(contents_), tabstrip_alignment_, FALSE, FALSE, 0); contents_ 369 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc gtk_box_pack_start(GTK_BOX(contents_), notebook_, FALSE, FALSE, 0); contents_ 372 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc gtk_widget_show_all(contents_); contents_ 105 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.h GtkWidget* contents_; contents_ 260 chrome/browser/ui/startup/startup_browser_creator_impl.cc WebContentsCloseObserver() : contents_(NULL) {} contents_ 264 chrome/browser/ui/startup/startup_browser_creator_impl.cc DCHECK(!contents_); contents_ 265 chrome/browser/ui/startup/startup_browser_creator_impl.cc contents_ = contents; contents_ 269 chrome/browser/ui/startup/startup_browser_creator_impl.cc content::Source<content::WebContents>(contents_)); contents_ 272 chrome/browser/ui/startup/startup_browser_creator_impl.cc content::WebContents* contents() { return contents_; } contents_ 280 chrome/browser/ui/startup/startup_browser_creator_impl.cc contents_ = NULL; contents_ 283 chrome/browser/ui/startup/startup_browser_creator_impl.cc content::WebContents* contents_; contents_ 439 chrome/browser/ui/sync/one_click_signin_helper.cc scoped_ptr<content::WebContents> contents_; contents_ 142 chrome/browser/ui/tabs/tab_strip_model.cc WebContents* web_contents() { return contents_; } contents_ 170 chrome/browser/ui/tabs/tab_strip_model.cc WebContents* contents_; contents_ 213 chrome/browser/ui/tabs/tab_strip_model.cc contents_(contents), contents_ 224 chrome/browser/ui/tabs/tab_strip_model.cc contents_ = contents; contents_ 230 chrome/browser/ui/tabs/tab_strip_model.cc DCHECK_EQ(contents_, web_contents); contents_ 60 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc : contents_(contents) { } contents_ 64 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc virtual views::View* GetContentsView() OVERRIDE { return contents_; } contents_ 66 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc return contents_->GetWidget(); contents_ 68 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc virtual views::Widget* GetWidget() OVERRIDE { return contents_->GetWidget(); } contents_ 71 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc views::View* contents_; contents_ 66 chrome/browser/ui/views/constrained_window_views_browsertest.cc : contents_((new TestConstrainedDialogContentsView())->AsWeakPtr()), contents_ 73 chrome/browser/ui/views/constrained_window_views_browsertest.cc return contents_ ? contents_->GetInitiallyFocusedView() : NULL; contents_ 77 chrome/browser/ui/views/constrained_window_views_browsertest.cc return contents_.get(); contents_ 81 chrome/browser/ui/views/constrained_window_views_browsertest.cc return contents_ ? contents_->GetWidget() : NULL; contents_ 85 chrome/browser/ui/views/constrained_window_views_browsertest.cc return contents_ ? contents_->GetWidget() : NULL; contents_ 118 chrome/browser/ui/views/constrained_window_views_browsertest.cc base::WeakPtr<TestConstrainedDialogContentsView> contents_; contents_ 41 chrome/browser/ui/views/constrained_window_views_unittest.cc ConstrainedWindowViewsTest() : contents_(NULL) {} contents_ 46 chrome/browser/ui/views/constrained_window_views_unittest.cc contents_ = new DialogContents; contents_ 49 chrome/browser/ui/views/constrained_window_views_unittest.cc params.delegate = contents_; contents_ 65 chrome/browser/ui/views/constrained_window_views_unittest.cc contents_ = NULL; contents_ 74 chrome/browser/ui/views/constrained_window_views_unittest.cc DialogContents* contents() { return contents_; } contents_ 81 chrome/browser/ui/views/constrained_window_views_unittest.cc DialogContents* contents_; contents_ 72 chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc contents_(new views::View()), contents_ 96 chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc delete contents_; contents_ 101 chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc contents_->RemoveAllChildViews(true); contents_ 104 chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc views::GridLayout* layout = views::GridLayout::CreatePanel(contents_); contents_ 105 chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc contents_->SetLayoutManager(layout); contents_ 196 chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc contents_->Layout(); contents_ 248 chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc return contents_->GetWidget(); contents_ 252 chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc return contents_->GetWidget(); contents_ 256 chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc return contents_; contents_ 95 chrome/browser/ui/views/extensions/media_galleries_dialog_views.h views::View* contents_; contents_ 66 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.cc contents_(new views::View()), contents_ 88 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.cc contents_->RemoveAllChildViews(true); contents_ 91 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.cc views::GridLayout* layout = views::GridLayout::CreatePanel(contents_); contents_ 92 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.cc contents_->SetLayoutManager(layout); contents_ 152 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.cc contents_->Layout(); contents_ 197 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.cc return contents_->GetWidget(); contents_ 201 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.cc return contents_->GetWidget(); contents_ 205 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.cc return contents_; contents_ 88 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.h views::View* contents_; contents_ 69 chrome/browser/ui/views/hung_renderer_view_win.cc : contents_(NULL), contents_ 96 chrome/browser/ui/views/hung_renderer_view_win.cc contents_ = contents; contents_ 127 chrome/browser/ui/views/hung_renderer_view_win.cc contents_ = NULL; contents_ 146 chrome/browser/ui/views/hung_renderer_view_win.cc DCHECK(GetInstance()->contents_); contents_ 149 chrome/browser/ui/views/hung_renderer_view_win.cc GetInstance()->contents_->GetRenderProcessHost()->GetHandle()); contents_ 35 chrome/browser/ui/views/hung_renderer_view_win.h content::WebContents* contents_; contents_ 262 chrome/browser/ui/webui/about_ui.cc loader->GetResponseResult(&contents_); contents_ 263 chrome/browser/ui/webui/about_ui.cc if (contents_.empty()) { contents_ 281 chrome/browser/ui/webui/about_ui.cc if (!base::ReadFileToString(oem_eula_file_path, &contents_)) { contents_ 282 chrome/browser/ui/webui/about_ui.cc contents_.clear(); contents_ 294 chrome/browser/ui/webui/about_ui.cc if (!base::ReadFileToString(base::FilePath(file_path), &contents_)) { contents_ 297 chrome/browser/ui/webui/about_ui.cc if (!base::ReadFileToString(base::FilePath(file_path), &contents_)) { contents_ 300 chrome/browser/ui/webui/about_ui.cc contents_.clear(); contents_ 312 chrome/browser/ui/webui/about_ui.cc if (contents_.empty() && path_ != chrome::kOemEulaURLPath) contents_ 313 chrome/browser/ui/webui/about_ui.cc contents_ = l10n_util::GetStringUTF8(IDS_TERMS_HTML); contents_ 314 chrome/browser/ui/webui/about_ui.cc callback_.Run(base::RefCountedString::TakeString(&contents_)); contents_ 327 chrome/browser/ui/webui/about_ui.cc std::string contents_; contents_ 68 content/browser/android/in_process/synchronous_compositor_impl.cc contents_(contents), contents_ 197 content/browser/android/in_process/synchronous_compositor_impl.cc contents_->GetRenderWidgetHostView()); contents_ 212 content/browser/android/in_process/synchronous_compositor_impl.cc contents_->GetRoutingID(), input_event); contents_ 218 content/browser/android/in_process/synchronous_compositor_impl.cc contents_->GetRenderWidgetHostView()); contents_ 102 content/browser/android/in_process/synchronous_compositor_impl.h WebContents* contents_; contents_ 39 content/browser/compositor/software_output_device_win.cc contents_.reset(new gfx::Canvas(viewport_size, 1.0f, true)); contents_ 47 content/browser/compositor/software_output_device_win.cc DCHECK(contents_); contents_ 50 content/browser/compositor/software_output_device_win.cc return contents_ ? contents_->sk_canvas() : NULL; contents_ 55 content/browser/compositor/software_output_device_win.cc DCHECK(contents_); contents_ 58 content/browser/compositor/software_output_device_win.cc if (!contents_) contents_ 68 content/browser/compositor/software_output_device_win.cc SkCanvas* canvas = contents_->sk_canvas(); contents_ 97 content/browser/compositor/software_output_device_win.cc DCHECK(contents_); contents_ 99 content/browser/compositor/software_output_device_win.cc contents_->sk_canvas()->readPixels( contents_ 36 content/browser/compositor/software_output_device_win.h scoped_ptr<gfx::Canvas> contents_; contents_ 204 content/browser/web_contents/web_contents_view_aura.cc contents_ = NULL; contents_ 211 content/browser/web_contents/web_contents_view_aura.cc WebContentsImpl* contents_; contents_ 25 content/browser/web_contents/web_drag_source_mac.h content::WebContentsImpl* contents_; contents_ 90 content/public/test/test_renderer_host.cc return contents_.get(); contents_ 125 content/public/test/test_renderer_host.cc contents_.reset(contents); contents_ 192 content/public/test/test_renderer_host.h scoped_ptr<WebContents> contents_; contents_ 80 extensions/browser/file_highlighter.cc : contents_(contents), start_(0u), end_(contents_.size()) { contents_ 87 extensions/browser/file_highlighter.cc return contents_.substr(0, start_); contents_ 91 extensions/browser/file_highlighter.cc return contents_.substr(start_, end_ - start_); contents_ 95 extensions/browser/file_highlighter.cc return contents_.substr(end_); contents_ 116 extensions/browser/file_highlighter.cc start_ = contents_.find('{') + 1; contents_ 117 extensions/browser/file_highlighter.cc end_ = contents_.rfind('}'); contents_ 136 extensions/browser/file_highlighter.cc size_t trim = contents_.find_last_not_of(" \t\n\r", end_ - 1); contents_ 150 extensions/browser/file_highlighter.cc c = contents_[start_]; contents_ 154 extensions/browser/file_highlighter.cc QuoteIncrement(contents_, "e_end); contents_ 155 extensions/browser/file_highlighter.cc if (contents_.substr(start_ + 1, quote_end - 1 - start_) == feature) { contents_ 162 extensions/browser/file_highlighter.cc } else if (contents_.substr(start_, feature.size()) == feature) { contents_ 168 extensions/browser/file_highlighter.cc ChunkIncrement(contents_, &start_, end_); contents_ 170 extensions/browser/file_highlighter.cc CommentSafeIncrement(contents_, &start_); contents_ 180 extensions/browser/file_highlighter.cc c = contents_[local_start]; contents_ 190 extensions/browser/file_highlighter.cc ChunkIncrement(contents_, &local_start, end_); contents_ 192 extensions/browser/file_highlighter.cc CommentSafeIncrement(contents_, &local_start); contents_ 208 extensions/browser/file_highlighter.cc start_ = contents_.size(); contents_ 213 extensions/browser/file_highlighter.cc start_ = contents_.find('\n', start_); contents_ 219 extensions/browser/file_highlighter.cc end_ = contents_.find('\n', start_); contents_ 224 extensions/browser/file_highlighter.cc start_ = start_ == std::string::npos ? contents_.size() : start_; contents_ 225 extensions/browser/file_highlighter.cc end_ = end_ == std::string::npos ? contents_.size() : end_; contents_ 47 extensions/browser/file_highlighter.h std::string contents_; contents_ 83 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc std::copy(contents.begin(), contents.end(), std::back_inserter(contents_)); contents_ 93 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc std::max(0, std::min<int32_t>(bytes_to_read, contents_.size() - offset)); contents_ 94 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc memcpy(buffer, contents_.data() + offset, bytes_to_read); contents_ 105 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc if (new_size > contents_.size()) contents_ 106 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc contents_.resize(new_size); contents_ 108 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc memcpy(contents_.data() + offset, buffer, bytes_to_write); contents_ 114 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc return Write(contents_.size(), buffer, bytes_to_write); contents_ 118 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc contents_.resize(length); contents_ 55 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.h const std::vector<uint8_t>& contents() const { return contents_; } contents_ 59 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.h std::vector<uint8_t> contents_; contents_ 36 net/test/embedded_test_server/embedded_test_server.cc return headers_ + "\r\n" + contents_; contents_ 41 net/test/embedded_test_server/embedded_test_server.cc std::string contents_; contents_ 4465 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc new io::ArrayInputStream(contents_.data(), contents_.size()) : NULL; contents_ 4470 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const string contents_; contents_ 20 tools/gn/input_file.cc contents_ = c; contents_ 24 tools/gn/input_file.cc if (base::ReadFileToString(system_path, &contents_)) { contents_ 42 tools/gn/input_file.h return contents_; contents_ 60 tools/gn/input_file.h std::string contents_; contents_ 403 tools/gn/parse_tree.cc STLDeleteContainerPointers(contents_.begin(), contents_.end()); contents_ 413 tools/gn/parse_tree.cc results.resize(contents_.size()); contents_ 415 tools/gn/parse_tree.cc for (size_t i = 0; i < contents_.size(); i++) { contents_ 416 tools/gn/parse_tree.cc const ParseNode* cur = contents_[i]; contents_ 441 tools/gn/parse_tree.cc for (size_t i = 0; i < contents_.size(); i++) contents_ 442 tools/gn/parse_tree.cc contents_[i]->Print(out, indent + 1); contents_ 327 tools/gn/parse_tree.h contents_.push_back(s.release()); contents_ 329 tools/gn/parse_tree.h const std::vector<const ParseNode*>& contents() const { return contents_; } contents_ 337 tools/gn/parse_tree.h std::vector<const ParseNode*> contents_; contents_ 99 ui/base/dragdrop/os_exchange_data_provider_win.cc ScopedVector<FORMATETC> contents_; contents_ 127 ui/base/dragdrop/os_exchange_data_provider_win.cc contents_.push_back(format_etc); contents_ 143 ui/base/dragdrop/os_exchange_data_provider_win.cc while (cursor_ < contents_.size() && index < count) { contents_ 144 ui/base/dragdrop/os_exchange_data_provider_win.cc CloneFormatEtc(contents_[cursor_], &elements_array[index]); contents_ 160 ui/base/dragdrop/os_exchange_data_provider_win.cc return cursor_ <= contents_.size() ? S_OK : S_FALSE; contents_ 206 ui/base/dragdrop/os_exchange_data_provider_win.cc ScopedVector<FORMATETC>::const_iterator start = other->contents_.begin(); contents_ 207 ui/base/dragdrop/os_exchange_data_provider_win.cc while (start != other->contents_.end()) { contents_ 210 ui/base/dragdrop/os_exchange_data_provider_win.cc e->contents_.push_back(format_etc); contents_ 283 ui/base/dragdrop/os_exchange_data_provider_win.cc data_->contents_.push_back(new DataObjectImpl::StoredDataInfo( contents_ 293 ui/base/dragdrop/os_exchange_data_provider_win.cc data_->contents_.push_back(new DataObjectImpl::StoredDataInfo( contents_ 298 ui/base/dragdrop/os_exchange_data_provider_win.cc data_->contents_.push_back(new DataObjectImpl::StoredDataInfo( contents_ 315 ui/base/dragdrop/os_exchange_data_provider_win.cc data_->contents_.push_back(new DataObjectImpl::StoredDataInfo( contents_ 327 ui/base/dragdrop/os_exchange_data_provider_win.cc data_->contents_.push_back(new DataObjectImpl::StoredDataInfo( contents_ 330 ui/base/dragdrop/os_exchange_data_provider_win.cc data_->contents_.push_back(new DataObjectImpl::StoredDataInfo( contents_ 345 ui/base/dragdrop/os_exchange_data_provider_win.cc data_->contents_.push_back(info); contents_ 352 ui/base/dragdrop/os_exchange_data_provider_win.cc data_->contents_.push_back(info); contents_ 361 ui/base/dragdrop/os_exchange_data_provider_win.cc data_->contents_.push_back(info); contents_ 369 ui/base/dragdrop/os_exchange_data_provider_win.cc data_->contents_.push_back( contents_ 378 ui/base/dragdrop/os_exchange_data_provider_win.cc data_->contents_.push_back(new DataObjectImpl::StoredDataInfo( contents_ 383 ui/base/dragdrop/os_exchange_data_provider_win.cc data_->contents_.push_back(new DataObjectImpl::StoredDataInfo( contents_ 395 ui/base/dragdrop/os_exchange_data_provider_win.cc data_->contents_.push_back(new DataObjectImpl::StoredDataInfo( contents_ 400 ui/base/dragdrop/os_exchange_data_provider_win.cc data_->contents_.push_back(new DataObjectImpl::StoredDataInfo( contents_ 538 ui/base/dragdrop/os_exchange_data_provider_win.cc data_->contents_.push_back(info); contents_ 648 ui/base/dragdrop/os_exchange_data_provider_win.cc for (StoredData::iterator iter = contents_.begin(); contents_ 649 ui/base/dragdrop/os_exchange_data_provider_win.cc iter != contents_.end(); ++iter) { contents_ 661 ui/base/dragdrop/os_exchange_data_provider_win.cc for (StoredData::iterator i = contents_.begin(); i != contents_.end(); ++i) { contents_ 667 ui/base/dragdrop/os_exchange_data_provider_win.cc contents_.erase(i); contents_ 674 ui/base/dragdrop/os_exchange_data_provider_win.cc DataObjectImpl::StoredData::iterator iter = contents_.begin(); contents_ 675 ui/base/dragdrop/os_exchange_data_provider_win.cc for (; iter != contents_.end(); ++iter) { contents_ 690 ui/base/dragdrop/os_exchange_data_provider_win.cc DCHECK(iter != contents_.end()); contents_ 700 ui/base/dragdrop/os_exchange_data_provider_win.cc StoredData::iterator iter = contents_.begin(); contents_ 701 ui/base/dragdrop/os_exchange_data_provider_win.cc while (iter != contents_.end()) { contents_ 758 ui/base/dragdrop/os_exchange_data_provider_win.cc StoredData::const_iterator iter = contents_.begin(); contents_ 759 ui/base/dragdrop/os_exchange_data_provider_win.cc while (iter != contents_.end()) { contents_ 791 ui/base/dragdrop/os_exchange_data_provider_win.cc contents_.insert(contents_.begin(), info); contents_ 800 ui/base/dragdrop/os_exchange_data_provider_win.cc new FormatEtcEnumerator(contents_.begin(), contents_.end()); contents_ 49 ui/base/dragdrop/os_exchange_data_provider_win.h size_t size() const { return contents_.size(); } contents_ 116 ui/base/dragdrop/os_exchange_data_provider_win.h StoredData contents_; contents_ 21 ui/v2/public/window.h View* contents() { return contents_.get(); } contents_ 25 ui/v2/public/window.h scoped_ptr<View> contents_; contents_ 113 ui/views/controls/scroll_view.cc : contents_(NULL), contents_ 154 ui/views/controls/scroll_view.cc SetHeaderOrContents(contents_viewport_, a_view, &contents_); contents_ 162 ui/views/controls/scroll_view.cc if (!contents_) contents_ 164 ui/views/controls/scroll_view.cc return gfx::Rect(-contents_->x(), -contents_->y(), contents_ 265 ui/views/controls/scroll_view.cc if (contents_) contents_ 266 ui/views/controls/scroll_view.cc contents_->Layout(); contents_ 271 ui/views/controls/scroll_view.cc if (contents_) { contents_ 272 ui/views/controls/scroll_view.cc gfx::Size content_size = contents_->size(); contents_ 321 ui/views/controls/scroll_view.cc if (should_layout_contents && contents_) contents_ 322 ui/views/controls/scroll_view.cc contents_->Layout(); contents_ 330 ui/views/controls/scroll_view.cc CheckScrollBounds(contents_viewport_, contents_); contents_ 398 ui/views/controls/scroll_view.cc if (!contents_) contents_ 402 ui/views/controls/scroll_view.cc position = AdjustPosition(contents_->x(), position, contents_->width(), contents_ 404 ui/views/controls/scroll_view.cc if (-contents_->x() == position) contents_ 406 ui/views/controls/scroll_view.cc contents_->SetX(-position); contents_ 412 ui/views/controls/scroll_view.cc position = AdjustPosition(contents_->y(), position, contents_->height(), contents_ 414 ui/views/controls/scroll_view.cc if (-contents_->y() == position) contents_ 416 ui/views/controls/scroll_view.cc contents_->SetY(-position); contents_ 418 ui/views/controls/scroll_view.cc contents_->SchedulePaintInRect(contents_->GetVisibleBounds()); contents_ 425 ui/views/controls/scroll_view.cc if (contents_) { contents_ 427 ui/views/controls/scroll_view.cc amount = contents_->GetPageScrollIncrement( contents_ 430 ui/views/controls/scroll_view.cc amount = contents_->GetLineScrollIncrement( contents_ 459 ui/views/controls/scroll_view.cc if (!contents_ || (!horiz_sb_->visible() && !vert_sb_->visible())) contents_ 464 ui/views/controls/scroll_view.cc std::max(contents_viewport_->width(), contents_->width()); contents_ 466 ui/views/controls/scroll_view.cc std::max(contents_viewport_->height(), contents_->height()); contents_ 499 ui/views/controls/scroll_view.cc contents_->SetX(-new_x); contents_ 502 ui/views/controls/scroll_view.cc contents_->SetY(-new_y); contents_ 547 ui/views/controls/scroll_view.cc if (!contents_) contents_ 552 ui/views/controls/scroll_view.cc int cw = contents_->width(); contents_ 553 ui/views/controls/scroll_view.cc int origin = contents_->x(); contents_ 558 ui/views/controls/scroll_view.cc int ch = contents_->height(); contents_ 559 ui/views/controls/scroll_view.cc int origin = contents_->y(); contents_ 43 ui/views/controls/scroll_view.h const View* contents() const { return contents_; } contents_ 44 ui/views/controls/scroll_view.h View* contents() { return contents_; } contents_ 123 ui/views/controls/scroll_view.h View* contents_; contents_ 40 ui/views/controls/tabbed_pane/tabbed_pane.cc View* contents() const { return contents_; } contents_ 42 ui/views/controls/tabbed_pane/tabbed_pane.cc bool selected() const { return contents_->visible(); } contents_ 67 ui/views/controls/tabbed_pane/tabbed_pane.cc View* contents_; contents_ 106 ui/views/controls/tabbed_pane/tabbed_pane.cc contents_->SetVisible(selected); contents_ 243 ui/views/controls/tabbed_pane/tabbed_pane.cc contents_(new View()), contents_ 247 ui/views/controls/tabbed_pane/tabbed_pane.cc AddChildView(contents_); contents_ 253 ui/views/controls/tabbed_pane/tabbed_pane.cc DCHECK_EQ(tab_strip_->child_count(), contents_->child_count()); contents_ 254 ui/views/controls/tabbed_pane/tabbed_pane.cc return contents_->child_count(); contents_ 273 ui/views/controls/tabbed_pane/tabbed_pane.cc contents_->AddChildViewAt(contents, index); contents_ 296 ui/views/controls/tabbed_pane/tabbed_pane.cc if (focused_view && contents_->Contains(focused_view) && contents_ 313 ui/views/controls/tabbed_pane/tabbed_pane.cc for (int i = 0; i < contents_->child_count(); ++i) contents_ 314 ui/views/controls/tabbed_pane/tabbed_pane.cc size.SetToMax(contents_->child_at(i)->GetPreferredSize()); contents_ 326 ui/views/controls/tabbed_pane/tabbed_pane.cc contents_->SetBounds(0, tab_strip_->bounds().bottom(), width(), contents_ 328 ui/views/controls/tabbed_pane/tabbed_pane.cc for (int i = 0; i < contents_->child_count(); ++i) contents_ 329 ui/views/controls/tabbed_pane/tabbed_pane.cc contents_->child_at(i)->SetSize(contents_->size()); contents_ 80 ui/views/controls/tabbed_pane/tabbed_pane.h View* contents_; contents_ 1638 ui/views/view_unittest.cc explicit SimpleWidgetDelegate(View* contents) : contents_(contents) { } contents_ 1642 ui/views/view_unittest.cc virtual View* GetContentsView() { return contents_; } contents_ 1644 ui/views/view_unittest.cc virtual Widget* GetWidget() { return contents_->GetWidget(); } contents_ 1645 ui/views/view_unittest.cc virtual const Widget* GetWidget() const { return contents_->GetWidget(); } contents_ 1648 ui/views/view_unittest.cc View* contents_; contents_ 53 ui/views/window/dialog_client_view_unittest.cc contents_.reset(new StaticSizedView(gfx::Size(100, 200))); contents_ 54 ui/views/window/dialog_client_view_unittest.cc client_view_.reset(new TestDialogClientView(contents_.get(), this)); contents_ 60 ui/views/window/dialog_client_view_unittest.cc virtual View* GetContentsView() OVERRIDE { return contents_.get(); } contents_ 76 ui/views/window/dialog_client_view_unittest.cc const gfx::Size preferred_size = contents_->GetPreferredSize(); contents_ 77 ui/views/window/dialog_client_view_unittest.cc EXPECT_EQ(preferred_size.height(), contents_->bounds().height()); contents_ 78 ui/views/window/dialog_client_view_unittest.cc EXPECT_LE(preferred_size.width(), contents_->bounds().width()); contents_ 79 ui/views/window/dialog_client_view_unittest.cc EXPECT_EQ(contents_->bounds().origin(), client_bounds.origin()); contents_ 80 ui/views/window/dialog_client_view_unittest.cc EXPECT_EQ(contents_->bounds().right(), client_bounds.right()); contents_ 107 ui/views/window/dialog_client_view_unittest.cc scoped_ptr<View> contents_;