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

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

Issue 9443007: Add Chrome To Mobile Service and Views Page Action. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Bail on empty GetOAuth2LoginRefreshToken(). Created 8 years, 9 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
« no previous file with comments | « chrome/browser/ui/panels/panel.h ('k') | chrome/browser/ui/view_ids.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 } 469 }
470 470
471 void Panel::ShowBackgroundPages() { 471 void Panel::ShowBackgroundPages() {
472 NOTIMPLEMENTED(); 472 NOTIMPLEMENTED();
473 } 473 }
474 474
475 void Panel::ShowBookmarkBubble(const GURL& url, bool already_bookmarked) { 475 void Panel::ShowBookmarkBubble(const GURL& url, bool already_bookmarked) {
476 NOTIMPLEMENTED(); 476 NOTIMPLEMENTED();
477 } 477 }
478 478
479 void Panel::ShowChromeToMobileBubble() {
480 NOTIMPLEMENTED();
481 }
482
479 bool Panel::IsDownloadShelfVisible() const { 483 bool Panel::IsDownloadShelfVisible() const {
480 return false; 484 return false;
481 } 485 }
482 486
483 DownloadShelf* Panel::GetDownloadShelf() { 487 DownloadShelf* Panel::GetDownloadShelf() {
484 Browser* panel_browser = native_panel_->GetPanelBrowser(); 488 Browser* panel_browser = native_panel_->GetPanelBrowser();
485 Profile* profile = panel_browser->GetProfile(); 489 Profile* profile = panel_browser->GetProfile();
486 Browser* tabbed_browser = Browser::GetTabbedBrowser(profile, true); 490 Browser* tabbed_browser = Browser::GetTabbedBrowser(profile, true);
487 491
488 if (!tabbed_browser) { 492 if (!tabbed_browser) {
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
689 native_panel_->ContentSizeFromWindowSize(max_size_)); 693 native_panel_->ContentSizeFromWindowSize(max_size_));
690 } 694 }
691 695
692 void Panel::OnWindowSizeAvailable() { 696 void Panel::OnWindowSizeAvailable() {
693 ConfigureAutoResize(browser()->GetSelectedWebContents()); 697 ConfigureAutoResize(browser()->GetSelectedWebContents());
694 } 698 }
695 699
696 void Panel::DestroyBrowser() { 700 void Panel::DestroyBrowser() {
697 native_panel_->DestroyPanelBrowser(); 701 native_panel_->DestroyPanelBrowser();
698 } 702 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel.h ('k') | chrome/browser/ui/view_ids.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698