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

Side by Side Diff: android_webview/renderer/aw_render_view_ext.h

Issue 893273003: Update {virtual,override,final} to follow C++11 style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 #ifndef ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_ 5 #ifndef ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_
6 #define ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_ 6 #define ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/timer/timer.h" 10 #include "base/timer/timer.h"
(...skipping 14 matching lines...) Expand all
25 25
26 // Render process side of AwRenderViewHostExt, this provides cross-process 26 // Render process side of AwRenderViewHostExt, this provides cross-process
27 // implementation of miscellaneous WebView functions that we need to poke 27 // implementation of miscellaneous WebView functions that we need to poke
28 // WebKit directly to implement (and that aren't needed in the chrome app). 28 // WebKit directly to implement (and that aren't needed in the chrome app).
29 class AwRenderViewExt : public content::RenderViewObserver { 29 class AwRenderViewExt : public content::RenderViewObserver {
30 public: 30 public:
31 static void RenderViewCreated(content::RenderView* render_view); 31 static void RenderViewCreated(content::RenderView* render_view);
32 32
33 private: 33 private:
34 AwRenderViewExt(content::RenderView* render_view); 34 AwRenderViewExt(content::RenderView* render_view);
35 virtual ~AwRenderViewExt(); 35 ~AwRenderViewExt() override;
36 36
37 // RenderView::Observer: 37 // RenderView::Observer:
38 virtual bool OnMessageReceived(const IPC::Message& message) override; 38 bool OnMessageReceived(const IPC::Message& message) override;
39 virtual void FocusedNodeChanged(const blink::WebNode& node) override; 39 void FocusedNodeChanged(const blink::WebNode& node) override;
40 virtual void DidCommitCompositorFrame() override; 40 void DidCommitCompositorFrame() override;
41 virtual void DidUpdateLayout() override; 41 void DidUpdateLayout() override;
42 virtual void Navigate(const GURL& url) override; 42 void Navigate(const GURL& url) override;
43 43
44 void OnDocumentHasImagesRequest(int id); 44 void OnDocumentHasImagesRequest(int id);
45 45
46 void OnDoHitTest(const gfx::PointF& touch_center, 46 void OnDoHitTest(const gfx::PointF& touch_center,
47 const gfx::SizeF& touch_area); 47 const gfx::SizeF& touch_area);
48 48
49 void OnSetTextZoomFactor(float zoom_factor); 49 void OnSetTextZoomFactor(float zoom_factor);
50 50
51 void OnResetScrollAndScaleState(); 51 void OnResetScrollAndScaleState();
52 52
(...skipping 11 matching lines...) Expand all
64 64
65 gfx::Size last_sent_contents_size_; 65 gfx::Size last_sent_contents_size_;
66 base::OneShotTimer<AwRenderViewExt> check_contents_size_timer_; 66 base::OneShotTimer<AwRenderViewExt> check_contents_size_timer_;
67 67
68 DISALLOW_COPY_AND_ASSIGN(AwRenderViewExt); 68 DISALLOW_COPY_AND_ASSIGN(AwRenderViewExt);
69 }; 69 };
70 70
71 } // namespace android_webview 71 } // namespace android_webview
72 72
73 #endif // ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_ 73 #endif // ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_
OLDNEW
« no previous file with comments | « android_webview/renderer/aw_render_process_observer.h ('k') | android_webview/renderer/print_render_frame_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698