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

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

Issue 10554010: Remove BrowserList::GetLastActive usage from WebUI pages. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 8 years, 6 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/page_info_bubble.h ('k') | chrome/browser/ui/panels/panel_browser_window.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) 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 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/browser_window.h" 9 #include "chrome/browser/ui/browser_window.h"
10 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" 10 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h"
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 #if defined(ENABLE_ONE_CLICK_SIGNIN) 105 #if defined(ENABLE_ONE_CLICK_SIGNIN)
106 virtual void ShowOneClickSigninBubble( 106 virtual void ShowOneClickSigninBubble(
107 const StartSyncCallback& start_sync_callback) OVERRIDE; 107 const StartSyncCallback& start_sync_callback) OVERRIDE;
108 #endif 108 #endif
109 virtual bool IsDownloadShelfVisible() const OVERRIDE; 109 virtual bool IsDownloadShelfVisible() const OVERRIDE;
110 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; 110 virtual DownloadShelf* GetDownloadShelf() OVERRIDE;
111 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE; 111 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE;
112 virtual void UserChangedTheme() OVERRIDE; 112 virtual void UserChangedTheme() OVERRIDE;
113 virtual int GetExtraRenderViewHeight() const OVERRIDE; 113 virtual int GetExtraRenderViewHeight() const OVERRIDE;
114 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE; 114 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE;
115 virtual void ShowPageInfo(Profile* profile, 115 virtual void ShowPageInfo(content::WebContents* web_contents,
116 const GURL& url, 116 const GURL& url,
117 const content::SSLStatus& ssl, 117 const content::SSLStatus& ssl,
118 bool show_history) OVERRIDE; 118 bool show_history) OVERRIDE;
119 virtual void ShowWebsiteSettings(Profile* profile, 119 virtual void ShowWebsiteSettings(Profile* profile,
120 TabContents* tab_contents, 120 TabContents* tab_contents,
121 const GURL& url, 121 const GURL& url,
122 const content::SSLStatus& ssl, 122 const content::SSLStatus& ssl,
123 bool show_history) OVERRIDE; 123 bool show_history) OVERRIDE;
124 virtual void ShowAppMenu() OVERRIDE; 124 virtual void ShowAppMenu() OVERRIDE;
125 virtual bool PreHandleKeyboardEvent( 125 virtual bool PreHandleKeyboardEvent(
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 Panel* panel_; // Weak pointer. Owns us. 173 Panel* panel_; // Weak pointer. Owns us.
174 174
175 // Platform specifc implementation for panels. It'd be one of 175 // Platform specifc implementation for panels. It'd be one of
176 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa. 176 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa.
177 NativePanel* native_panel_; // Weak, owns us (through ownership of Panel). 177 NativePanel* native_panel_; // Weak, owns us (through ownership of Panel).
178 178
179 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindow); 179 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindow);
180 }; 180 };
181 181
182 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_ 182 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/page_info_bubble.h ('k') | chrome/browser/ui/panels/panel_browser_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698