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 |
333 // Assorted browser commands //////////////////////////////////////////////// | 336 // Assorted browser commands //////////////////////////////////////////////// |
334 | 337 |
335 // NOTE: Within each of the following sections, the IDs are ordered roughly by | 338 // NOTE: Within each of the following sections, the IDs are ordered roughly by |
336 // how they appear in the GUI/menus (left to right, top to bottom, etc.). | 339 // how they appear in the GUI/menus (left to right, top to bottom, etc.). |
337 | 340 |
338 // See the description of | 341 // See the description of |
339 // FullscreenController::ToggleFullscreenModeWithExtension. | 342 // FullscreenController::ToggleFullscreenModeWithExtension. |
340 void ToggleFullscreenModeWithExtension(const GURL& extension_url); | 343 void ToggleFullscreenModeWithExtension(const GURL& extension_url); |
341 #if defined(OS_WIN) | 344 #if defined(OS_WIN) |
342 // See the description of FullscreenController::ToggleMetroSnapMode. | 345 // See the description of FullscreenController::ToggleMetroSnapMode. |
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
921 bool window_has_shown_; | 924 bool window_has_shown_; |
922 | 925 |
923 // Currently open color chooser. Non-NULL after OpenColorChooser is called and | 926 // Currently open color chooser. Non-NULL after OpenColorChooser is called and |
924 // before DidEndColorChooser is called. | 927 // before DidEndColorChooser is called. |
925 scoped_ptr<content::ColorChooser> color_chooser_; | 928 scoped_ptr<content::ColorChooser> color_chooser_; |
926 | 929 |
927 DISALLOW_COPY_AND_ASSIGN(Browser); | 930 DISALLOW_COPY_AND_ASSIGN(Browser); |
928 }; | 931 }; |
929 | 932 |
930 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 933 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |