| 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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 void VisibleSSLStateChanged(content::WebContents* web_contents); | 353 void VisibleSSLStateChanged(content::WebContents* web_contents); |
| 354 | 354 |
| 355 // Assorted browser commands //////////////////////////////////////////////// | 355 // Assorted browser commands //////////////////////////////////////////////// |
| 356 | 356 |
| 357 // NOTE: Within each of the following sections, the IDs are ordered roughly by | 357 // NOTE: Within each of the following sections, the IDs are ordered roughly by |
| 358 // how they appear in the GUI/menus (left to right, top to bottom, etc.). | 358 // how they appear in the GUI/menus (left to right, top to bottom, etc.). |
| 359 | 359 |
| 360 // See the description of | 360 // See the description of |
| 361 // FullscreenController::ToggleFullscreenModeWithExtension. | 361 // FullscreenController::ToggleFullscreenModeWithExtension. |
| 362 void ToggleFullscreenModeWithExtension(const GURL& extension_url); | 362 void ToggleFullscreenModeWithExtension(const GURL& extension_url); |
| 363 |
| 363 #if defined(OS_WIN) | 364 #if defined(OS_WIN) |
| 364 // See the description of FullscreenController::ToggleMetroSnapMode. | 365 // See the description of FullscreenController::ToggleMetroSnapMode. |
| 365 void SetMetroSnapMode(bool enable); | 366 void SetMetroSnapMode(bool enable); |
| 366 #endif | 367 #endif |
| 367 | 368 |
| 368 // Returns true if the Browser supports the specified feature. The value of | 369 // Returns true if the Browser supports the specified feature. The value of |
| 369 // this varies during the lifetime of the browser. For example, if the window | 370 // this varies during the lifetime of the browser. For example, if the window |
| 370 // is fullscreen this may return a different value. If you only care about | 371 // is fullscreen this may return a different value. If you only care about |
| 371 // whether or not it's possible for the browser to support a particular | 372 // whether or not it's possible for the browser to support a particular |
| 372 // feature use |CanSupportWindowFeature|. | 373 // feature use |CanSupportWindowFeature|. |
| (...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 934 base::WeakPtrFactory<Browser> weak_factory_; | 935 base::WeakPtrFactory<Browser> weak_factory_; |
| 935 | 936 |
| 936 scoped_ptr<BrowserContentTranslateDriverObserver> translate_driver_observer_; | 937 scoped_ptr<BrowserContentTranslateDriverObserver> translate_driver_observer_; |
| 937 | 938 |
| 938 scoped_ptr<chrome::ValidationMessageBubble> validation_message_bubble_; | 939 scoped_ptr<chrome::ValidationMessageBubble> validation_message_bubble_; |
| 939 | 940 |
| 940 DISALLOW_COPY_AND_ASSIGN(Browser); | 941 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 941 }; | 942 }; |
| 942 | 943 |
| 943 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 944 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |