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

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

Issue 1870533002: Convert ContentSettingBubbleContents to a BubbleDialogDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix mac views Created 4 years, 8 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // Implements content::WebContentsDelegate: 70 // Implements content::WebContentsDelegate:
71 void NavigationStateChanged(content::WebContents* source, 71 void NavigationStateChanged(content::WebContents* source,
72 content::InvalidateTypes changed_flags) override; 72 content::InvalidateTypes changed_flags) override;
73 void LoadingStateChanged(content::WebContents* source, 73 void LoadingStateChanged(content::WebContents* source,
74 bool to_different_document) override; 74 bool to_different_document) override;
75 75
76 // Implements LocationBarView::Delegate: 76 // Implements LocationBarView::Delegate:
77 content::WebContents* GetWebContents() override; 77 content::WebContents* GetWebContents() override;
78 ToolbarModel* GetToolbarModel() override; 78 ToolbarModel* GetToolbarModel() override;
79 const ToolbarModel* GetToolbarModel() const override; 79 const ToolbarModel* GetToolbarModel() const override;
80 views::Widget* CreateViewsBubble(
81 views::BubbleDelegateView* bubble_delegate) override;
82 PageActionImageView* CreatePageActionImageView( 80 PageActionImageView* CreatePageActionImageView(
83 LocationBarView* owner, 81 LocationBarView* owner,
84 ExtensionAction* action) override; 82 ExtensionAction* action) override;
85 ContentSettingBubbleModelDelegate* GetContentSettingBubbleModelDelegate() 83 ContentSettingBubbleModelDelegate* GetContentSettingBubbleModelDelegate()
86 override; 84 override;
87 void ShowWebsiteSettings( 85 void ShowWebsiteSettings(
88 content::WebContents* web_contents, 86 content::WebContents* web_contents,
89 const GURL& url, 87 const GURL& url,
90 const security_state::SecurityStateModel::SecurityInfo& security_info) 88 const security_state::SecurityStateModel::SecurityInfo& security_info)
91 override; 89 override;
(...skipping 26 matching lines...) Expand all
118 scoped_ptr<views::WebView> web_view_container_; 116 scoped_ptr<views::WebView> web_view_container_;
119 117
120 scoped_ptr<StubBubbleModelDelegate> bubble_model_delegate_; 118 scoped_ptr<StubBubbleModelDelegate> bubble_model_delegate_;
121 119
122 DISALLOW_COPY_AND_ASSIGN(SimpleWebViewDialog); 120 DISALLOW_COPY_AND_ASSIGN(SimpleWebViewDialog);
123 }; 121 };
124 122
125 } // namespace chromeos 123 } // namespace chromeos
126 124
127 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_SIMPLE_WEB_VIEW_DIALOG_H_ 125 #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