Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Side by Side Diff: chrome/browser/ui/browser_window.h

Issue 9383005: Add method skeleton for showing website settings. Add commandline flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix typo in comment. Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 information. |url| is the
290 // url 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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698