| 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 <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 content::InvalidateTypes changed_flags) override; | 71 content::InvalidateTypes changed_flags) override; |
| 72 void LoadingStateChanged(content::WebContents* source, | 72 void LoadingStateChanged(content::WebContents* source, |
| 73 bool to_different_document) override; | 73 bool to_different_document) override; |
| 74 | 74 |
| 75 // Implements LocationBarView::Delegate: | 75 // Implements LocationBarView::Delegate: |
| 76 content::WebContents* GetWebContents() override; | 76 content::WebContents* GetWebContents() override; |
| 77 ToolbarModel* GetToolbarModel() override; | 77 ToolbarModel* GetToolbarModel() override; |
| 78 const ToolbarModel* GetToolbarModel() const override; | 78 const ToolbarModel* GetToolbarModel() const override; |
| 79 ContentSettingBubbleModelDelegate* GetContentSettingBubbleModelDelegate() | 79 ContentSettingBubbleModelDelegate* GetContentSettingBubbleModelDelegate() |
| 80 override; | 80 override; |
| 81 void ShowWebsiteSettings(content::WebContents* web_contents) override; | 81 void ShowPageInfo(content::WebContents* web_contents) override; |
| 82 | 82 |
| 83 // Implements ChromeToolbarModelDelegate: | 83 // Implements ChromeToolbarModelDelegate: |
| 84 content::WebContents* GetActiveWebContents() const override; | 84 content::WebContents* GetActiveWebContents() const override; |
| 85 | 85 |
| 86 // Implements CommandUpdaterDelegate: | 86 // Implements CommandUpdaterDelegate: |
| 87 void ExecuteCommandWithDisposition(int id, WindowOpenDisposition) override; | 87 void ExecuteCommandWithDisposition(int id, WindowOpenDisposition) override; |
| 88 | 88 |
| 89 private: | 89 private: |
| 90 friend class SimpleWebViewDialogTest; | 90 friend class SimpleWebViewDialogTest; |
| 91 | 91 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 108 std::unique_ptr<views::WebView> web_view_container_; | 108 std::unique_ptr<views::WebView> web_view_container_; |
| 109 | 109 |
| 110 std::unique_ptr<StubBubbleModelDelegate> bubble_model_delegate_; | 110 std::unique_ptr<StubBubbleModelDelegate> bubble_model_delegate_; |
| 111 | 111 |
| 112 DISALLOW_COPY_AND_ASSIGN(SimpleWebViewDialog); | 112 DISALLOW_COPY_AND_ASSIGN(SimpleWebViewDialog); |
| 113 }; | 113 }; |
| 114 | 114 |
| 115 } // namespace chromeos | 115 } // namespace chromeos |
| 116 | 116 |
| 117 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_SIMPLE_WEB_VIEW_DIALOG_H_ | 117 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_SIMPLE_WEB_VIEW_DIALOG_H_ |
| OLD | NEW |