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

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

Issue 1815593002: Remove windowed NPAPI code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@make_test_plugin_windowless
Patch Set: rebase Created 4 years, 9 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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 #include <IOSurface/IOSurface.h> 9 #include <IOSurface/IOSurface.h>
10 #include <stddef.h> 10 #include <stddef.h>
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 bool SupportsSpeech() const override; 291 bool SupportsSpeech() const override;
292 void SpeakSelection() override; 292 void SpeakSelection() override;
293 bool IsSpeaking() const override; 293 bool IsSpeaking() const override;
294 void StopSpeaking() override; 294 void StopSpeaking() override;
295 void SetBackgroundColor(SkColor color) override; 295 void SetBackgroundColor(SkColor color) override;
296 296
297 // Implementation of RenderWidgetHostViewBase. 297 // Implementation of RenderWidgetHostViewBase.
298 void InitAsPopup(RenderWidgetHostView* parent_host_view, 298 void InitAsPopup(RenderWidgetHostView* parent_host_view,
299 const gfx::Rect& pos) override; 299 const gfx::Rect& pos) override;
300 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; 300 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override;
301 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override;
302 void Focus() override; 301 void Focus() override;
303 void UpdateCursor(const WebCursor& cursor) override; 302 void UpdateCursor(const WebCursor& cursor) override;
304 void SetIsLoading(bool is_loading) override; 303 void SetIsLoading(bool is_loading) override;
305 void TextInputStateChanged( 304 void TextInputStateChanged(
306 const ViewHostMsg_TextInputState_Params& params) override; 305 const ViewHostMsg_TextInputState_Params& params) override;
307 void ImeCancelComposition() override; 306 void ImeCancelComposition() override;
308 void ImeCompositionRangeChanged( 307 void ImeCompositionRangeChanged(
309 const gfx::Range& range, 308 const gfx::Range& range,
310 const std::vector<gfx::Rect>& character_bounds) override; 309 const std::vector<gfx::Rect>& character_bounds) override;
311 void RenderProcessGone(base::TerminationStatus status, 310 void RenderProcessGone(base::TerminationStatus status,
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 620
622 // Factory used to safely scope delayed calls to ShutdownHost(). 621 // Factory used to safely scope delayed calls to ShutdownHost().
623 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; 622 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_;
624 623
625 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 624 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
626 }; 625 };
627 626
628 } // namespace content 627 } // namespace content
629 628
630 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 629 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698