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

Side by Side Diff: chrome/browser/ui/browser.h

Issue 5869002: Introduce default implementation for TabContentsDelegate::ViewSourceForTab. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Lint Created 10 years 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/tab_contents/tab_contents_delegate.cc ('k') | chrome/browser/ui/browser.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef CHROME_BROWSER_UI_BROWSER_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_
6 #define CHROME_BROWSER_UI_BROWSER_H_ 6 #define CHROME_BROWSER_UI_BROWSER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after
771 virtual void ConfirmSetDefaultSearchProvider( 771 virtual void ConfirmSetDefaultSearchProvider(
772 TabContents* tab_contents, 772 TabContents* tab_contents,
773 TemplateURL* template_url, 773 TemplateURL* template_url,
774 TemplateURLModel* template_url_model); 774 TemplateURLModel* template_url_model);
775 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, 775 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url,
776 Profile* profile); 776 Profile* profile);
777 virtual void ShowPageInfo(Profile* profile, 777 virtual void ShowPageInfo(Profile* profile,
778 const GURL& url, 778 const GURL& url,
779 const NavigationEntry::SSLStatus& ssl, 779 const NavigationEntry::SSLStatus& ssl,
780 bool show_history); 780 bool show_history);
781 virtual void ViewSourceForTab(TabContents* source); 781 virtual void ViewSourceForTab(TabContents* source, const GURL& page_url);
782 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 782 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
783 bool* is_keyboard_shortcut); 783 bool* is_keyboard_shortcut);
784 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); 784 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event);
785 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents); 785 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents);
786 virtual void ShowContentSettingsWindow(ContentSettingsType content_type); 786 virtual void ShowContentSettingsWindow(ContentSettingsType content_type);
787 virtual void ShowCollectedCookiesDialog(TabContents* tab_contents); 787 virtual void ShowCollectedCookiesDialog(TabContents* tab_contents);
788 virtual bool ShouldAddNavigationToHistory( 788 virtual bool ShouldAddNavigationToHistory(
789 const history::HistoryAddPageArgs& add_page_args, 789 const history::HistoryAddPageArgs& add_page_args,
790 NavigationType::Type navigation_type); 790 NavigationType::Type navigation_type);
791 virtual void OnDidGetApplicationInfo(TabContents* tab_contents, 791 virtual void OnDidGetApplicationInfo(TabContents* tab_contents,
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
1130 // and we install ourselves as an observer. 1130 // and we install ourselves as an observer.
1131 TabRestoreService* tab_restore_service_; 1131 TabRestoreService* tab_restore_service_;
1132 1132
1133 scoped_ptr<InstantController> instant_; 1133 scoped_ptr<InstantController> instant_;
1134 scoped_ptr<InstantUnloadHandler> instant_unload_handler_; 1134 scoped_ptr<InstantUnloadHandler> instant_unload_handler_;
1135 1135
1136 DISALLOW_COPY_AND_ASSIGN(Browser); 1136 DISALLOW_COPY_AND_ASSIGN(Browser);
1137 }; 1137 };
1138 1138
1139 #endif // CHROME_BROWSER_UI_BROWSER_H_ 1139 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/tab_contents_delegate.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698