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

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

Issue 2775963002: s/same_page/same_document for DidCommitProvisionalLoad method. (Closed)
Patch Set: Addressed review comment Created 3 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
« no previous file with comments | « no previous file | android_webview/renderer/aw_render_frame_ext.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 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 ANDROID_WEBVIEW_RENDERER_AW_RENDER_FRAME_EXT_H_ 5 #ifndef ANDROID_WEBVIEW_RENDERER_AW_RENDER_FRAME_EXT_H_
6 #define ANDROID_WEBVIEW_RENDERER_AW_RENDER_FRAME_EXT_H_ 6 #define ANDROID_WEBVIEW_RENDERER_AW_RENDER_FRAME_EXT_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "content/public/renderer/render_frame_observer.h" 9 #include "content/public/renderer/render_frame_observer.h"
10 #include "ui/gfx/geometry/point_f.h" 10 #include "ui/gfx/geometry/point_f.h"
(...skipping 14 matching lines...) Expand all
25 // WebKit directly to implement (and that aren't needed in the chrome app). 25 // WebKit directly to implement (and that aren't needed in the chrome app).
26 class AwRenderFrameExt : public content::RenderFrameObserver { 26 class AwRenderFrameExt : public content::RenderFrameObserver {
27 public: 27 public:
28 AwRenderFrameExt(content::RenderFrame* render_frame); 28 AwRenderFrameExt(content::RenderFrame* render_frame);
29 29
30 private: 30 private:
31 ~AwRenderFrameExt() override; 31 ~AwRenderFrameExt() override;
32 32
33 // RenderFrameObserver: 33 // RenderFrameObserver:
34 void DidCommitProvisionalLoad(bool is_new_navigation, 34 void DidCommitProvisionalLoad(bool is_new_navigation,
35 bool is_same_page_navigation) override; 35 bool is_same_document_navigation) override;
36 36
37 bool OnMessageReceived(const IPC::Message& message) override; 37 bool OnMessageReceived(const IPC::Message& message) override;
38 void FocusedNodeChanged(const blink::WebNode& node) override; 38 void FocusedNodeChanged(const blink::WebNode& node) override;
39 void OnDestruct() override; 39 void OnDestruct() override;
40 40
41 void OnDocumentHasImagesRequest(uint32_t id); 41 void OnDocumentHasImagesRequest(uint32_t id);
42 void OnDoHitTest(const gfx::PointF& touch_center, 42 void OnDoHitTest(const gfx::PointF& touch_center,
43 const gfx::SizeF& touch_area); 43 const gfx::SizeF& touch_area);
44 44
45 void OnSetTextZoomFactor(float zoom_factor); 45 void OnSetTextZoomFactor(float zoom_factor);
(...skipping 12 matching lines...) Expand all
58 url::Origin last_origin_; 58 url::Origin last_origin_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(AwRenderFrameExt); 60 DISALLOW_COPY_AND_ASSIGN(AwRenderFrameExt);
61 }; 61 };
62 62
63 } 63 }
64 64
65 #endif // ANDROID_WEBVIEW_RENDERER_AW_RENDER_FRAME_EXT_H_ 65 #endif // ANDROID_WEBVIEW_RENDERER_AW_RENDER_FRAME_EXT_H_
66 66
67 67
OLDNEW
« no previous file with comments | « no previous file | android_webview/renderer/aw_render_frame_ext.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698