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

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

Issue 11896104: Refactor FullscreenController removing TogglePresentationMode & adding ToggleFullscreenWithChrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: chrome/browser/ui/cocoa/browser_window_controller_browsertest.mm compile fix Created 7 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 | « no previous file | 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) 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_BROWSER_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_
6 #define CHROME_BROWSER_UI_BROWSER_H_ 6 #define CHROME_BROWSER_UI_BROWSER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 // NOTE: Within each of the following sections, the IDs are ordered roughly by 339 // NOTE: Within each of the following sections, the IDs are ordered roughly by
340 // how they appear in the GUI/menus (left to right, top to bottom, etc.). 340 // how they appear in the GUI/menus (left to right, top to bottom, etc.).
341 341
342 // See the description of 342 // See the description of
343 // FullscreenController::ToggleFullscreenModeWithExtension. 343 // FullscreenController::ToggleFullscreenModeWithExtension.
344 void ToggleFullscreenModeWithExtension(const GURL& extension_url); 344 void ToggleFullscreenModeWithExtension(const GURL& extension_url);
345 #if defined(OS_WIN) 345 #if defined(OS_WIN)
346 // See the description of FullscreenController::ToggleMetroSnapMode. 346 // See the description of FullscreenController::ToggleMetroSnapMode.
347 void SetMetroSnapMode(bool enable); 347 void SetMetroSnapMode(bool enable);
348 #endif 348 #endif
349 #if defined(OS_MACOSX)
350 void TogglePresentationMode();
351 #endif
352 349
353 // Returns true if the Browser supports the specified feature. The value of 350 // Returns true if the Browser supports the specified feature. The value of
354 // this varies during the lifetime of the browser. For example, if the window 351 // this varies during the lifetime of the browser. For example, if the window
355 // is fullscreen this may return a different value. If you only care about 352 // is fullscreen this may return a different value. If you only care about
356 // whether or not it's possible for the browser to support a particular 353 // whether or not it's possible for the browser to support a particular
357 // feature use |CanSupportWindowFeature|. 354 // feature use |CanSupportWindowFeature|.
358 bool SupportsWindowFeature(WindowFeature feature) const; 355 bool SupportsWindowFeature(WindowFeature feature) const;
359 356
360 // Returns true if the Browser can support the specified feature. See comment 357 // Returns true if the Browser can support the specified feature. See comment
361 // in |SupportsWindowFeature| for details on this. 358 // in |SupportsWindowFeature| for details on this.
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after
933 bool window_has_shown_; 930 bool window_has_shown_;
934 931
935 // Currently open color chooser. Non-NULL after OpenColorChooser is called and 932 // Currently open color chooser. Non-NULL after OpenColorChooser is called and
936 // before DidEndColorChooser is called. 933 // before DidEndColorChooser is called.
937 scoped_ptr<content::ColorChooser> color_chooser_; 934 scoped_ptr<content::ColorChooser> color_chooser_;
938 935
939 DISALLOW_COPY_AND_ASSIGN(Browser); 936 DISALLOW_COPY_AND_ASSIGN(Browser);
940 }; 937 };
941 938
942 #endif // CHROME_BROWSER_UI_BROWSER_H_ 939 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698