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

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

Issue 2443613002: Rename classes related to top controls (Closed)
Patch Set: fix test Created 4 years, 1 month 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
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/common/render_messages.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "chrome/browser/lifetime/browser_close_manager.h" 10 #include "chrome/browser/lifetime/browser_close_manager.h"
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 content::WebContents* new_contents, 132 content::WebContents* new_contents,
133 int index, 133 int index,
134 int reason) = 0; 134 int reason) = 0;
135 135
136 // Called to force the zoom state to for the active tab to be recalculated. 136 // Called to force the zoom state to for the active tab to be recalculated.
137 // |can_show_bubble| is true when a user presses the zoom up or down keyboard 137 // |can_show_bubble| is true when a user presses the zoom up or down keyboard
138 // shortcuts and will be false in other cases (e.g. switching tabs, "clicking" 138 // shortcuts and will be false in other cases (e.g. switching tabs, "clicking"
139 // + or - in the app menu to change zoom). 139 // + or - in the app menu to change zoom).
140 virtual void ZoomChangedForActiveTab(bool can_show_bubble) = 0; 140 virtual void ZoomChangedForActiveTab(bool can_show_bubble) = 0;
141 141
142 // Windows and GTK remove the top controls in fullscreen, but Mac and Ash 142 // Windows and GTK remove the browser controls in fullscreen, but Mac and Ash
143 // keep the controls in a slide-down panel. 143 // keep the controls in a slide-down panel.
144 virtual bool ShouldHideUIForFullscreen() const = 0; 144 virtual bool ShouldHideUIForFullscreen() const = 0;
145 145
146 // Returns true if the fullscreen bubble is visible. 146 // Returns true if the fullscreen bubble is visible.
147 virtual bool IsFullscreenBubbleVisible() const = 0; 147 virtual bool IsFullscreenBubbleVisible() const = 0;
148 148
149 // Shows a notice teaching the user the new shortcut for going back or forward 149 // Shows a notice teaching the user the new shortcut for going back or forward
150 // if the user has pressed the old shortcut more than once in three seconds 150 // if the user has pressed the old shortcut more than once in three seconds
151 // and the bubble has been shown less than five times. 151 // and the bubble has been shown less than five times.
152 virtual void MaybeShowNewBackShortcutBubble(bool forward) = 0; 152 virtual void MaybeShowNewBackShortcutBubble(bool forward) = 0;
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 virtual std::string GetWorkspace() const = 0; 381 virtual std::string GetWorkspace() const = 0;
382 virtual bool IsVisibleOnAllWorkspaces() const = 0; 382 virtual bool IsVisibleOnAllWorkspaces() const = 0;
383 383
384 protected: 384 protected:
385 friend class BrowserCloseManager; 385 friend class BrowserCloseManager;
386 friend class BrowserView; 386 friend class BrowserView;
387 virtual void DestroyBrowser() = 0; 387 virtual void DestroyBrowser() = 0;
388 }; 388 };
389 389
390 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 390 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698