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

Side by Side Diff: chrome/browser/ui/panels/panel.cc

Issue 7740044: Implement fullscreen info bubble on Win and Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: respond to commens Created 9 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 | 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/ui/panels/panel.h" 5 #include "chrome/browser/ui/panels/panel.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/browser/extensions/extension_prefs.h" 8 #include "chrome/browser/extensions/extension_prefs.h"
9 #include "chrome/browser/extensions/extension_service.h" 9 #include "chrome/browser/extensions/extension_service.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 239
240 bool Panel::IsMaximized() const { 240 bool Panel::IsMaximized() const {
241 // TODO(jennb): Figure out how this applies to Panels. Means isZoomed. 241 // TODO(jennb): Figure out how this applies to Panels. Means isZoomed.
242 return false; 242 return false;
243 } 243 }
244 244
245 bool Panel::IsMinimized() const { 245 bool Panel::IsMinimized() const {
246 return expansion_state_ != EXPANDED; 246 return expansion_state_ != EXPANDED;
247 } 247 }
248 248
249 void Panel::SetFullscreen(bool fullscreen) { 249 void Panel::SetFullscreen(bool fullscreen,
250 const GURL& url,
251 bool ask_permission) {
250 NOTIMPLEMENTED(); 252 NOTIMPLEMENTED();
251 } 253 }
252 254
253 bool Panel::IsFullscreen() const { 255 bool Panel::IsFullscreen() const {
254 return false; 256 return false;
255 } 257 }
256 258
257 bool Panel::IsFullscreenBubbleVisible() const { 259 bool Panel::IsFullscreenBubbleVisible() const {
258 NOTIMPLEMENTED(); 260 NOTIMPLEMENTED();
259 return false; 261 return false;
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 456
455 void Panel::Paste() { 457 void Panel::Paste() {
456 native_panel_->PanelPaste(); 458 native_panel_->PanelPaste();
457 } 459 }
458 460
459 #if defined(OS_MACOSX) 461 #if defined(OS_MACOSX)
460 void Panel::OpenTabpose() { 462 void Panel::OpenTabpose() {
461 NOTIMPLEMENTED(); 463 NOTIMPLEMENTED();
462 } 464 }
463 465
464 void Panel::SetPresentationMode(bool presentation_mode) { 466 void Panel::SetPresentationMode(bool presentation_mode,
467 const GURL& url,
468 bool ask_permission) {
465 NOTIMPLEMENTED(); 469 NOTIMPLEMENTED();
466 } 470 }
467 471
468 bool Panel::InPresentationMode() { 472 bool Panel::InPresentationMode() {
469 NOTIMPLEMENTED(); 473 NOTIMPLEMENTED();
470 return false; 474 return false;
471 } 475 }
472 #endif 476 #endif
473 477
474 void Panel::PrepareForInstant() { 478 void Panel::PrepareForInstant() {
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 RequestRenderViewHostToDisableScrollbars(GetRenderViewHost()); 566 RequestRenderViewHostToDisableScrollbars(GetRenderViewHost());
563 } 567 }
564 568
565 Browser* Panel::browser() const { 569 Browser* Panel::browser() const {
566 return native_panel_->GetPanelBrowser(); 570 return native_panel_->GetPanelBrowser();
567 } 571 }
568 572
569 void Panel::DestroyBrowser() { 573 void Panel::DestroyBrowser() {
570 native_panel_->DestroyPanelBrowser(); 574 native_panel_->DestroyPanelBrowser();
571 } 575 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698