OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |