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

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

Issue 145283003: Switch AccessibilityMode to be a bitmap (Closed) Base URL: https://chromium.googlesource.com/chromium/src@enable
Patch Set: rebase Created 6 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
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_AURA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 virtual void Focus() OVERRIDE; 184 virtual void Focus() OVERRIDE;
185 virtual void Blur() OVERRIDE; 185 virtual void Blur() OVERRIDE;
186 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; 186 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE;
187 virtual void SetIsLoading(bool is_loading) OVERRIDE; 187 virtual void SetIsLoading(bool is_loading) OVERRIDE;
188 virtual void TextInputTypeChanged(ui::TextInputType type, 188 virtual void TextInputTypeChanged(ui::TextInputType type,
189 ui::TextInputMode input_mode, 189 ui::TextInputMode input_mode,
190 bool can_compose_inline) OVERRIDE; 190 bool can_compose_inline) OVERRIDE;
191 virtual void ImeCancelComposition() OVERRIDE; 191 virtual void ImeCancelComposition() OVERRIDE;
192 virtual void ImeCompositionRangeChanged( 192 virtual void ImeCompositionRangeChanged(
193 const gfx::Range& range, 193 const gfx::Range& range,
194 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; 194 const std::vector<gfx::Rect>& character_bounds);
195 virtual void DidUpdateBackingStore( 195 virtual void DidUpdateBackingStore(
196 const gfx::Rect& scroll_rect, 196 const gfx::Rect& scroll_rect,
197 const gfx::Vector2d& scroll_delta, 197 const gfx::Vector2d& scroll_delta,
198 const std::vector<gfx::Rect>& copy_rects, 198 const std::vector<gfx::Rect>& copy_rects,
199 const std::vector<ui::LatencyInfo>& latency_info) OVERRIDE; 199 const std::vector<ui::LatencyInfo>& latency_info) OVERRIDE;
200 virtual void RenderProcessGone(base::TerminationStatus status, 200 virtual void RenderProcessGone(base::TerminationStatus status,
201 int error_code) OVERRIDE; 201 int error_code) OVERRIDE;
202 virtual void Destroy() OVERRIDE; 202 virtual void Destroy() OVERRIDE;
203 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; 203 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE;
204 virtual void SelectionChanged(const base::string16& text, 204 virtual void SelectionChanged(const base::string16& text,
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 #if defined(OS_WIN) 355 #if defined(OS_WIN)
356 // Sets the cutout rects from constrained windows. These are rectangles that 356 // Sets the cutout rects from constrained windows. These are rectangles that
357 // windowed NPAPI plugins shouldn't paint in. Overwrites any previous cutout 357 // windowed NPAPI plugins shouldn't paint in. Overwrites any previous cutout
358 // rects. 358 // rects.
359 void UpdateConstrainedWindowRects(const std::vector<gfx::Rect>& rects); 359 void UpdateConstrainedWindowRects(const std::vector<gfx::Rect>& rects);
360 #endif 360 #endif
361 361
362 // Method to indicate if this instance is shutting down or closing. 362 // Method to indicate if this instance is shutting down or closing.
363 // TODO(shrikant): Discuss around to see if it makes sense to add this method 363 // TODO(shrikant): Discuss around to see if it makes sense to add this method
364 // as part of RenderWidgetHostView. 364 // as part of RenderWidgetHostView.
365 bool IsClosing() const { return in_shutdown_; }; 365 bool IsClosing() const { return in_shutdown_; }
366 366
367 protected: 367 protected:
368 friend class RenderWidgetHostView; 368 friend class RenderWidgetHostView;
369 virtual ~RenderWidgetHostViewAura(); 369 virtual ~RenderWidgetHostViewAura();
370 370
371 // Should be constructed via RenderWidgetHostView::CreateViewForWidget. 371 // Should be constructed via RenderWidgetHostView::CreateViewForWidget.
372 explicit RenderWidgetHostViewAura(RenderWidgetHost* host); 372 explicit RenderWidgetHostViewAura(RenderWidgetHost* host);
373 373
374 RenderWidgetHostViewFrameSubscriber* frame_subscriber() const { 374 RenderWidgetHostViewFrameSubscriber* frame_subscriber() const {
375 return frame_subscriber_.get(); 375 return frame_subscriber_.get();
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 // passed to windowless plugins like Flash/Silverlight, etc as the 808 // passed to windowless plugins like Flash/Silverlight, etc as the
809 // container window. 809 // container window.
810 HWND plugin_parent_window_; 810 HWND plugin_parent_window_;
811 #endif 811 #endif
812 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 812 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
813 }; 813 };
814 814
815 } // namespace content 815 } // namespace content
816 816
817 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 817 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698