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

Side by Side Diff: third_party/WebKit/public/web/WebViewClient.h

Issue 2370663002: Remove logic to reset input method more than needed (Closed)
Patch Set: fixed handle issue in another CL Created 3 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
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebViewTest.cpp ('k') | no next file » | 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 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 virtual void pageImportanceSignalsChanged() {} 107 virtual void pageImportanceSignalsChanged() {}
108 108
109 // Called to get the position of the root window containing the widget 109 // Called to get the position of the root window containing the widget
110 // in screen coordinates. 110 // in screen coordinates.
111 virtual WebRect rootWindowRect() { return WebRect(); } 111 virtual WebRect rootWindowRect() { return WebRect(); }
112 112
113 // Editing ------------------------------------------------------------- 113 // Editing -------------------------------------------------------------
114 114
115 // These methods allow the client to intercept and overrule editing 115 // These methods allow the client to intercept and overrule editing
116 // operations. 116 // operations.
117 virtual void didCancelCompositionOnSelectionChange() {}
118 virtual void didChangeContents() {} 117 virtual void didChangeContents() {}
119 118
120 // Dialogs ------------------------------------------------------------- 119 // Dialogs -------------------------------------------------------------
121 120
122 // Ask users to choose date/time for the specified parameters. When a user 121 // Ask users to choose date/time for the specified parameters. When a user
123 // chooses a value, an implementation of this function should call 122 // chooses a value, an implementation of this function should call
124 // WebDateTimeChooserCompletion::didChooseValue or didCancelChooser. If the 123 // WebDateTimeChooserCompletion::didChooseValue or didCancelChooser. If the
125 // implementation opened date/time chooser UI successfully, it should return 124 // implementation opened date/time chooser UI successfully, it should return
126 // true. This function is used only if ExternalDateTimeChooser is used. 125 // true. This function is used only if ExternalDateTimeChooser is used.
127 virtual bool openDateTimeChooser(const WebDateTimeChooserParams&, 126 virtual bool openDateTimeChooser(const WebDateTimeChooserParams&,
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 void show(WebNavigationPolicy) override {} 282 void show(WebNavigationPolicy) override {}
284 virtual WebWidgetClient* widgetClient() { return this; } 283 virtual WebWidgetClient* widgetClient() { return this; }
285 284
286 protected: 285 protected:
287 ~WebViewClient() {} 286 ~WebViewClient() {}
288 }; 287 };
289 288
290 } // namespace blink 289 } // namespace blink
291 290
292 #endif 291 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebViewTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698