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

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

Issue 2288313002: Return the WebViewFrameWidget in RenderWidget::webwidget() if there (Closed)
Patch Set: make webview methods private 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
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 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 gfx::Point ConvertWindowPointToViewport(const gfx::Point& point); 427 gfx::Point ConvertWindowPointToViewport(const gfx::Point& point);
428 428
429 bool uses_temporary_zoom_level() const { return uses_temporary_zoom_level_; } 429 bool uses_temporary_zoom_level() const { return uses_temporary_zoom_level_; }
430 430
431 // Please do not add your stuff randomly to the end here. If there is an 431 // Please do not add your stuff randomly to the end here. If there is an
432 // appropriate section, add it there. If not, there are some random functions 432 // appropriate section, add it there. If not, there are some random functions
433 // nearer to the top you can add it to. 433 // nearer to the top you can add it to.
434 434
435 protected: 435 protected:
436 // RenderWidget overrides: 436 // RenderWidget overrides:
437 blink::WebWidget* GetWebWidget() const override;
437 void CloseForFrame() override; 438 void CloseForFrame() override;
438 void Close() override; 439 void Close() override;
439 void OnResize(const ResizeParams& params) override; 440 void OnResize(const ResizeParams& params) override;
440 void OnSetFocus(bool enable) override; 441 void OnSetFocus(bool enable) override;
441 GURL GetURLForGraphicsContext3D() override; 442 GURL GetURLForGraphicsContext3D() override;
442 void OnOrientationChange() override; 443 void OnOrientationChange() override;
443 void DidCommitCompositorFrame() override; 444 void DidCommitCompositorFrame() override;
444 void DidCompletePageScaleAnimation() override; 445 void DidCompletePageScaleAnimation() override;
445 void OnDeviceScaleFactorChanged() override; 446 void OnDeviceScaleFactorChanged() override;
446 void ResizeWebWidget() override; 447 void ResizeWebWidget() override;
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
923 // use the Observer interface to filter IPC messages and receive frame change 924 // use the Observer interface to filter IPC messages and receive frame change
924 // notifications. 925 // notifications.
925 // --------------------------------------------------------------------------- 926 // ---------------------------------------------------------------------------
926 927
927 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 928 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
928 }; 929 };
929 930
930 } // namespace content 931 } // namespace content
931 932
932 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 933 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698