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

Side by Side Diff: content/renderer/render_widget.h

Issue 868933002: [Contextual Search] Check ARIA Roles before triggering. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: None. Created 5 years, 10 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
« no previous file with comments | « no previous file | content/renderer/render_widget.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_RENDERER_RENDER_WIDGET_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 10
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 virtual blink::WebScreenInfo screenInfo(); 186 virtual blink::WebScreenInfo screenInfo();
187 virtual float deviceScaleFactor(); 187 virtual float deviceScaleFactor();
188 virtual void resetInputMethod(); 188 virtual void resetInputMethod();
189 virtual void didHandleGestureEvent(const blink::WebGestureEvent& event, 189 virtual void didHandleGestureEvent(const blink::WebGestureEvent& event,
190 bool event_cancelled); 190 bool event_cancelled);
191 virtual void showImeIfNeeded(); 191 virtual void showImeIfNeeded();
192 192
193 #if defined(OS_ANDROID) 193 #if defined(OS_ANDROID)
194 // Notifies that a tap was not consumed, so showing a UI for the unhandled 194 // Notifies that a tap was not consumed, so showing a UI for the unhandled
195 // tap may be needed. 195 // tap may be needed.
196 // Performs various checks on the given WebNode to apply heuristics to
197 // determine if triggering is appropriate.
196 virtual void showUnhandledTapUIIfNeeded( 198 virtual void showUnhandledTapUIIfNeeded(
197 const blink::WebPoint& tapped_position, 199 const blink::WebPoint& tapped_position,
198 const blink::WebNode& tapped_node, 200 const blink::WebNode& tapped_node,
199 bool page_changed) override; 201 bool page_changed) override;
200 #endif 202 #endif
201 203
202 // Begins the compositor's scheduler to start producing frames. 204 // Begins the compositor's scheduler to start producing frames.
203 void StartCompositor(); 205 void StartCompositor();
204 206
205 // Stop compositing. 207 // Stop compositing.
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after
805 ui::MenuSourceType context_menu_source_type_; 807 ui::MenuSourceType context_menu_source_type_;
806 bool has_host_context_menu_location_; 808 bool has_host_context_menu_location_;
807 gfx::Point host_context_menu_location_; 809 gfx::Point host_context_menu_location_;
808 810
809 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 811 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
810 }; 812 };
811 813
812 } // namespace content 814 } // namespace content
813 815
814 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 816 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698