OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |