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

Side by Side Diff: content/public/renderer/render_frame_observer.h

Issue 2100753003: Enable PDF accessibility when RenderFrame's accessibility mode changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Work around cross-platform whitespace difference in print preview test Created 4 years, 5 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_PUBLIC_RENDERER_RENDER_FRAME_OBSERVER_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_FRAME_OBSERVER_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDER_FRAME_OBSERVER_H_ 6 #define CONTENT_PUBLIC_RENDERER_RENDER_FRAME_OBSERVER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 virtual void DidChangePerformanceTiming() {} 115 virtual void DidChangePerformanceTiming() {}
116 116
117 // Notification when the renderer uses a particular code path during a page 117 // Notification when the renderer uses a particular code path during a page
118 // load. This is used for metrics collection. 118 // load. This is used for metrics collection.
119 virtual void DidObserveLoadingBehavior( 119 virtual void DidObserveLoadingBehavior(
120 blink::WebLoadingBehaviorFlag behavior) {} 120 blink::WebLoadingBehaviorFlag behavior) {}
121 121
122 // Called when the focused node has changed to |node|. 122 // Called when the focused node has changed to |node|.
123 virtual void FocusedNodeChanged(const blink::WebNode& node) {} 123 virtual void FocusedNodeChanged(const blink::WebNode& node) {}
124 124
125 // Called when accessibility is enabled or disabled.
126 virtual void AccessibilityModeChanged() {}
127
125 // IPC::Listener implementation. 128 // IPC::Listener implementation.
126 bool OnMessageReceived(const IPC::Message& message) override; 129 bool OnMessageReceived(const IPC::Message& message) override;
127 130
128 // IPC::Sender implementation. 131 // IPC::Sender implementation.
129 bool Send(IPC::Message* message) override; 132 bool Send(IPC::Message* message) override;
130 133
131 RenderFrame* render_frame() const; 134 RenderFrame* render_frame() const;
132 int routing_id() const { return routing_id_; } 135 int routing_id() const { return routing_id_; }
133 136
134 protected: 137 protected:
(...skipping 10 matching lines...) Expand all
145 RenderFrame* render_frame_; 148 RenderFrame* render_frame_;
146 // The routing ID of the associated RenderFrame. 149 // The routing ID of the associated RenderFrame.
147 int routing_id_; 150 int routing_id_;
148 151
149 DISALLOW_COPY_AND_ASSIGN(RenderFrameObserver); 152 DISALLOW_COPY_AND_ASSIGN(RenderFrameObserver);
150 }; 153 };
151 154
152 } // namespace content 155 } // namespace content
153 156
154 #endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_OBSERVER_H_ 157 #endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/public/renderer/pepper_plugin_instance.h ('k') | content/public/test/browser_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698