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

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: Upload again after sync. 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 1098 matching lines...) Expand 10 before | Expand all | Expand 10 after
1109 IPC_MESSAGE_HANDLER(ViewMsg_UpdateFrameTree, OnUpdatedFrameTree) 1109 IPC_MESSAGE_HANDLER(ViewMsg_UpdateFrameTree, OnUpdatedFrameTree)
1110 #if defined(OS_ANDROID) 1110 #if defined(OS_ANDROID)
1111 IPC_MESSAGE_HANDLER(ViewMsg_ActivateNearestFindResult, 1111 IPC_MESSAGE_HANDLER(ViewMsg_ActivateNearestFindResult,
1112 OnActivateNearestFindResult) 1112 OnActivateNearestFindResult)
1113 IPC_MESSAGE_HANDLER(ViewMsg_FindMatchRects, OnFindMatchRects) 1113 IPC_MESSAGE_HANDLER(ViewMsg_FindMatchRects, OnFindMatchRects)
1114 IPC_MESSAGE_HANDLER(ViewMsg_SelectPopupMenuItems, OnSelectPopupMenuItems) 1114 IPC_MESSAGE_HANDLER(ViewMsg_SelectPopupMenuItems, OnSelectPopupMenuItems)
1115 IPC_MESSAGE_HANDLER(ViewMsg_UndoScrollFocusedEditableNodeIntoView, 1115 IPC_MESSAGE_HANDLER(ViewMsg_UndoScrollFocusedEditableNodeIntoView,
1116 OnUndoScrollFocusedEditableNodeIntoRect) 1116 OnUndoScrollFocusedEditableNodeIntoRect)
1117 IPC_MESSAGE_HANDLER(ViewMsg_UpdateTopControlsState, 1117 IPC_MESSAGE_HANDLER(ViewMsg_UpdateTopControlsState,
1118 OnUpdateTopControlsState) 1118 OnUpdateTopControlsState)
1119 IPC_MESSAGE_HANDLER(ViewMsg_ShowTopControls, OnShowTopControls)
1119 #elif defined(OS_MACOSX) 1120 #elif defined(OS_MACOSX)
1120 IPC_MESSAGE_HANDLER(ViewMsg_CopyToFindPboard, OnCopyToFindPboard) 1121 IPC_MESSAGE_HANDLER(ViewMsg_CopyToFindPboard, OnCopyToFindPboard)
1121 IPC_MESSAGE_HANDLER(ViewMsg_PluginImeCompositionCompleted, 1122 IPC_MESSAGE_HANDLER(ViewMsg_PluginImeCompositionCompleted,
1122 OnPluginImeCompositionCompleted) 1123 OnPluginImeCompositionCompleted)
1123 IPC_MESSAGE_HANDLER(ViewMsg_SelectPopupMenuItem, OnSelectPopupMenuItem) 1124 IPC_MESSAGE_HANDLER(ViewMsg_SelectPopupMenuItem, OnSelectPopupMenuItem)
1124 IPC_MESSAGE_HANDLER(ViewMsg_SetInLiveResize, OnSetInLiveResize) 1125 IPC_MESSAGE_HANDLER(ViewMsg_SetInLiveResize, OnSetInLiveResize)
1125 IPC_MESSAGE_HANDLER(ViewMsg_SetWindowVisibility, OnSetWindowVisibility) 1126 IPC_MESSAGE_HANDLER(ViewMsg_SetWindowVisibility, OnSetWindowVisibility)
1126 IPC_MESSAGE_HANDLER(ViewMsg_WindowFrameChanged, OnWindowFrameChanged) 1127 IPC_MESSAGE_HANDLER(ViewMsg_WindowFrameChanged, OnWindowFrameChanged)
1127 #endif 1128 #endif
1128 IPC_MESSAGE_HANDLER(ViewMsg_ReleaseDisambiguationPopupDIB, 1129 IPC_MESSAGE_HANDLER(ViewMsg_ReleaseDisambiguationPopupDIB,
(...skipping 5477 matching lines...) Expand 10 before | Expand all | Expand 10 after
6606 WebURL url = icon_urls[i].iconURL(); 6607 WebURL url = icon_urls[i].iconURL();
6607 if (!url.isEmpty()) 6608 if (!url.isEmpty())
6608 urls.push_back(FaviconURL(url, 6609 urls.push_back(FaviconURL(url,
6609 ToFaviconType(icon_urls[i].iconType()))); 6610 ToFaviconType(icon_urls[i].iconType())));
6610 } 6611 }
6611 SendUpdateFaviconURL(urls); 6612 SendUpdateFaviconURL(urls);
6612 } 6613 }
6613 6614
6614 6615
6615 } // namespace content 6616 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698