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

Side by Side Diff: sky/engine/web/ChromeClientImpl.h

Issue 872233002: Switch KeyboardEvents over to NewEventHandler (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rename virtualKeyCode to key Created 5 years, 11 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
« no previous file with comments | « sky/engine/web/BUILD.gn ('k') | sky/engine/web/ChromeClientImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 virtual void layoutUpdated(LocalFrame*) const override; 80 virtual void layoutUpdated(LocalFrame*) const override;
81 virtual void setCursor(const Cursor&) override; 81 virtual void setCursor(const Cursor&) override;
82 virtual void setTouchAction(TouchAction) override; 82 virtual void setTouchAction(TouchAction) override;
83 83
84 // ChromeClient methods: 84 // ChromeClient methods:
85 virtual String acceptLanguages() override; 85 virtual String acceptLanguages() override;
86 86
87 // ChromeClientImpl: 87 // ChromeClientImpl:
88 void setNewWindowNavigationPolicy(WebNavigationPolicy); 88 void setNewWindowNavigationPolicy(WebNavigationPolicy);
89 89
90 // FIXME: Remove this method once we have input routing in the browser
91 // process. See http://crbug.com/339659.
92 virtual void forwardInputEvent(Frame*, Event*) override;
93
94 virtual void willSetInputMethodState() override; 90 virtual void willSetInputMethodState() override;
95 virtual void didUpdateTextOfFocusedElementByNonUserInput() override; 91 virtual void didUpdateTextOfFocusedElementByNonUserInput() override;
96 virtual void showImeIfNeeded() override; 92 virtual void showImeIfNeeded() override;
97 93
98 private: 94 private:
99 virtual bool isChromeClientImpl() const override { return true; } 95 virtual bool isChromeClientImpl() const override { return true; }
100 96
101 WebNavigationPolicy getNavigationPolicy(); 97 WebNavigationPolicy getNavigationPolicy();
102 void setCursor(const WebCursorInfo&); 98 void setCursor(const WebCursorInfo&);
103 99
104 WebViewImpl* m_webView; // weak pointer 100 WebViewImpl* m_webView; // weak pointer
105 }; 101 };
106 102
107 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 103 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
108 104
109 } // namespace blink 105 } // namespace blink
110 106
111 #endif // SKY_ENGINE_WEB_CHROMECLIENTIMPL_H_ 107 #endif // SKY_ENGINE_WEB_CHROMECLIENTIMPL_H_
OLDNEW
« no previous file with comments | « sky/engine/web/BUILD.gn ('k') | sky/engine/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698