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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 2288313002: Return the WebViewFrameWidget in RenderWidget::webwidget() if there (Closed)
Patch Set: rename webwidget_ -> webwidget_internal_ Created 4 years, 3 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 | « content/renderer/render_frame_impl_browsertest.cc ('k') | content/renderer/render_view_impl.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 (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 CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 gfx::Point ConvertWindowPointToViewport(const gfx::Point& point); 424 gfx::Point ConvertWindowPointToViewport(const gfx::Point& point);
425 425
426 bool uses_temporary_zoom_level() const { return uses_temporary_zoom_level_; } 426 bool uses_temporary_zoom_level() const { return uses_temporary_zoom_level_; }
427 427
428 // Please do not add your stuff randomly to the end here. If there is an 428 // Please do not add your stuff randomly to the end here. If there is an
429 // appropriate section, add it there. If not, there are some random functions 429 // appropriate section, add it there. If not, there are some random functions
430 // nearer to the top you can add it to. 430 // nearer to the top you can add it to.
431 431
432 protected: 432 protected:
433 // RenderWidget overrides: 433 // RenderWidget overrides:
434 blink::WebWidget* GetWebWidget() const override;
434 void CloseForFrame() override; 435 void CloseForFrame() override;
435 void Close() override; 436 void Close() override;
436 void OnResize(const ResizeParams& params) override; 437 void OnResize(const ResizeParams& params) override;
437 void OnSetFocus(bool enable) override; 438 void OnSetFocus(bool enable) override;
438 GURL GetURLForGraphicsContext3D() override; 439 GURL GetURLForGraphicsContext3D() override;
439 void OnOrientationChange() override; 440 void OnOrientationChange() override;
440 void DidCommitCompositorFrame() override; 441 void DidCommitCompositorFrame() override;
441 void DidCompletePageScaleAnimation() override; 442 void DidCompletePageScaleAnimation() override;
442 void OnDeviceScaleFactorChanged() override; 443 void OnDeviceScaleFactorChanged() override;
443 void ResizeWebWidget() override; 444 void ResizeWebWidget() override;
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
914 // use the Observer interface to filter IPC messages and receive frame change 915 // use the Observer interface to filter IPC messages and receive frame change
915 // notifications. 916 // notifications.
916 // --------------------------------------------------------------------------- 917 // ---------------------------------------------------------------------------
917 918
918 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 919 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
919 }; 920 };
920 921
921 } // namespace content 922 } // namespace content
922 923
923 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 924 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl_browsertest.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698