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

Side by Side Diff: content/browser/web_contents/web_contents_view_mus.h

Issue 2411793008: Adds BeginFrameControl via DevTools.
Patch Set: BFC prototype v2 with allow_latency_opts and waiting for BFOs. Created 4 years, 1 month 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_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MUS_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MUS_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MUS_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MUS_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 gfx::NativeView context) override; 59 gfx::NativeView context) override;
60 RenderWidgetHostViewBase* CreateViewForWidget( 60 RenderWidgetHostViewBase* CreateViewForWidget(
61 RenderWidgetHost* render_widget_host, 61 RenderWidgetHost* render_widget_host,
62 bool is_guest_view_hack) override; 62 bool is_guest_view_hack) override;
63 RenderWidgetHostViewBase* CreateViewForPopupWidget( 63 RenderWidgetHostViewBase* CreateViewForPopupWidget(
64 RenderWidgetHost* render_widget_host) override; 64 RenderWidgetHost* render_widget_host) override;
65 void SetPageTitle(const base::string16& title) override; 65 void SetPageTitle(const base::string16& title) override;
66 void RenderViewCreated(RenderViewHost* host) override; 66 void RenderViewCreated(RenderViewHost* host) override;
67 void RenderViewSwappedIn(RenderViewHost* host) override; 67 void RenderViewSwappedIn(RenderViewHost* host) override;
68 void SetOverscrollControllerEnabled(bool enabled) override; 68 void SetOverscrollControllerEnabled(bool enabled) override;
69 ui::Compositor* GetCompositor() const override;
69 #if defined(OS_MACOSX) 70 #if defined(OS_MACOSX)
70 void SetAllowOtherViews(bool allow) override; 71 void SetAllowOtherViews(bool allow) override;
71 bool GetAllowOtherViews() const override; 72 bool GetAllowOtherViews() const override;
72 bool IsEventTracking() const override; 73 bool IsEventTracking() const override;
73 void CloseTabAfterEventTracking() override; 74 void CloseTabAfterEventTracking() override;
74 #endif 75 #endif
75 76
76 // Backend implementation of RenderViewHostDelegateView. 77 // Backend implementation of RenderViewHostDelegateView.
77 void ShowContextMenu(RenderFrameHost* render_frame_host, 78 void ShowContextMenu(RenderFrameHost* render_frame_host,
78 const ContextMenuParams& params) override; 79 const ContextMenuParams& params) override;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 std::unique_ptr<WebContentsViewDelegate> delegate_; 112 std::unique_ptr<WebContentsViewDelegate> delegate_;
112 std::unique_ptr<aura::Window> aura_window_; 113 std::unique_ptr<aura::Window> aura_window_;
113 std::unique_ptr<ui::ScopedWindowPtr> mus_window_; 114 std::unique_ptr<ui::ScopedWindowPtr> mus_window_;
114 115
115 DISALLOW_COPY_AND_ASSIGN(WebContentsViewMus); 116 DISALLOW_COPY_AND_ASSIGN(WebContentsViewMus);
116 }; 117 };
117 118
118 } // namespace content 119 } // namespace content
119 120
120 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MUS_H_ 121 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MUS_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_view_mac.mm ('k') | content/browser/web_contents/web_contents_view_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698