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

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

Issue 2089933002: Context Menu Refactor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixing nits Created 4 years, 6 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 const content::NotificationDetails& details) override; 112 const content::NotificationDetails& details) override;
113 113
114 // WebView for rendering a webpage as a webui login. 114 // WebView for rendering a webpage as a webui login.
115 views::WebView* webui_login_; 115 views::WebView* webui_login_;
116 116
117 private: 117 private:
118 // Map type for the accelerator-to-identifier map. 118 // Map type for the accelerator-to-identifier map.
119 typedef std::map<ui::Accelerator, std::string> AccelMap; 119 typedef std::map<ui::Accelerator, std::string> AccelMap;
120 120
121 // Overridden from content::WebContentsDelegate. 121 // Overridden from content::WebContentsDelegate.
122 bool HandleContextMenu(const content::ContextMenuParams& params) override; 122 bool HandleContextMenu(RenderFrameHost* render_frame_host,
123 const content::ContextMenuParams& params) override;
123 void HandleKeyboardEvent( 124 void HandleKeyboardEvent(
124 content::WebContents* source, 125 content::WebContents* source,
125 const content::NativeWebKeyboardEvent& event) override; 126 const content::NativeWebKeyboardEvent& event) override;
126 bool IsPopupOrPanel(const content::WebContents* source) const override; 127 bool IsPopupOrPanel(const content::WebContents* source) const override;
127 bool TakeFocus(content::WebContents* source, bool reverse) override; 128 bool TakeFocus(content::WebContents* source, bool reverse) override;
128 void RequestMediaAccessPermission( 129 void RequestMediaAccessPermission(
129 content::WebContents* web_contents, 130 content::WebContents* web_contents,
130 const content::MediaStreamRequest& request, 131 const content::MediaStreamRequest& request,
131 const content::MediaResponseCallback& callback) override; 132 const content::MediaResponseCallback& callback) override;
132 bool CheckMediaAccessPermission(content::WebContents* web_contents, 133 bool CheckMediaAccessPermission(content::WebContents* web_contents,
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 bool forward_keyboard_event_; 175 bool forward_keyboard_event_;
175 176
176 base::ObserverList<web_modal::ModalDialogHostObserver> observer_list_; 177 base::ObserverList<web_modal::ModalDialogHostObserver> observer_list_;
177 178
178 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); 179 DISALLOW_COPY_AND_ASSIGN(WebUILoginView);
179 }; 180 };
180 181
181 } // namespace chromeos 182 } // namespace chromeos
182 183
183 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ 184 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698