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

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

Issue 6312178: Highlight background pages in task manager if user clicks View Background Pages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome
Patch Set: Review feedback Created 9 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/browser_window.h ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.mm » ('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 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/scoped_nsobject.h" 9 #include "base/scoped_nsobject.h"
10 #include "base/task.h" 10 #include "base/task.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 virtual bool IsBookmarkBarVisible() const; 66 virtual bool IsBookmarkBarVisible() const;
67 virtual bool IsBookmarkBarAnimating() const; 67 virtual bool IsBookmarkBarAnimating() const;
68 virtual bool IsTabStripEditable() const; 68 virtual bool IsTabStripEditable() const;
69 virtual bool IsToolbarVisible() const; 69 virtual bool IsToolbarVisible() const;
70 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, 70 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url,
71 Profile* profile); 71 Profile* profile);
72 virtual void ToggleBookmarkBar(); 72 virtual void ToggleBookmarkBar();
73 virtual views::Window* ShowAboutChromeDialog(); 73 virtual views::Window* ShowAboutChromeDialog();
74 virtual void ShowUpdateChromeDialog(); 74 virtual void ShowUpdateChromeDialog();
75 virtual void ShowTaskManager(); 75 virtual void ShowTaskManager();
76 virtual void ShowBackgroundPages();
76 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked); 77 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked);
77 virtual bool IsDownloadShelfVisible() const; 78 virtual bool IsDownloadShelfVisible() const;
78 virtual DownloadShelf* GetDownloadShelf(); 79 virtual DownloadShelf* GetDownloadShelf();
79 virtual void ShowClearBrowsingDataDialog(); 80 virtual void ShowClearBrowsingDataDialog();
80 virtual void ShowImportDialog(); 81 virtual void ShowImportDialog();
81 virtual void ShowSearchEnginesDialog(); 82 virtual void ShowSearchEnginesDialog();
82 virtual void ShowPasswordManager(); 83 virtual void ShowPasswordManager();
83 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents); 84 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents);
84 virtual void ShowContentSettingsWindow(ContentSettingsType content_type, 85 virtual void ShowContentSettingsWindow(ContentSettingsType content_type,
85 Profile* profile); 86 Profile* profile);
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 void UpdateSidebarForContents(TabContents* tab_contents); 138 void UpdateSidebarForContents(TabContents* tab_contents);
138 139
139 NotificationRegistrar registrar_; 140 NotificationRegistrar registrar_;
140 Browser* browser_; // weak, owned by controller 141 Browser* browser_; // weak, owned by controller
141 BrowserWindowController* controller_; // weak, owns us 142 BrowserWindowController* controller_; // weak, owns us
142 ScopedRunnableMethodFactory<Browser> confirm_close_factory_; 143 ScopedRunnableMethodFactory<Browser> confirm_close_factory_;
143 scoped_nsobject<NSString> pending_window_title_; 144 scoped_nsobject<NSString> pending_window_title_;
144 }; 145 };
145 146
146 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 147 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698