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

Side by Side Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 12310041: experiment with -Wimplicit-fallthrough Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: rebase Created 6 years, 11 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
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/browser/renderer_host/render_view_host_impl.h" 5 #include "content/browser/renderer_host/render_view_host_impl.h"
6 6
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 1926 matching lines...) Expand 10 before | Expand all | Expand 10 after
1937 break; 1937 break;
1938 case WebInputEvent::MouseDown: 1938 case WebInputEvent::MouseDown:
1939 delegate_->HandleMouseDown(); 1939 delegate_->HandleMouseDown();
1940 break; 1940 break;
1941 case WebInputEvent::MouseWheel: 1941 case WebInputEvent::MouseWheel:
1942 if (ignore_input_events()) 1942 if (ignore_input_events())
1943 delegate_->OnIgnoredUIEvent(); 1943 delegate_->OnIgnoredUIEvent();
1944 break; 1944 break;
1945 case WebInputEvent::MouseUp: 1945 case WebInputEvent::MouseUp:
1946 delegate_->HandleMouseUp(); 1946 delegate_->HandleMouseUp();
1947 break;
1947 default: 1948 default:
1948 // For now, we don't care about the rest. 1949 // For now, we don't care about the rest.
1949 break; 1950 break;
1950 } 1951 }
1951 } 1952 }
1952 1953
1953 void RenderViewHostImpl::OnPointerEventActivate() { 1954 void RenderViewHostImpl::OnPointerEventActivate() {
1954 delegate_->HandlePointerActivate(); 1955 delegate_->HandlePointerActivate();
1955 } 1956 }
1956 1957
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
2322 void RenderViewHostImpl::AttachToFrameTree() { 2323 void RenderViewHostImpl::AttachToFrameTree() {
2323 FrameTree* frame_tree = delegate_->GetFrameTree(); 2324 FrameTree* frame_tree = delegate_->GetFrameTree();
2324 2325
2325 frame_tree->ResetForMainFrameSwap(); 2326 frame_tree->ResetForMainFrameSwap();
2326 if (main_frame_id() != FrameTreeNode::kInvalidFrameId) { 2327 if (main_frame_id() != FrameTreeNode::kInvalidFrameId) {
2327 frame_tree->OnFirstNavigationAfterSwap(main_frame_id()); 2328 frame_tree->OnFirstNavigationAfterSwap(main_frame_id());
2328 } 2329 }
2329 } 2330 }
2330 2331
2331 } // namespace content 2332 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/browser_child_process_host_impl.cc ('k') | content/common/gpu/client/gl_helper_scaling.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698