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

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

Issue 1939783002: Remove all uses of skia::RefPtr and stale includes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/timer/timer.h" 8 #include "base/timer/timer.h"
9 #include "content/public/renderer/render_view_observer.h" 9 #include "content/public/renderer/render_view_observer.h"
10 #include "third_party/skia/include/core/SkColor.h"
11 #include "ui/gfx/geometry/size.h" 10 #include "ui/gfx/geometry/size.h"
12 11
13 namespace android_webview { 12 namespace android_webview {
14 13
15 // Render process side of AwRenderViewHostExt, this provides cross-process 14 // Render process side of AwRenderViewHostExt, this provides cross-process
16 // implementation of miscellaneous WebView functions that we need to poke 15 // implementation of miscellaneous WebView functions that we need to poke
17 // WebKit directly to implement (and that aren't needed in the chrome app). 16 // WebKit directly to implement (and that aren't needed in the chrome app).
18 class AwRenderViewExt : public content::RenderViewObserver { 17 class AwRenderViewExt : public content::RenderViewObserver {
19 public: 18 public:
20 static void RenderViewCreated(content::RenderView* render_view); 19 static void RenderViewCreated(content::RenderView* render_view);
(...skipping 11 matching lines...) Expand all
32 31
33 gfx::Size last_sent_contents_size_; 32 gfx::Size last_sent_contents_size_;
34 base::OneShotTimer check_contents_size_timer_; 33 base::OneShotTimer check_contents_size_timer_;
35 34
36 DISALLOW_COPY_AND_ASSIGN(AwRenderViewExt); 35 DISALLOW_COPY_AND_ASSIGN(AwRenderViewExt);
37 }; 36 };
38 37
39 } // namespace android_webview 38 } // namespace android_webview
40 39
41 #endif // ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_ 40 #endif // ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698