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

Side by Side Diff: content/browser/frame_host/render_widget_host_view_child_frame.h

Issue 678073006: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bogus formatting Created 6 years, 1 month 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "content/browser/renderer_host/render_widget_host_view_base.h" 9 #include "content/browser/renderer_host/render_widget_host_view_base.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 const scoped_refptr<media::VideoFrame>& target, 93 const scoped_refptr<media::VideoFrame>& target,
94 const base::Callback<void(bool)>& callback) override; 94 const base::Callback<void(bool)>& callback) override;
95 bool CanCopyToVideoFrame() const override; 95 bool CanCopyToVideoFrame() const override;
96 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; 96 bool HasAcceleratedSurface(const gfx::Size& desired_size) override;
97 void OnSwapCompositorFrame(uint32 output_surface_id, 97 void OnSwapCompositorFrame(uint32 output_surface_id,
98 scoped_ptr<cc::CompositorFrame> frame) override; 98 scoped_ptr<cc::CompositorFrame> frame) override;
99 void GetScreenInfo(blink::WebScreenInfo* results) override; 99 void GetScreenInfo(blink::WebScreenInfo* results) override;
100 gfx::Rect GetBoundsInRootWindow() override; 100 gfx::Rect GetBoundsInRootWindow() override;
101 gfx::GLSurfaceHandle GetCompositingSurface() override; 101 gfx::GLSurfaceHandle GetCompositingSurface() override;
102 #if defined(USE_AURA) 102 #if defined(USE_AURA)
103 virtual void ProcessAckedTouchEvent( 103 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch,
104 const TouchEventWithLatencyInfo& touch, 104 InputEventAckState ack_result) override;
105 InputEventAckState ack_result) override;
106 #endif // defined(USE_AURA) 105 #endif // defined(USE_AURA)
107 bool LockMouse() override; 106 bool LockMouse() override;
108 void UnlockMouse() override; 107 void UnlockMouse() override;
109 108
110 #if defined(OS_MACOSX) 109 #if defined(OS_MACOSX)
111 // RenderWidgetHostView implementation. 110 // RenderWidgetHostView implementation.
112 void SetActive(bool active) override; 111 void SetActive(bool active) override;
113 void SetWindowVisibility(bool visible) override; 112 void SetWindowVisibility(bool visible) override;
114 void WindowFrameChanged() override; 113 void WindowFrameChanged() override;
115 void ShowDefinitionForSelection() override; 114 void ShowDefinitionForSelection() override;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 // sent through it are routed to the embedding renderer process. 152 // sent through it are routed to the embedding renderer process.
154 CrossProcessFrameConnector* frame_connector_; 153 CrossProcessFrameConnector* frame_connector_;
155 154
156 private: 155 private:
157 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); 156 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame);
158 }; 157 };
159 158
160 } // namespace content 159 } // namespace content
161 160
162 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 161 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698