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

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

Issue 1653013002: Abstract ToolbarModelImpl dependencies on //content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@1
Patch Set: Address comments Created 4 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/ui/simple_web_view_dialog.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/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
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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/ui/simple_web_view_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698