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

Side by Side Diff: chrome/browser/ui/touch_web_contents_observer_win.h

Issue 89873002: Ensure that the OSK on Windows 8 shows up when we tap on an editable field in any WebContents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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 | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2013 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 CHROME_BROWSER_UI_TOUCH_WEB_CONTENTS_OBSERVER_WIN_H_
6 #define CHROME_BROWSER_UI_TOUCH_WEB_CONTENTS_OBSERVER_WIN_H_
7
8 #include "content/public/browser/web_contents_observer.h"
9 #include "content/public/browser/web_contents_user_data.h"
10
11 // A web contents observer that's used to provide windows touch functionality
12 // for touch gestures occurring on WebContents created in the renderer,
13 // extensions and apps
14 class TouchWebContentsObserver
15 : public content::WebContentsObserver,
16 public content::WebContentsUserData<TouchWebContentsObserver> {
17 public:
18 virtual ~TouchWebContentsObserver();
19
20 private:
21 explicit TouchWebContentsObserver(content::WebContents* web_contents);
22 friend class content::WebContentsUserData<TouchWebContentsObserver>;
23
24 // content::WebContentsObserver overrides.
25 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
26
27 void OnFocusedNodeTouched(bool editable);
28
29 DISALLOW_COPY_AND_ASSIGN(TouchWebContentsObserver);
30 };
31
32 #endif // CHROME_BROWSER_UI_TOUCH_WEB_CONTENTS_OBSERVER_WIN_H_
33
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698