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

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

Issue 2660293002: Show Page Info from Form-Not-Secure 'Learn more' link (Closed)
Patch Set: Created 3 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
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 #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/public/cpp/shell_window_ids.h" 7 #include "ash/public/cpp/shell_window_ids.h"
8 #include "ash/shell.h" 8 #include "ash/shell.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 const ToolbarModel* SimpleWebViewDialog::GetToolbarModel() const { 289 const ToolbarModel* SimpleWebViewDialog::GetToolbarModel() const {
290 return toolbar_model_.get(); 290 return toolbar_model_.get();
291 } 291 }
292 292
293 ContentSettingBubbleModelDelegate* 293 ContentSettingBubbleModelDelegate*
294 SimpleWebViewDialog::GetContentSettingBubbleModelDelegate() { 294 SimpleWebViewDialog::GetContentSettingBubbleModelDelegate() {
295 return bubble_model_delegate_.get(); 295 return bubble_model_delegate_.get();
296 } 296 }
297 297
298 void SimpleWebViewDialog::ShowWebsiteSettings( 298 void SimpleWebViewDialog::ShowWebsiteSettings(
299 content::WebContents* web_contents, 299 content::WebContents* web_contents) {
300 const GURL& virtual_url,
301 const security_state::SecurityInfo& security_info) {
302 NOTIMPLEMENTED(); 300 NOTIMPLEMENTED();
303 // TODO (markusheintz@): implement this 301 // TODO (markusheintz@): implement this
304 } 302 }
305 303
306 PageActionImageView* SimpleWebViewDialog::CreatePageActionImageView( 304 PageActionImageView* SimpleWebViewDialog::CreatePageActionImageView(
307 LocationBarView* owner, 305 LocationBarView* owner,
308 ExtensionAction* action) { 306 ExtensionAction* action) {
309 // Notreached because SimpleWebViewDialog uses a popup-mode LocationBarView, 307 // Notreached because SimpleWebViewDialog uses a popup-mode LocationBarView,
310 // and it doesn't create PageActionImageViews. 308 // and it doesn't create PageActionImageViews.
311 NOTREACHED(); 309 NOTREACHED();
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 380
383 void SimpleWebViewDialog::UpdateReload(bool is_loading, bool force) { 381 void SimpleWebViewDialog::UpdateReload(bool is_loading, bool force) {
384 if (reload_) { 382 if (reload_) {
385 reload_->ChangeMode( 383 reload_->ChangeMode(
386 is_loading ? ReloadButton::MODE_STOP : ReloadButton::MODE_RELOAD, 384 is_loading ? ReloadButton::MODE_STOP : ReloadButton::MODE_RELOAD,
387 force); 385 force);
388 } 386 }
389 } 387 }
390 388
391 } // namespace chromeos 389 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/ui/simple_web_view_dialog.h ('k') | chrome/browser/ui/autofill/chrome_autofill_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698