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

Side by Side Diff: ui/android/view_client.h

Issue 2502763003: Introduce ViewRoot to forward input/view events to native (Closed)
Patch Set: addressed comments Created 4 years 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
« ui/android/view_android.cc ('K') | « ui/android/view_android.cc ('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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_ANDROID_VIEW_CLIENT_H_
6 #define UI_ANDROID_VIEW_CLIENT_H_
7
8 #include "ui/android/ui_android_export.h"
9
10 namespace ui {
11
12 // Client interface used to forward events from Java to native views.
13 // Calls not handled by a client are dispatched to its children along
14 // the hierarchy of ViewAndroid. Overriden method should return true
15 // to indicate that the event was handled and stop the processing.
16 class UI_ANDROID_EXPORT ViewClient {
17 public:
18 virtual bool OnPhysicalBackingSizeChanged(int width, int height);
boliu 2016/12/06 00:34:14 if this were touch events, then returning a bool w
Jinsuk Kim 2016/12/06 07:35:07 Not really a good example for the change :/ Turne
19 };
20
21 } // namespace ui
22
23 #endif // UI_ANDROID_VIEW_CLIENT_H_
OLDNEW
« ui/android/view_android.cc ('K') | « ui/android/view_android.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698