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

Side by Side Diff: chrome/browser/chromeos/login/ui/simple_web_view_dialog.h

Issue 1539043002: Pull SecurityStateModel out into a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unit test debugging Created 5 years 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_CHROMEOS_LOGIN_UI_SIMPLE_WEB_VIEW_DIALOG_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_SIMPLE_WEB_VIEW_DIALOG_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_SIMPLE_WEB_VIEW_DIALOG_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_SIMPLE_WEB_VIEW_DIALOG_H_
7 7
8 #include <string> 8 #include <string>
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/command_updater_delegate.h" 10 #include "chrome/browser/command_updater_delegate.h"
11 #include "chrome/browser/ssl/security_state_model.h"
12 #include "chrome/browser/ui/toolbar/toolbar_model_delegate.h" 11 #include "chrome/browser/ui/toolbar/toolbar_model_delegate.h"
13 #include "chrome/browser/ui/views/location_bar/location_bar_view.h" 12 #include "chrome/browser/ui/views/location_bar/location_bar_view.h"
13 #include "components/security_state/security_state_model.h"
14 #include "content/public/browser/page_navigator.h" 14 #include "content/public/browser/page_navigator.h"
15 #include "content/public/browser/web_contents_delegate.h" 15 #include "content/public/browser/web_contents_delegate.h"
16 #include "ui/views/controls/button/image_button.h" 16 #include "ui/views/controls/button/image_button.h"
17 #include "ui/views/widget/widget_delegate.h" 17 #include "ui/views/widget/widget_delegate.h"
18 #include "url/gurl.h" 18 #include "url/gurl.h"
19 19
20 class CommandUpdater; 20 class CommandUpdater;
21 class Profile; 21 class Profile;
22 class ReloadButton; 22 class ReloadButton;
23 class ToolbarModel; 23 class ToolbarModel;
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 views::Widget* CreateViewsBubble( 79 views::Widget* CreateViewsBubble(
80 views::BubbleDelegateView* bubble_delegate) override; 80 views::BubbleDelegateView* bubble_delegate) override;
81 PageActionImageView* CreatePageActionImageView( 81 PageActionImageView* CreatePageActionImageView(
82 LocationBarView* owner, 82 LocationBarView* owner,
83 ExtensionAction* action) override; 83 ExtensionAction* action) override;
84 ContentSettingBubbleModelDelegate* GetContentSettingBubbleModelDelegate() 84 ContentSettingBubbleModelDelegate* GetContentSettingBubbleModelDelegate()
85 override; 85 override;
86 void ShowWebsiteSettings( 86 void ShowWebsiteSettings(
87 content::WebContents* web_contents, 87 content::WebContents* web_contents,
88 const GURL& url, 88 const GURL& url,
89 const SecurityStateModel::SecurityInfo& security_info) override; 89 const security_state::SecurityStateModel::SecurityInfo& security_info)
90 override;
90 91
91 // Implements ToolbarModelDelegate: 92 // Implements ToolbarModelDelegate:
92 content::WebContents* GetActiveWebContents() const override; 93 content::WebContents* GetActiveWebContents() const override;
93 94
94 // Implements CommandUpdaterDelegate: 95 // Implements CommandUpdaterDelegate:
95 void ExecuteCommandWithDisposition(int id, WindowOpenDisposition) override; 96 void ExecuteCommandWithDisposition(int id, WindowOpenDisposition) override;
96 97
97 private: 98 private:
98 friend class SimpleWebViewDialogTest; 99 friend class SimpleWebViewDialogTest;
99 100
(...skipping 16 matching lines...) Expand all
116 scoped_ptr<views::WebView> web_view_container_; 117 scoped_ptr<views::WebView> web_view_container_;
117 118
118 scoped_ptr<StubBubbleModelDelegate> bubble_model_delegate_; 119 scoped_ptr<StubBubbleModelDelegate> bubble_model_delegate_;
119 120
120 DISALLOW_COPY_AND_ASSIGN(SimpleWebViewDialog); 121 DISALLOW_COPY_AND_ASSIGN(SimpleWebViewDialog);
121 }; 122 };
122 123
123 } // namespace chromeos 124 } // namespace chromeos
124 125
125 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_SIMPLE_WEB_VIEW_DIALOG_H_ 126 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_SIMPLE_WEB_VIEW_DIALOG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698