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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_base.h

Issue 1461243002: [OLD ATTEMPT, DO NOT REVIEW] mustash: Enable connections to mus from the Chrome renderer Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Ben's comments Created 5 years 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_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView, 60 class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
61 public IPC::Listener { 61 public IPC::Listener {
62 public: 62 public:
63 ~RenderWidgetHostViewBase() override; 63 ~RenderWidgetHostViewBase() override;
64 64
65 // RenderWidgetHostView implementation. 65 // RenderWidgetHostView implementation.
66 void SetBackgroundColor(SkColor color) override; 66 void SetBackgroundColor(SkColor color) override;
67 void SetBackgroundColorToDefault() final; 67 void SetBackgroundColorToDefault() final;
68 bool GetBackgroundOpaque() override; 68 bool GetBackgroundOpaque() override;
69 ui::TextInputClient* GetTextInputClient() override; 69 ui::TextInputClient* GetTextInputClient() override;
70 RenderWidgetHostViewMus* AsMusView() override;
70 void WasUnOccluded() override {} 71 void WasUnOccluded() override {}
71 void WasOccluded() override {} 72 void WasOccluded() override {}
72 bool IsShowingContextMenu() const override; 73 bool IsShowingContextMenu() const override;
73 void SetShowingContextMenu(bool showing_menu) override; 74 void SetShowingContextMenu(bool showing_menu) override;
74 base::string16 GetSelectedText() const override; 75 base::string16 GetSelectedText() const override;
75 bool IsMouseLocked() override; 76 bool IsMouseLocked() override;
76 gfx::Size GetVisibleViewportSize() const override; 77 gfx::Size GetVisibleViewportSize() const override;
77 void SetInsets(const gfx::Insets& insets) override; 78 void SetInsets(const gfx::Insets& insets) override;
78 void BeginFrameSubscription( 79 void BeginFrameSubscription(
79 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; 80 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override;
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 base::OneShotTimer flush_input_timer_; 425 base::OneShotTimer flush_input_timer_;
425 426
426 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; 427 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_;
427 428
428 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 429 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
429 }; 430 };
430 431
431 } // namespace content 432 } // namespace content
432 433
433 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 434 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698