| 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 #include "chrome/browser/chromeos/login/ui/simple_web_view_dialog.h" | 5 #include "chrome/browser/chromeos/login/ui/simple_web_view_dialog.h" |
| 6 | 6 |
| 7 #include "ash/shell.h" | 7 #include "ash/shell.h" |
| 8 #include "ash/shell_window_ids.h" | 8 #include "ash/shell_window_ids.h" |
| 9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
| 10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 } | 297 } |
| 298 | 298 |
| 299 ContentSettingBubbleModelDelegate* | 299 ContentSettingBubbleModelDelegate* |
| 300 SimpleWebViewDialog::GetContentSettingBubbleModelDelegate() { | 300 SimpleWebViewDialog::GetContentSettingBubbleModelDelegate() { |
| 301 return bubble_model_delegate_.get(); | 301 return bubble_model_delegate_.get(); |
| 302 } | 302 } |
| 303 | 303 |
| 304 void SimpleWebViewDialog::ShowWebsiteSettings( | 304 void SimpleWebViewDialog::ShowWebsiteSettings( |
| 305 content::WebContents* web_contents, | 305 content::WebContents* web_contents, |
| 306 const GURL& url, | 306 const GURL& url, |
| 307 const content::SSLStatus& ssl) { | 307 const SecurityStateModel::SecurityInfo& security_info) { |
| 308 NOTIMPLEMENTED(); | 308 NOTIMPLEMENTED(); |
| 309 // TODO (markusheintz@): implement this | 309 // TODO (markusheintz@): implement this |
| 310 } | 310 } |
| 311 | 311 |
| 312 PageActionImageView* SimpleWebViewDialog::CreatePageActionImageView( | 312 PageActionImageView* SimpleWebViewDialog::CreatePageActionImageView( |
| 313 LocationBarView* owner, | 313 LocationBarView* owner, |
| 314 ExtensionAction* action) { | 314 ExtensionAction* action) { |
| 315 // Notreached because SimpleWebViewDialog uses a popup-mode LocationBarView, | 315 // Notreached because SimpleWebViewDialog uses a popup-mode LocationBarView, |
| 316 // and it doesn't create PageActionImageViews. | 316 // and it doesn't create PageActionImageViews. |
| 317 NOTREACHED(); | 317 NOTREACHED(); |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 387 | 387 |
| 388 void SimpleWebViewDialog::UpdateReload(bool is_loading, bool force) { | 388 void SimpleWebViewDialog::UpdateReload(bool is_loading, bool force) { |
| 389 if (reload_) { | 389 if (reload_) { |
| 390 reload_->ChangeMode( | 390 reload_->ChangeMode( |
| 391 is_loading ? ReloadButton::MODE_STOP : ReloadButton::MODE_RELOAD, | 391 is_loading ? ReloadButton::MODE_STOP : ReloadButton::MODE_RELOAD, |
| 392 force); | 392 force); |
| 393 } | 393 } |
| 394 } | 394 } |
| 395 | 395 |
| 396 } // namespace chromeos | 396 } // namespace chromeos |
| OLD | NEW |