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

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

Issue 10837112: Add WebContents* to some more WebContentsDelegate methods (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_WEBUI_LOGIN_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 views::WebView* webui_login_; 94 views::WebView* webui_login_;
95 95
96 private: 96 private:
97 // Map type for the accelerator-to-identifier map. 97 // Map type for the accelerator-to-identifier map.
98 typedef std::map<ui::Accelerator, std::string> AccelMap; 98 typedef std::map<ui::Accelerator, std::string> AccelMap;
99 99
100 // Overridden from content::WebContentsDelegate. 100 // Overridden from content::WebContentsDelegate.
101 virtual bool HandleContextMenu( 101 virtual bool HandleContextMenu(
102 const content::ContextMenuParams& params) OVERRIDE; 102 const content::ContextMenuParams& params) OVERRIDE;
103 virtual void HandleKeyboardEvent( 103 virtual void HandleKeyboardEvent(
104 content::WebContents* source,
104 const content::NativeWebKeyboardEvent& event) OVERRIDE; 105 const content::NativeWebKeyboardEvent& event) OVERRIDE;
105 virtual bool IsPopupOrPanel( 106 virtual bool IsPopupOrPanel(
106 const content::WebContents* source) const OVERRIDE; 107 const content::WebContents* source) const OVERRIDE;
107 virtual bool TakeFocus(bool reverse) OVERRIDE; 108 virtual bool TakeFocus(content::WebContents* source, bool reverse) OVERRIDE;
108 virtual void RequestMediaAccessPermission( 109 virtual void RequestMediaAccessPermission(
109 content::WebContents* web_contents, 110 content::WebContents* web_contents,
110 const content::MediaStreamRequest* request, 111 const content::MediaStreamRequest* request,
111 const content::MediaResponseCallback& callback) OVERRIDE; 112 const content::MediaResponseCallback& callback) OVERRIDE;
112 113
113 // Performs series of actions when login prompt is considered 114 // Performs series of actions when login prompt is considered
114 // to be ready and visible. 115 // to be ready and visible.
115 // 1. Emits LoginPromptVisible signal if needed 116 // 1. Emits LoginPromptVisible signal if needed
116 // 2. Notifies OOBE/sign classes. 117 // 2. Notifies OOBE/sign classes.
117 void OnLoginPromptVisible(); 118 void OnLoginPromptVisible();
(...skipping 24 matching lines...) Expand all
142 // Should we emit the login-prompt-visible signal when the login page is 143 // Should we emit the login-prompt-visible signal when the login page is
143 // displayed? 144 // displayed?
144 bool should_emit_login_prompt_visible_; 145 bool should_emit_login_prompt_visible_;
145 146
146 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); 147 DISALLOW_COPY_AND_ASSIGN(WebUILoginView);
147 }; 148 };
148 149
149 } // namespace chromeos 150 } // namespace chromeos
150 151
151 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ 152 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/registration_screen.cc ('k') | chrome/browser/chromeos/login/webui_login_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698