| 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::WebContents* OpenURL(const content::OpenURLParams& params) override; | 71 content::WebContents* OpenURL(const content::OpenURLParams& params) override; |
| 72 | 72 |
| 73 // Implements content::WebContentsDelegate: | 73 // Implements content::WebContentsDelegate: |
| 74 void NavigationStateChanged(content::WebContents* source, | 74 void NavigationStateChanged(content::WebContents* source, |
| 75 content::InvalidateTypes changed_flags) override; | 75 content::InvalidateTypes changed_flags) override; |
| 76 void LoadingStateChanged(content::WebContents* source, | 76 void LoadingStateChanged(content::WebContents* source, |
| 77 bool to_different_document) override; | 77 bool to_different_document) override; |
| 78 | 78 |
| 79 // Implements LocationBarView::Delegate: | 79 // Implements LocationBarView::Delegate: |
| 80 content::WebContents* GetWebContents() override; | 80 content::WebContents* GetWebContents() override; |
| 81 const content::WebContents* GetWebContents() const override; |
| 81 ToolbarModel* GetToolbarModel() override; | 82 ToolbarModel* GetToolbarModel() override; |
| 82 const ToolbarModel* GetToolbarModel() const override; | 83 const ToolbarModel* GetToolbarModel() const override; |
| 83 PageActionImageView* CreatePageActionImageView( | 84 PageActionImageView* CreatePageActionImageView( |
| 84 LocationBarView* owner, | 85 LocationBarView* owner, |
| 85 ExtensionAction* action) override; | 86 ExtensionAction* action) override; |
| 86 ContentSettingBubbleModelDelegate* GetContentSettingBubbleModelDelegate() | 87 ContentSettingBubbleModelDelegate* GetContentSettingBubbleModelDelegate() |
| 87 override; | 88 override; |
| 88 void ShowWebsiteSettings( | 89 void ShowWebsiteSettings( |
| 89 content::WebContents* web_contents, | 90 content::WebContents* web_contents, |
| 90 const GURL& virtual_url, | 91 const GURL& virtual_url, |
| (...skipping 27 matching lines...) Expand all Loading... |
| 118 std::unique_ptr<views::WebView> web_view_container_; | 119 std::unique_ptr<views::WebView> web_view_container_; |
| 119 | 120 |
| 120 std::unique_ptr<StubBubbleModelDelegate> bubble_model_delegate_; | 121 std::unique_ptr<StubBubbleModelDelegate> bubble_model_delegate_; |
| 121 | 122 |
| 122 DISALLOW_COPY_AND_ASSIGN(SimpleWebViewDialog); | 123 DISALLOW_COPY_AND_ASSIGN(SimpleWebViewDialog); |
| 123 }; | 124 }; |
| 124 | 125 |
| 125 } // namespace chromeos | 126 } // namespace chromeos |
| 126 | 127 |
| 127 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_SIMPLE_WEB_VIEW_DIALOG_H_ | 128 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_SIMPLE_WEB_VIEW_DIALOG_H_ |
| OLD | NEW |