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

Unified Diff: chrome/browser/ui/tab_contents/core_tab_helper.cc

Issue 99093004: Merge 237646 "Ensure that the OSK on Windows 8 shows up when we ..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1700/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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/tab_contents/core_tab_helper.h ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/tab_contents/core_tab_helper.cc
===================================================================
--- chrome/browser/ui/tab_contents/core_tab_helper.cc (revision 238173)
+++ chrome/browser/ui/tab_contents/core_tab_helper.cc (working copy)
@@ -31,10 +31,6 @@
#include "ui/base/l10n/l10n_util.h"
#include "ui/gfx/codec/jpeg_codec.h"
-#if defined(OS_WIN)
-#include "base/win/win_util.h"
-#endif
-
using content::WebContents;
DEFINE_WEB_CONTENTS_USER_DATA_KEY(CoreTabHelper);
@@ -195,8 +191,6 @@
bool CoreTabHelper::OnMessageReceived(const IPC::Message& message) {
bool handled = true;
IPC_BEGIN_MESSAGE_MAP(CoreTabHelper, message)
- IPC_MESSAGE_HANDLER(ChromeViewHostMsg_FocusedNodeTouched,
- OnFocusedNodeTouched)
IPC_MESSAGE_HANDLER(ChromeViewHostMsg_RequestThumbnailForContextNode_ACK,
OnRequestThumbnailForContextNodeACK)
IPC_MESSAGE_UNHANDLED(handled = false)
@@ -204,16 +198,6 @@
return handled;
}
-void CoreTabHelper::OnFocusedNodeTouched(bool editable) {
-#if defined(OS_WIN) && defined(USE_AURA)
- if (editable) {
- base::win::DisplayVirtualKeyboard();
- } else {
- base::win::DismissVirtualKeyboard();
- }
-#endif // OS_WIN && USE_AURA
-}
-
// Handles the image thumbnail for the context node, composes a image search
// request based on the received thumbnail and opens the request in a new tab.
void CoreTabHelper::OnRequestThumbnailForContextNodeACK(
« no previous file with comments | « chrome/browser/ui/tab_contents/core_tab_helper.h ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698