OLD | NEW |
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/macros.h" | 9 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 LocationBarView* owner, | 83 LocationBarView* owner, |
84 ExtensionAction* action) override; | 84 ExtensionAction* action) override; |
85 ContentSettingBubbleModelDelegate* GetContentSettingBubbleModelDelegate() | 85 ContentSettingBubbleModelDelegate* GetContentSettingBubbleModelDelegate() |
86 override; | 86 override; |
87 void ShowWebsiteSettings( | 87 void ShowWebsiteSettings( |
88 content::WebContents* web_contents, | 88 content::WebContents* web_contents, |
89 const GURL& url, | 89 const GURL& url, |
90 const security_state::SecurityStateModel::SecurityInfo& security_info) | 90 const security_state::SecurityStateModel::SecurityInfo& security_info) |
91 override; | 91 override; |
92 | 92 |
93 // Implements ToolbarModelDelegate: | 93 // Implements ChromeToolbarModelDelegate: |
94 content::WebContents* GetActiveWebContents() const override; | 94 content::WebContents* GetActiveWebContents() const override; |
95 | 95 |
96 // Implements CommandUpdaterDelegate: | 96 // Implements CommandUpdaterDelegate: |
97 void ExecuteCommandWithDisposition(int id, WindowOpenDisposition) override; | 97 void ExecuteCommandWithDisposition(int id, WindowOpenDisposition) override; |
98 | 98 |
99 private: | 99 private: |
100 friend class SimpleWebViewDialogTest; | 100 friend class SimpleWebViewDialogTest; |
101 | 101 |
102 void LoadImages(); | 102 void LoadImages(); |
103 void UpdateButtons(); | 103 void UpdateButtons(); |
(...skipping 14 matching lines...) Expand all Loading... |
118 scoped_ptr<views::WebView> web_view_container_; | 118 scoped_ptr<views::WebView> web_view_container_; |
119 | 119 |
120 scoped_ptr<StubBubbleModelDelegate> bubble_model_delegate_; | 120 scoped_ptr<StubBubbleModelDelegate> bubble_model_delegate_; |
121 | 121 |
122 DISALLOW_COPY_AND_ASSIGN(SimpleWebViewDialog); | 122 DISALLOW_COPY_AND_ASSIGN(SimpleWebViewDialog); |
123 }; | 123 }; |
124 | 124 |
125 } // namespace chromeos | 125 } // namespace chromeos |
126 | 126 |
127 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_SIMPLE_WEB_VIEW_DIALOG_H_ | 127 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_SIMPLE_WEB_VIEW_DIALOG_H_ |
OLD | NEW |