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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 DownloadClosePreventionType OkToCloseWithInProgressDownloads( | 327 DownloadClosePreventionType OkToCloseWithInProgressDownloads( |
328 int* num_downloads_blocking) const; | 328 int* num_downloads_blocking) const; |
329 | 329 |
330 // Tab adding/showing functions ///////////////////////////////////////////// | 330 // Tab adding/showing functions ///////////////////////////////////////////// |
331 | 331 |
332 // Invoked when the fullscreen state of the window changes. | 332 // Invoked when the fullscreen state of the window changes. |
333 // BrowserWindow::EnterFullscreen invokes this after the window has become | 333 // BrowserWindow::EnterFullscreen invokes this after the window has become |
334 // fullscreen. | 334 // fullscreen. |
335 void WindowFullscreenStateChanged(); | 335 void WindowFullscreenStateChanged(); |
336 | 336 |
| 337 // Invoked when visible SSL state (as defined by SSLStatus) changes. |
| 338 void VisibleSSLStateChanged(content::WebContents* web_contents); |
| 339 |
337 // Assorted browser commands //////////////////////////////////////////////// | 340 // Assorted browser commands //////////////////////////////////////////////// |
338 | 341 |
339 // NOTE: Within each of the following sections, the IDs are ordered roughly by | 342 // 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.). | 343 // how they appear in the GUI/menus (left to right, top to bottom, etc.). |
341 | 344 |
342 // See the description of | 345 // See the description of |
343 // FullscreenController::ToggleFullscreenModeWithExtension. | 346 // FullscreenController::ToggleFullscreenModeWithExtension. |
344 void ToggleFullscreenModeWithExtension(const GURL& extension_url); | 347 void ToggleFullscreenModeWithExtension(const GURL& extension_url); |
345 #if defined(OS_WIN) | 348 #if defined(OS_WIN) |
346 // See the description of FullscreenController::ToggleMetroSnapMode. | 349 // See the description of FullscreenController::ToggleMetroSnapMode. |
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
934 bool window_has_shown_; | 937 bool window_has_shown_; |
935 | 938 |
936 // Currently open color chooser. Non-NULL after OpenColorChooser is called and | 939 // Currently open color chooser. Non-NULL after OpenColorChooser is called and |
937 // before DidEndColorChooser is called. | 940 // before DidEndColorChooser is called. |
938 scoped_ptr<content::ColorChooser> color_chooser_; | 941 scoped_ptr<content::ColorChooser> color_chooser_; |
939 | 942 |
940 DISALLOW_COPY_AND_ASSIGN(Browser); | 943 DISALLOW_COPY_AND_ASSIGN(Browser); |
941 }; | 944 }; |
942 | 945 |
943 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 946 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |