Chromium Code Reviews| 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_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
| 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/ui/bookmarks/bookmark_bar.h" | 9 #include "chrome/browser/ui/bookmarks/bookmark_bar.h" |
| 10 #include "chrome/browser/ui/fullscreen_exit_bubble_type.h" | 10 #include "chrome/browser/ui/fullscreen_exit_bubble_type.h" |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 279 | 279 |
| 280 // Shows the page info using the specified information. | 280 // Shows the page info using the specified information. |
| 281 // |url| is the url of the page/frame the info applies to, |ssl| is the SSL | 281 // |url| is the url of the page/frame the info applies to, |ssl| is the SSL |
| 282 // information for that page/frame. If |show_history| is true, a section | 282 // information for that page/frame. If |show_history| is true, a section |
| 283 // showing how many times that URL has been visited is added to the page info. | 283 // showing how many times that URL has been visited is added to the page info. |
| 284 virtual void ShowPageInfo(Profile* profile, | 284 virtual void ShowPageInfo(Profile* profile, |
| 285 const GURL& url, | 285 const GURL& url, |
| 286 const content::SSLStatus& ssl, | 286 const content::SSLStatus& ssl, |
| 287 bool show_history) = 0; | 287 bool show_history) = 0; |
| 288 | 288 |
| 289 // Shows the website settings using the specified informatin. |url| is the url | |
|
jennb
2012/02/17 18:13:45
informatin
markusheintz_
2012/02/20 10:18:07
Done.
| |
| 290 // of the page/frame the info applies to, |ssl| is the SSL information for | |
| 291 // that page/frame. If |show_history| is true, a section showing how many | |
| 292 // times that URL has been visited is added to the page info. | |
| 293 virtual void ShowWebsiteSettings(Profile* profile, | |
| 294 TabContentsWrapper* tab_contents_wrapper, | |
| 295 const GURL& url, | |
| 296 const content::SSLStatus& ssl, | |
| 297 bool show_history) = 0; | |
| 298 | |
| 289 // Shows the app menu (for accessibility). | 299 // Shows the app menu (for accessibility). |
| 290 virtual void ShowAppMenu() = 0; | 300 virtual void ShowAppMenu() = 0; |
| 291 | 301 |
| 292 // Allows the BrowserWindow object to handle the specified keyboard event | 302 // Allows the BrowserWindow object to handle the specified keyboard event |
| 293 // before sending it to the renderer. | 303 // before sending it to the renderer. |
| 294 // Returns true if the |event| was handled. Otherwise, if the |event| would | 304 // Returns true if the |event| was handled. Otherwise, if the |event| would |
| 295 // be handled in HandleKeyboardEvent() method as a normal keyboard shortcut, | 305 // be handled in HandleKeyboardEvent() method as a normal keyboard shortcut, |
| 296 // |*is_keyboard_shortcut| should be set to true. | 306 // |*is_keyboard_shortcut| should be set to true. |
| 297 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 307 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
| 298 bool* is_keyboard_shortcut) = 0; | 308 bool* is_keyboard_shortcut) = 0; |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 403 | 413 |
| 404 // Returns the ToolbarView. | 414 // Returns the ToolbarView. |
| 405 virtual ToolbarView* GetToolbarView() const = 0; | 415 virtual ToolbarView* GetToolbarView() const = 0; |
| 406 #endif | 416 #endif |
| 407 | 417 |
| 408 protected: | 418 protected: |
| 409 virtual ~BrowserWindowTesting() {} | 419 virtual ~BrowserWindowTesting() {} |
| 410 }; | 420 }; |
| 411 | 421 |
| 412 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 422 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
| OLD | NEW |