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

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

Issue 6462017: gtk: Improve fullscreen RenderWidgetHostViewGtk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update a comment Created 9 years, 10 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/tab_contents/interstitial_page.h" 5 #include "chrome/browser/tab_contents/interstitial_page.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 : public RenderViewHostDelegate::View { 88 : public RenderViewHostDelegate::View {
89 public: 89 public:
90 explicit InterstitialPageRVHViewDelegate(InterstitialPage* page); 90 explicit InterstitialPageRVHViewDelegate(InterstitialPage* page);
91 91
92 // RenderViewHostDelegate::View implementation: 92 // RenderViewHostDelegate::View implementation:
93 virtual void CreateNewWindow( 93 virtual void CreateNewWindow(
94 int route_id, 94 int route_id,
95 const ViewHostMsg_CreateWindow_Params& params); 95 const ViewHostMsg_CreateWindow_Params& params);
96 virtual void CreateNewWidget(int route_id, 96 virtual void CreateNewWidget(int route_id,
97 WebKit::WebPopupType popup_type); 97 WebKit::WebPopupType popup_type);
98 virtual void CreateNewFullscreenWidget(int route_id, 98 virtual void CreateNewFullscreenWidget(int route_id);
99 WebKit::WebPopupType popup_type);
100 virtual void ShowCreatedWindow(int route_id, 99 virtual void ShowCreatedWindow(int route_id,
101 WindowOpenDisposition disposition, 100 WindowOpenDisposition disposition,
102 const gfx::Rect& initial_pos, 101 const gfx::Rect& initial_pos,
103 bool user_gesture); 102 bool user_gesture);
104 virtual void ShowCreatedWidget(int route_id, 103 virtual void ShowCreatedWidget(int route_id,
105 const gfx::Rect& initial_pos); 104 const gfx::Rect& initial_pos);
106 virtual void ShowCreatedFullscreenWidget(int route_id); 105 virtual void ShowCreatedFullscreenWidget(int route_id);
107 virtual void ShowContextMenu(const ContextMenuParams& params); 106 virtual void ShowContextMenu(const ContextMenuParams& params);
108 virtual void ShowPopupMenu(const gfx::Rect& bounds, 107 virtual void ShowPopupMenu(const gfx::Rect& bounds,
109 int item_height, 108 int item_height,
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 NOTREACHED() << "InterstitialPage does not support showing popups yet."; 596 NOTREACHED() << "InterstitialPage does not support showing popups yet.";
598 } 597 }
599 598
600 void InterstitialPage::InterstitialPageRVHViewDelegate::CreateNewWidget( 599 void InterstitialPage::InterstitialPageRVHViewDelegate::CreateNewWidget(
601 int route_id, WebKit::WebPopupType popup_type) { 600 int route_id, WebKit::WebPopupType popup_type) {
602 NOTREACHED() << "InterstitialPage does not support showing drop-downs yet."; 601 NOTREACHED() << "InterstitialPage does not support showing drop-downs yet.";
603 } 602 }
604 603
605 void 604 void
606 InterstitialPage::InterstitialPageRVHViewDelegate::CreateNewFullscreenWidget( 605 InterstitialPage::InterstitialPageRVHViewDelegate::CreateNewFullscreenWidget(
607 int route_id, WebKit::WebPopupType popup_type) { 606 int route_id) {
608 NOTREACHED() 607 NOTREACHED()
609 << "InterstitialPage does not support showing full screen popups."; 608 << "InterstitialPage does not support showing full screen popups.";
610 } 609 }
611 610
612 void InterstitialPage::InterstitialPageRVHViewDelegate::ShowCreatedWindow( 611 void InterstitialPage::InterstitialPageRVHViewDelegate::ShowCreatedWindow(
613 int route_id, WindowOpenDisposition disposition, 612 int route_id, WindowOpenDisposition disposition,
614 const gfx::Rect& initial_pos, bool user_gesture) { 613 const gfx::Rect& initial_pos, bool user_gesture) {
615 NOTREACHED() << "InterstitialPage does not support showing popups yet."; 614 NOTREACHED() << "InterstitialPage does not support showing popups yet.";
616 } 615 }
617 616
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 724
726 void InterstitialPage::UpdateInspectorSetting(const std::string& key, 725 void InterstitialPage::UpdateInspectorSetting(const std::string& key,
727 const std::string& value) { 726 const std::string& value) {
728 RenderViewHostDelegateHelper::UpdateInspectorSetting( 727 RenderViewHostDelegateHelper::UpdateInspectorSetting(
729 tab_->profile(), key, value); 728 tab_->profile(), key, value);
730 } 729 }
731 730
732 void InterstitialPage::ClearInspectorSettings() { 731 void InterstitialPage::ClearInspectorSettings() {
733 RenderViewHostDelegateHelper::ClearInspectorSettings(tab_->profile()); 732 RenderViewHostDelegateHelper::ClearInspectorSettings(tab_->profile());
734 } 733 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698