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

Side by Side Diff: chrome/browser/tab_contents/interstitial_page.cc

Issue 3461019: FBTF: Move virtual methods to implementation files. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Win+chromeos+mac fixes Created 10 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 unified diff | Download patch
OLDNEW
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/tab_contents/interstitial_page.h" 5 #include "chrome/browser/tab_contents/interstitial_page.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "base/thread.h" 10 #include "base/thread.h"
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 entry->set_title(WideToUTF16Hack(title)); 391 entry->set_title(WideToUTF16Hack(title));
392 tab_->NotifyNavigationStateChanged(TabContents::INVALIDATE_TITLE); 392 tab_->NotifyNavigationStateChanged(TabContents::INVALIDATE_TITLE);
393 } 393 }
394 394
395 void InterstitialPage::DomOperationResponse(const std::string& json_string, 395 void InterstitialPage::DomOperationResponse(const std::string& json_string,
396 int automation_id) { 396 int automation_id) {
397 if (enabled_) 397 if (enabled_)
398 CommandReceived(json_string); 398 CommandReceived(json_string);
399 } 399 }
400 400
401 RendererPreferences InterstitialPage::GetRendererPrefs(Profile* profile) const {
402 return renderer_preferences_;
403 }
404
401 RenderViewHost* InterstitialPage::CreateRenderViewHost() { 405 RenderViewHost* InterstitialPage::CreateRenderViewHost() {
402 RenderViewHost* render_view_host = new RenderViewHost( 406 RenderViewHost* render_view_host = new RenderViewHost(
403 SiteInstance::CreateSiteInstance(tab()->profile()), 407 SiteInstance::CreateSiteInstance(tab()->profile()),
404 this, MSG_ROUTING_NONE, kInvalidSessionStorageNamespaceId); 408 this, MSG_ROUTING_NONE, kInvalidSessionStorageNamespaceId);
405 return render_view_host; 409 return render_view_host;
406 } 410 }
407 411
408 TabContentsView* InterstitialPage::CreateTabContentsView() { 412 TabContentsView* InterstitialPage::CreateTabContentsView() {
409 TabContentsView* tab_contents_view = tab()->view(); 413 TabContentsView* tab_contents_view = tab()->view();
410 RenderWidgetHostView* view = 414 RenderWidgetHostView* view =
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 } 677 }
674 678
675 void InterstitialPage::InterstitialPageRVHViewDelegate::OnFindReply( 679 void InterstitialPage::InterstitialPageRVHViewDelegate::OnFindReply(
676 int request_id, int number_of_matches, const gfx::Rect& selection_rect, 680 int request_id, int number_of_matches, const gfx::Rect& selection_rect,
677 int active_match_ordinal, bool final_update) { 681 int active_match_ordinal, bool final_update) {
678 } 682 }
679 683
680 int InterstitialPage::GetBrowserWindowID() const { 684 int InterstitialPage::GetBrowserWindowID() const {
681 return tab_->GetBrowserWindowID(); 685 return tab_->GetBrowserWindowID();
682 } 686 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698