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

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

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

Powered by Google App Engine
This is Rietveld 408576698