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

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

Issue 9382037: Move ContextMenuParams struct from webkit/glue to content/public/common. The reasons are: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 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 | 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 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 StatusAreaView* status_area_; 107 StatusAreaView* status_area_;
108 108
109 // DOMView for rendering a webpage as a webui login. 109 // DOMView for rendering a webpage as a webui login.
110 DOMView* webui_login_; 110 DOMView* webui_login_;
111 111
112 private: 112 private:
113 // Map type for the accelerator-to-identifier map. 113 // Map type for the accelerator-to-identifier map.
114 typedef std::map<ui::Accelerator, std::string> AccelMap; 114 typedef std::map<ui::Accelerator, std::string> AccelMap;
115 115
116 // Overridden from content::WebContentsDelegate. 116 // Overridden from content::WebContentsDelegate.
117 virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE; 117 virtual bool HandleContextMenu(
118 const content::ContextMenuParams& params) OVERRIDE;
118 virtual void HandleKeyboardEvent( 119 virtual void HandleKeyboardEvent(
119 const NativeWebKeyboardEvent& event) OVERRIDE; 120 const NativeWebKeyboardEvent& event) OVERRIDE;
120 virtual bool IsPopupOrPanel( 121 virtual bool IsPopupOrPanel(
121 const content::WebContents* source) const OVERRIDE; 122 const content::WebContents* source) const OVERRIDE;
122 virtual bool TakeFocus(bool reverse) OVERRIDE; 123 virtual bool TakeFocus(bool reverse) OVERRIDE;
123 124
124 // Called when focus is returned from status area. 125 // Called when focus is returned from status area.
125 // |reverse| is true when focus is traversed backwards (using Shift-Tab). 126 // |reverse| is true when focus is traversed backwards (using Shift-Tab).
126 void ReturnFocus(bool reverse); 127 void ReturnFocus(bool reverse);
127 128
(...skipping 22 matching lines...) Expand all
150 151
151 // Caches StatusArea visibility setting before it has been initialized. 152 // Caches StatusArea visibility setting before it has been initialized.
152 bool status_area_visibility_on_init_; 153 bool status_area_visibility_on_init_;
153 154
154 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); 155 DISALLOW_COPY_AND_ASSIGN(WebUILoginView);
155 }; 156 };
156 157
157 } // namespace chromeos 158 } // namespace chromeos
158 159
159 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ 160 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698