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

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, 1 month 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
« no previous file with comments | « chrome/browser/ui/panels/panel.h ('k') | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 const gfx::Rect& bounds) { 508 const gfx::Rect& bounds) {
509 NOTIMPLEMENTED(); 509 NOTIMPLEMENTED();
510 return NEW_POPUP; 510 return NEW_POPUP;
511 } 511 }
512 512
513 FindBar* Panel::CreateFindBar() { 513 FindBar* Panel::CreateFindBar() {
514 return native_panel_->CreatePanelFindBar(); 514 return native_panel_->CreatePanelFindBar();
515 } 515 }
516 516
517 #if defined(OS_CHROMEOS) 517 #if defined(OS_CHROMEOS)
518 void Panel::ShowMobileSetup() {
519 NOTIMPLEMENTED();
520 }
521
518 void Panel::ShowKeyboardOverlay(gfx::NativeWindow owning_window) { 522 void Panel::ShowKeyboardOverlay(gfx::NativeWindow owning_window) {
519 NOTIMPLEMENTED(); 523 NOTIMPLEMENTED();
520 } 524 }
521 #endif 525 #endif
522 526
523 void Panel::UpdatePreferredSize(TabContents* tab_contents, 527 void Panel::UpdatePreferredSize(TabContents* tab_contents,
524 const gfx::Size& pref_size) { 528 const gfx::Size& pref_size) {
525 return manager()->OnPreferredWindowSizeChanged(this, 529 return manager()->OnPreferredWindowSizeChanged(this,
526 native_panel_->WindowSizeFromContentSize(pref_size)); 530 native_panel_->WindowSizeFromContentSize(pref_size));
527 } 531 }
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 RequestRenderViewHostToDisableScrollbars(GetRenderViewHost()); 583 RequestRenderViewHostToDisableScrollbars(GetRenderViewHost());
580 } 584 }
581 585
582 Browser* Panel::browser() const { 586 Browser* Panel::browser() const {
583 return native_panel_->GetPanelBrowser(); 587 return native_panel_->GetPanelBrowser();
584 } 588 }
585 589
586 void Panel::DestroyBrowser() { 590 void Panel::DestroyBrowser() {
587 native_panel_->DestroyPanelBrowser(); 591 native_panel_->DestroyPanelBrowser();
588 } 592 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel.h ('k') | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698