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

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

Issue 9383005: Add method skeleton for showing website settings. Add commandline flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix typo in comment. Created 8 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
« 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) 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 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 void Panel::WebContentsFocused(WebContents* contents) { 508 void Panel::WebContentsFocused(WebContents* contents) {
509 native_panel_->PanelWebContentsFocused(contents); 509 native_panel_->PanelWebContentsFocused(contents);
510 } 510 }
511 511
512 void Panel::ShowPageInfo(Profile* profile, 512 void Panel::ShowPageInfo(Profile* profile,
513 const GURL& url, 513 const GURL& url,
514 const SSLStatus& ssl, 514 const SSLStatus& ssl,
515 bool show_history) { 515 bool show_history) {
516 NOTIMPLEMENTED(); 516 NOTIMPLEMENTED();
517 } 517 }
518 void Panel::ShowWebsiteSettings(Profile* profile,
519 TabContentsWrapper* tab_contents_wrapper,
520 const GURL& url,
521 const content::SSLStatus& ssl,
522 bool show_history) {
523 NOTIMPLEMENTED();
524 }
518 525
519 void Panel::ShowAppMenu() { 526 void Panel::ShowAppMenu() {
520 NOTIMPLEMENTED(); 527 NOTIMPLEMENTED();
521 } 528 }
522 529
523 bool Panel::PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 530 bool Panel::PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
524 bool* is_keyboard_shortcut) { 531 bool* is_keyboard_shortcut) {
525 return native_panel_->PreHandlePanelKeyboardEvent(event, 532 return native_panel_->PreHandlePanelKeyboardEvent(event,
526 is_keyboard_shortcut); 533 is_keyboard_shortcut);
527 } 534 }
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 native_panel_->ContentSizeFromWindowSize(max_size_)); 678 native_panel_->ContentSizeFromWindowSize(max_size_));
672 } 679 }
673 680
674 void Panel::OnWindowSizeAvailable() { 681 void Panel::OnWindowSizeAvailable() {
675 ConfigureAutoResize(browser()->GetSelectedWebContents()); 682 ConfigureAutoResize(browser()->GetSelectedWebContents());
676 } 683 }
677 684
678 void Panel::DestroyBrowser() { 685 void Panel::DestroyBrowser() {
679 native_panel_->DestroyPanelBrowser(); 686 native_panel_->DestroyPanelBrowser();
680 } 687 }
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