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

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

Issue 8271025: Moved mobile activation into its own modal dialog (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' 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 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 const gfx::Rect& bounds) { 487 const gfx::Rect& bounds) {
488 NOTIMPLEMENTED(); 488 NOTIMPLEMENTED();
489 return NEW_POPUP; 489 return NEW_POPUP;
490 } 490 }
491 491
492 FindBar* Panel::CreateFindBar() { 492 FindBar* Panel::CreateFindBar() {
493 return native_panel_->CreatePanelFindBar(); 493 return native_panel_->CreatePanelFindBar();
494 } 494 }
495 495
496 #if defined(OS_CHROMEOS) 496 #if defined(OS_CHROMEOS)
497 void Panel::ShowMobileSetup() {
498 NOTIMPLEMENTED();
499 }
500
497 void Panel::ShowKeyboardOverlay(gfx::NativeWindow owning_window) { 501 void Panel::ShowKeyboardOverlay(gfx::NativeWindow owning_window) {
498 NOTIMPLEMENTED(); 502 NOTIMPLEMENTED();
499 } 503 }
500 #endif 504 #endif
501 505
502 void Panel::UpdatePreferredSize(TabContents* tab_contents, 506 void Panel::UpdatePreferredSize(TabContents* tab_contents,
503 const gfx::Size& pref_size) { 507 const gfx::Size& pref_size) {
504 return manager()->OnPreferredWindowSizeChanged(this, 508 return manager()->OnPreferredWindowSizeChanged(this,
505 native_panel_->WindowSizeFromContentSize(pref_size)); 509 native_panel_->WindowSizeFromContentSize(pref_size));
506 } 510 }
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 RequestRenderViewHostToDisableScrollbars(GetRenderViewHost()); 561 RequestRenderViewHostToDisableScrollbars(GetRenderViewHost());
558 } 562 }
559 563
560 Browser* Panel::browser() const { 564 Browser* Panel::browser() const {
561 return native_panel_->GetPanelBrowser(); 565 return native_panel_->GetPanelBrowser();
562 } 566 }
563 567
564 void Panel::DestroyBrowser() { 568 void Panel::DestroyBrowser() {
565 native_panel_->DestroyPanelBrowser(); 569 native_panel_->DestroyPanelBrowser();
566 } 570 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698