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

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

Issue 11967015: Hide location bar on WebKit programmatic scroll. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove semicolon from end of message declaration Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | content/renderer/render_view_impl_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1075 matching lines...) Expand 10 before | Expand all | Expand 10 after
1086 IPC_MESSAGE_HANDLER(ViewMsg_UpdateFrameTree, OnUpdatedFrameTree) 1086 IPC_MESSAGE_HANDLER(ViewMsg_UpdateFrameTree, OnUpdatedFrameTree)
1087 #if defined(OS_ANDROID) 1087 #if defined(OS_ANDROID)
1088 IPC_MESSAGE_HANDLER(ViewMsg_ActivateNearestFindResult, 1088 IPC_MESSAGE_HANDLER(ViewMsg_ActivateNearestFindResult,
1089 OnActivateNearestFindResult) 1089 OnActivateNearestFindResult)
1090 IPC_MESSAGE_HANDLER(ViewMsg_FindMatchRects, OnFindMatchRects) 1090 IPC_MESSAGE_HANDLER(ViewMsg_FindMatchRects, OnFindMatchRects)
1091 IPC_MESSAGE_HANDLER(ViewMsg_SelectPopupMenuItems, OnSelectPopupMenuItems) 1091 IPC_MESSAGE_HANDLER(ViewMsg_SelectPopupMenuItems, OnSelectPopupMenuItems)
1092 IPC_MESSAGE_HANDLER(ViewMsg_UndoScrollFocusedEditableNodeIntoView, 1092 IPC_MESSAGE_HANDLER(ViewMsg_UndoScrollFocusedEditableNodeIntoView,
1093 OnUndoScrollFocusedEditableNodeIntoRect) 1093 OnUndoScrollFocusedEditableNodeIntoRect)
1094 IPC_MESSAGE_HANDLER(ViewMsg_EnableHidingTopControls, 1094 IPC_MESSAGE_HANDLER(ViewMsg_EnableHidingTopControls,
1095 OnEnableHidingTopControls) 1095 OnEnableHidingTopControls)
1096 IPC_MESSAGE_HANDLER(ViewMsg_ShowTopControls, OnShowTopControls)
1096 #elif defined(OS_MACOSX) 1097 #elif defined(OS_MACOSX)
1097 IPC_MESSAGE_HANDLER(ViewMsg_CopyToFindPboard, OnCopyToFindPboard) 1098 IPC_MESSAGE_HANDLER(ViewMsg_CopyToFindPboard, OnCopyToFindPboard)
1098 IPC_MESSAGE_HANDLER(ViewMsg_PluginImeCompositionCompleted, 1099 IPC_MESSAGE_HANDLER(ViewMsg_PluginImeCompositionCompleted,
1099 OnPluginImeCompositionCompleted) 1100 OnPluginImeCompositionCompleted)
1100 IPC_MESSAGE_HANDLER(ViewMsg_SelectPopupMenuItem, OnSelectPopupMenuItem) 1101 IPC_MESSAGE_HANDLER(ViewMsg_SelectPopupMenuItem, OnSelectPopupMenuItem)
1101 IPC_MESSAGE_HANDLER(ViewMsg_SetInLiveResize, OnSetInLiveResize) 1102 IPC_MESSAGE_HANDLER(ViewMsg_SetInLiveResize, OnSetInLiveResize)
1102 IPC_MESSAGE_HANDLER(ViewMsg_SetWindowVisibility, OnSetWindowVisibility) 1103 IPC_MESSAGE_HANDLER(ViewMsg_SetWindowVisibility, OnSetWindowVisibility)
1103 IPC_MESSAGE_HANDLER(ViewMsg_WindowFrameChanged, OnWindowFrameChanged) 1104 IPC_MESSAGE_HANDLER(ViewMsg_WindowFrameChanged, OnWindowFrameChanged)
1104 #endif 1105 #endif
1105 IPC_MESSAGE_HANDLER(ViewMsg_ReleaseDisambiguationPopupDIB, 1106 IPC_MESSAGE_HANDLER(ViewMsg_ReleaseDisambiguationPopupDIB,
(...skipping 5426 matching lines...) Expand 10 before | Expand all | Expand 10 after
6532 TransportDIB* dib = TransportDIB::CreateWithHandle(dib_handle); 6533 TransportDIB* dib = TransportDIB::CreateWithHandle(dib_handle);
6533 RenderProcess::current()->ReleaseTransportDIB(dib); 6534 RenderProcess::current()->ReleaseTransportDIB(dib);
6534 } 6535 }
6535 6536
6536 void RenderViewImpl::DidCommitCompositorFrame() { 6537 void RenderViewImpl::DidCommitCompositorFrame() {
6537 RenderWidget::DidCommitCompositorFrame(); 6538 RenderWidget::DidCommitCompositorFrame();
6538 FOR_EACH_OBSERVER(RenderViewObserver, observers_, DidCommitCompositorFrame()); 6539 FOR_EACH_OBSERVER(RenderViewObserver, observers_, DidCommitCompositorFrame());
6539 } 6540 }
6540 6541
6541 } // namespace content 6542 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | content/renderer/render_view_impl_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698