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

Side by Side Diff: chrome/browser/ui/views/frame/browser_view.h

Issue 1539043002: Pull SecurityStateModel out into a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 11 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
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_VIEWS_FRAME_BROWSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 void ConfirmBrowserCloseWithPendingDownloads( 345 void ConfirmBrowserCloseWithPendingDownloads(
346 int download_count, 346 int download_count,
347 Browser::DownloadClosePreventionType dialog_type, 347 Browser::DownloadClosePreventionType dialog_type,
348 bool app_modal, 348 bool app_modal,
349 const base::Callback<void(bool)>& callback) override; 349 const base::Callback<void(bool)>& callback) override;
350 void UserChangedTheme() override; 350 void UserChangedTheme() override;
351 void ShowWebsiteSettings( 351 void ShowWebsiteSettings(
352 Profile* profile, 352 Profile* profile,
353 content::WebContents* web_contents, 353 content::WebContents* web_contents,
354 const GURL& url, 354 const GURL& url,
355 const SecurityStateModel::SecurityInfo& security_info) override; 355 const security_state::SecurityStateModel::SecurityInfo& security_info)
356 override;
356 void ShowAppMenu() override; 357 void ShowAppMenu() override;
357 bool PreHandleKeyboardEvent(const content::NativeWebKeyboardEvent& event, 358 bool PreHandleKeyboardEvent(const content::NativeWebKeyboardEvent& event,
358 bool* is_keyboard_shortcut) override; 359 bool* is_keyboard_shortcut) override;
359 void HandleKeyboardEvent( 360 void HandleKeyboardEvent(
360 const content::NativeWebKeyboardEvent& event) override; 361 const content::NativeWebKeyboardEvent& event) override;
361 void CutCopyPaste(int command_id) override; 362 void CutCopyPaste(int command_id) override;
362 WindowOpenDisposition GetDispositionForPopupBounds( 363 WindowOpenDisposition GetDispositionForPopupBounds(
363 const gfx::Rect& bounds) override; 364 const gfx::Rect& bounds) override;
364 FindBar* CreateFindBar() override; 365 FindBar* CreateFindBar() override;
365 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() 366 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost()
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_; 714 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_;
714 715
715 SigninViewController signin_view_controller_; 716 SigninViewController signin_view_controller_;
716 717
717 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; 718 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_;
718 719
719 DISALLOW_COPY_AND_ASSIGN(BrowserView); 720 DISALLOW_COPY_AND_ASSIGN(BrowserView);
720 }; 721 };
721 722
722 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 723 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/browser_dialogs_views_mac.cc ('k') | chrome/browser/ui/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698