summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/foreground_helper.h
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-05 12:46:38 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-05 12:46:38 +0000
commitf0a51fb571f46531025fa09240bbc3e1af925e84 (patch)
tree558b4f0e737fda4b9ab60f252c9c23b8a4ca523e /webkit/tools/test_shell/foreground_helper.h
parent6390be368205705f49ead3cec40396519f13b889 (diff)
downloadchromium_src-f0a51fb571f46531025fa09240bbc3e1af925e84.zip
chromium_src-f0a51fb571f46531025fa09240bbc3e1af925e84.tar.gz
chromium_src-f0a51fb571f46531025fa09240bbc3e1af925e84.tar.bz2
Fixes CRLF and trailing white spaces.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10982 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/foreground_helper.h')
-rw-r--r--webkit/tools/test_shell/foreground_helper.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/webkit/tools/test_shell/foreground_helper.h b/webkit/tools/test_shell/foreground_helper.h
index 4829832..aeccef8 100644
--- a/webkit/tools/test_shell/foreground_helper.h
+++ b/webkit/tools/test_shell/foreground_helper.h
@@ -12,7 +12,7 @@
// move to the foreground, unless requested by the current window in the
// foreground. For automated testing, we really want some of our windows
// to be capable of moving to the foreground.
-//
+//
// This is probably leveraging a windows bug.
class ForegroundHelper : public CWindowImpl<ForegroundHelper> {
public:
@@ -21,7 +21,7 @@ BEGIN_MSG_MAP(ForegroundHelper)
END_MSG_MAP()
// Brings a window into the foreground.
- // Can be called from any window, even if the caller is not the
+ // Can be called from any window, even if the caller is not the
// foreground window.
static HRESULT SetForeground(HWND window) {
DCHECK(::IsWindow(window));
@@ -32,7 +32,7 @@ END_MSG_MAP()
private:
HRESULT ForegroundHotKey(HWND window) {
- // This implementation registers a hot key (F22) and then
+ // This implementation registers a hot key (F22) and then
// triggers the hot key. When receiving the hot key, we'll
// be in the foreground and allowed to move the target window
// into the foreground too.
@@ -60,7 +60,7 @@ END_MSG_MAP()
return E_FAIL;
// Loop until we get the key.
- // TODO: It may be possible to get stuck here if the
+ // TODO: It may be possible to get stuck here if the
// message gets lost?
while(GetMessage(&msg, NULL, 0, 0)) {
TranslateMessage(&msg);
@@ -77,7 +77,7 @@ END_MSG_MAP()
}
// Handle the registered Hotkey being pressed.
- LRESULT OnHotKey(UINT /*uMsg*/, WPARAM /*wParam*/,
+ LRESULT OnHotKey(UINT /*uMsg*/, WPARAM /*wParam*/,
LPARAM /*lParam*/, BOOL& bHandled) {
HWND window = reinterpret_cast<HWND>(GetWindowLongPtr(GWLP_USERDATA));
SetForegroundWindow(window);