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

Side by Side Diff: chrome/browser/chromeos/login/html_page_screen.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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/html_page_screen.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 (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_HTML_PAGE_SCREEN_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_HTML_PAGE_SCREEN_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_HTML_PAGE_SCREEN_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_HTML_PAGE_SCREEN_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 // Overrides WebPageScreen: 47 // Overrides WebPageScreen:
48 virtual void OnNetworkTimeout() OVERRIDE; 48 virtual void OnNetworkTimeout() OVERRIDE;
49 49
50 private: 50 private:
51 // ViewScreen implementation: 51 // ViewScreen implementation:
52 virtual void CreateView() OVERRIDE; 52 virtual void CreateView() OVERRIDE;
53 virtual void Refresh() OVERRIDE; 53 virtual void Refresh() OVERRIDE;
54 virtual HTMLPageView* AllocateView() OVERRIDE; 54 virtual HTMLPageView* AllocateView() OVERRIDE;
55 55
56 virtual void HandleKeyboardEvent( 56 virtual void HandleKeyboardEvent(
57 content::WebContents* source,
57 const content::NativeWebKeyboardEvent& event) OVERRIDE; 58 const content::NativeWebKeyboardEvent& event) OVERRIDE;
58 59
59 // WebPageScreen implementation: 60 // WebPageScreen implementation:
60 virtual void CloseScreen(ScreenObserver::ExitCodes code) OVERRIDE; 61 virtual void CloseScreen(ScreenObserver::ExitCodes code) OVERRIDE;
61 62
62 // URL to navigate. 63 // URL to navigate.
63 std::string url_; 64 std::string url_;
64 65
65 UnhandledKeyboardEventHandler unhandled_keyboard_handler_; 66 UnhandledKeyboardEventHandler unhandled_keyboard_handler_;
66 67
67 DISALLOW_COPY_AND_ASSIGN(HTMLPageScreen); 68 DISALLOW_COPY_AND_ASSIGN(HTMLPageScreen);
68 }; 69 };
69 70
70 } // namespace chromeos 71 } // namespace chromeos
71 72
72 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_HTML_PAGE_SCREEN_H_ 73 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_HTML_PAGE_SCREEN_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/html_page_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698