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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 DownloadClosePreventionType OkToCloseWithInProgressDownloads( | 323 DownloadClosePreventionType OkToCloseWithInProgressDownloads( |
324 int* num_downloads_blocking) const; | 324 int* num_downloads_blocking) const; |
325 | 325 |
326 // Tab adding/showing functions ///////////////////////////////////////////// | 326 // Tab adding/showing functions ///////////////////////////////////////////// |
327 | 327 |
328 // Invoked when the fullscreen state of the window changes. | 328 // Invoked when the fullscreen state of the window changes. |
329 // BrowserWindow::EnterFullscreen invokes this after the window has become | 329 // BrowserWindow::EnterFullscreen invokes this after the window has become |
330 // fullscreen. | 330 // fullscreen. |
331 void WindowFullscreenStateChanged(); | 331 void WindowFullscreenStateChanged(); |
332 | 332 |
333 // Invoked when visible SSL state (as defined by SSLStatus) changes. | |
334 void VisibleSSLStateChanged(content::WebContents* web_contents); | |
335 | |
336 // Assorted browser commands //////////////////////////////////////////////// | 333 // Assorted browser commands //////////////////////////////////////////////// |
337 | 334 |
338 // NOTE: Within each of the following sections, the IDs are ordered roughly by | 335 // NOTE: Within each of the following sections, the IDs are ordered roughly by |
339 // how they appear in the GUI/menus (left to right, top to bottom, etc.). | 336 // how they appear in the GUI/menus (left to right, top to bottom, etc.). |
340 | 337 |
341 // See the description of | 338 // See the description of |
342 // FullscreenController::ToggleFullscreenModeWithExtension. | 339 // FullscreenController::ToggleFullscreenModeWithExtension. |
343 void ToggleFullscreenModeWithExtension(const GURL& extension_url); | 340 void ToggleFullscreenModeWithExtension(const GURL& extension_url); |
344 #if defined(OS_WIN) | 341 #if defined(OS_WIN) |
345 // See the description of FullscreenController::ToggleMetroSnapMode. | 342 // See the description of FullscreenController::ToggleMetroSnapMode. |
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
924 bool window_has_shown_; | 921 bool window_has_shown_; |
925 | 922 |
926 // Currently open color chooser. Non-NULL after OpenColorChooser is called and | 923 // Currently open color chooser. Non-NULL after OpenColorChooser is called and |
927 // before DidEndColorChooser is called. | 924 // before DidEndColorChooser is called. |
928 scoped_ptr<content::ColorChooser> color_chooser_; | 925 scoped_ptr<content::ColorChooser> color_chooser_; |
929 | 926 |
930 DISALLOW_COPY_AND_ASSIGN(Browser); | 927 DISALLOW_COPY_AND_ASSIGN(Browser); |
931 }; | 928 }; |
932 | 929 |
933 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 930 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |