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

Side by Side Diff: content/renderer/render_view_impl.cc

Issue 14139013: Hide location bar on Javascript-initiated scroll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 8 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/renderer/render_view_impl.h" 5 #include "content/renderer/render_view_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cmath> 8 #include <cmath>
9 9
10 #include "base/auto_reset.h" 10 #include "base/auto_reset.h"
(...skipping 1099 matching lines...) Expand 10 before | Expand all | Expand 10 after
1110 IPC_MESSAGE_HANDLER(ViewMsg_UpdateFrameTree, OnUpdatedFrameTree) 1110 IPC_MESSAGE_HANDLER(ViewMsg_UpdateFrameTree, OnUpdatedFrameTree)
1111 #if defined(OS_ANDROID) 1111 #if defined(OS_ANDROID)
1112 IPC_MESSAGE_HANDLER(ViewMsg_ActivateNearestFindResult, 1112 IPC_MESSAGE_HANDLER(ViewMsg_ActivateNearestFindResult,
1113 OnActivateNearestFindResult) 1113 OnActivateNearestFindResult)
1114 IPC_MESSAGE_HANDLER(ViewMsg_FindMatchRects, OnFindMatchRects) 1114 IPC_MESSAGE_HANDLER(ViewMsg_FindMatchRects, OnFindMatchRects)
1115 IPC_MESSAGE_HANDLER(ViewMsg_SelectPopupMenuItems, OnSelectPopupMenuItems) 1115 IPC_MESSAGE_HANDLER(ViewMsg_SelectPopupMenuItems, OnSelectPopupMenuItems)
1116 IPC_MESSAGE_HANDLER(ViewMsg_UndoScrollFocusedEditableNodeIntoView, 1116 IPC_MESSAGE_HANDLER(ViewMsg_UndoScrollFocusedEditableNodeIntoView,
1117 OnUndoScrollFocusedEditableNodeIntoRect) 1117 OnUndoScrollFocusedEditableNodeIntoRect)
1118 IPC_MESSAGE_HANDLER(ViewMsg_UpdateTopControlsState, 1118 IPC_MESSAGE_HANDLER(ViewMsg_UpdateTopControlsState,
1119 OnUpdateTopControlsState) 1119 OnUpdateTopControlsState)
1120 IPC_MESSAGE_HANDLER(ViewMsg_ShowTopControls, OnShowTopControls)
1120 #elif defined(OS_MACOSX) 1121 #elif defined(OS_MACOSX)
1121 IPC_MESSAGE_HANDLER(ViewMsg_CopyToFindPboard, OnCopyToFindPboard) 1122 IPC_MESSAGE_HANDLER(ViewMsg_CopyToFindPboard, OnCopyToFindPboard)
1122 IPC_MESSAGE_HANDLER(ViewMsg_PluginImeCompositionCompleted, 1123 IPC_MESSAGE_HANDLER(ViewMsg_PluginImeCompositionCompleted,
1123 OnPluginImeCompositionCompleted) 1124 OnPluginImeCompositionCompleted)
1124 IPC_MESSAGE_HANDLER(ViewMsg_SelectPopupMenuItem, OnSelectPopupMenuItem) 1125 IPC_MESSAGE_HANDLER(ViewMsg_SelectPopupMenuItem, OnSelectPopupMenuItem)
1125 IPC_MESSAGE_HANDLER(ViewMsg_SetInLiveResize, OnSetInLiveResize) 1126 IPC_MESSAGE_HANDLER(ViewMsg_SetInLiveResize, OnSetInLiveResize)
1126 IPC_MESSAGE_HANDLER(ViewMsg_SetWindowVisibility, OnSetWindowVisibility) 1127 IPC_MESSAGE_HANDLER(ViewMsg_SetWindowVisibility, OnSetWindowVisibility)
1127 IPC_MESSAGE_HANDLER(ViewMsg_WindowFrameChanged, OnWindowFrameChanged) 1128 IPC_MESSAGE_HANDLER(ViewMsg_WindowFrameChanged, OnWindowFrameChanged)
1128 #endif 1129 #endif
1129 IPC_MESSAGE_HANDLER(ViewMsg_ReleaseDisambiguationPopupDIB, 1130 IPC_MESSAGE_HANDLER(ViewMsg_ReleaseDisambiguationPopupDIB,
(...skipping 5473 matching lines...) Expand 10 before | Expand all | Expand 10 after
6603 WebURL url = icon_urls[i].iconURL(); 6604 WebURL url = icon_urls[i].iconURL();
6604 if (!url.isEmpty()) 6605 if (!url.isEmpty())
6605 urls.push_back(FaviconURL(url, 6606 urls.push_back(FaviconURL(url,
6606 ToFaviconType(icon_urls[i].iconType()))); 6607 ToFaviconType(icon_urls[i].iconType())));
6607 } 6608 }
6608 SendUpdateFaviconURL(urls); 6609 SendUpdateFaviconURL(urls);
6609 } 6610 }
6610 6611
6611 6612
6612 } // namespace content 6613 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698