summaryrefslogtreecommitdiffstats
path: root/content/browser/tab_contents/tab_contents.cc
diff options
context:
space:
mode:
authorsail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-06 06:12:56 +0000
committersail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-06 06:12:56 +0000
commitd530926501d729680032a577625a25acc368b097 (patch)
tree3c5af87c766a329391bbc4a2244fc9ca26e0a85a /content/browser/tab_contents/tab_contents.cc
parent1da5f71715083669a994c6f7346f149510bf5db7 (diff)
downloadchromium_src-d530926501d729680032a577625a25acc368b097.zip
chromium_src-d530926501d729680032a577625a25acc368b097.tar.gz
chromium_src-d530926501d729680032a577625a25acc368b097.tar.bz2
Revert 113110 - backing out 113015 didn't fix the interactive test bot. Restoring the CL
Revert 113015 - speculative revert to see if this fixes the interactive test breakage Remove OnMessageReceived that was using internal content IPCs in a chrome test. Dispatch the IPC in RenderViewHost instead of TabContents to solve this (it's only used by tests anyways). Remove test_utils methods that weren't being used. BUG=98716 Review URL: http://codereview.chromium.org/8801002 TBR=jam@chromium.org Review URL: http://codereview.chromium.org/8817007 TBR=sail@chromium.org Review URL: http://codereview.chromium.org/8821005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113118 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/tab_contents/tab_contents.cc')
-rw-r--r--content/browser/tab_contents/tab_contents.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc
index 9176a5e..e716148 100644
--- a/content/browser/tab_contents/tab_contents.cc
+++ b/content/browser/tab_contents/tab_contents.cc
@@ -315,7 +315,6 @@ bool TabContents::OnMessageReceived(const IPC::Message& message) {
OnUpdateContentRestrictions)
IPC_MESSAGE_HANDLER(ViewHostMsg_GoToEntryAtOffset, OnGoToEntryAtOffset)
IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateZoomLimits, OnUpdateZoomLimits)
- IPC_MESSAGE_HANDLER(ViewHostMsg_FocusedNodeChanged, OnFocusedNodeChanged)
IPC_MESSAGE_HANDLER(ViewHostMsg_SaveURLAs, OnSaveURL)
IPC_MESSAGE_HANDLER(ViewHostMsg_EnumerateDirectory, OnEnumerateDirectory)
IPC_MESSAGE_HANDLER(ViewHostMsg_JSOutOfMemory, OnJSOutOfMemory)
@@ -1152,13 +1151,6 @@ void TabContents::OnUpdateZoomLimits(int minimum_percent,
temporary_zoom_settings_ = !remember;
}
-void TabContents::OnFocusedNodeChanged(bool is_editable_node) {
- content::NotificationService::current()->Notify(
- content::NOTIFICATION_FOCUS_CHANGED_IN_PAGE,
- content::Source<TabContents>(this),
- content::Details<const bool>(&is_editable_node));
-}
-
void TabContents::OnEnumerateDirectory(int request_id,
const FilePath& path) {
delegate()->EnumerateDirectory(this, request_id, path);