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

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac.h

Issue 1858063002: Remove Mac NPAPI things (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_widget_host_view_mac.h
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.h b/content/browser/renderer_host/render_widget_host_view_mac.h
index 2a4ad7fc80c7b6196f9931b1cbf8f3c1aa025ec9..2f015795df49095102a78cfdfe98bea29d67cb4e 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.h
+++ b/content/browser/renderer_host/render_widget_host_view_mac.h
@@ -81,8 +81,6 @@ class Layer;
// Is YES if there was a mouse-down as yet unbalanced with a mouse-up.
BOOL hasOpenMouseDown_;
- NSWindow* lastWindow_; // weak
-
// The cursor for the page. This is passed up from the renderer.
base::scoped_nsobject<NSCursor> currentCursor_;
@@ -143,12 +141,6 @@ class Layer;
// etc.
content::EditCommands editCommands_;
- // The plugin that currently has focus (-1 if no plugin has focus).
- int focusedPluginIdentifier_;
-
- // Whether or not plugin IME is currently enabled active.
- BOOL pluginImeActive_;
-
// Whether the previous mouse event was ignored due to hitTest check.
BOOL mouseEventWasIgnored_;
@@ -285,8 +277,6 @@ class CONTENT_EXPORT RenderWidgetHostViewMac
gfx::Rect GetViewBounds() const override;
void SetShowingContextMenu(bool showing) override;
void SetActive(bool active) override;
- void SetWindowVisibility(bool visible) override;
- void WindowFrameChanged() override;
void ShowDefinitionForSelection() override;
bool SupportsSpeech() const override;
void SpeakSelection() override;
@@ -334,8 +324,6 @@ class CONTENT_EXPORT RenderWidgetHostViewMac
BrowserAccessibilityManager* CreateBrowserAccessibilityManager(
BrowserAccessibilityDelegate* delegate, bool for_root_frame) override;
gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) override;
- bool PostProcessEventForPluginIme(
- const NativeWebKeyboardEvent& event) override;
bool HasAcceleratedSurface(const gfx::Size& desired_size) override;
void GetScreenInfo(blink::WebScreenInfo* results) override;
@@ -385,9 +373,6 @@ class CONTENT_EXPORT RenderWidgetHostViewMac
void SetTextInputActive(bool active);
- // Sends completed plugin IME notification and text back to the renderer.
- void PluginImeCompositionCompleted(const base::string16& text, int plugin_id);
-
const std::string& selected_text() const { return selected_text_; }
const gfx::Range& composition_range() const { return composition_range_; }
const base::string16& selection_text() const { return selection_text_; }
@@ -559,8 +544,6 @@ class CONTENT_EXPORT RenderWidgetHostViewMac
void DestroyBrowserCompositorView();
// IPC message handlers.
- void OnPluginFocusChanged(bool focused, int plugin_id);
- void OnStartPluginIme();
void OnGetRenderedTextCompleted(const std::string& text);
// Send updated vsync parameters to the renderer.

Powered by Google App Engine
This is Rietveld 408576698