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

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: Switch IPC value to be the enum, rather than unsigned int 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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 #if defined(OS_WIN) 356 #if defined(OS_WIN)
357 // Sets the cutout rects from constrained windows. These are rectangles that 357 // Sets the cutout rects from constrained windows. These are rectangles that
358 // windowed NPAPI plugins shouldn't paint in. Overwrites any previous cutout 358 // windowed NPAPI plugins shouldn't paint in. Overwrites any previous cutout
359 // rects. 359 // rects.
360 void UpdateConstrainedWindowRects(const std::vector<gfx::Rect>& rects); 360 void UpdateConstrainedWindowRects(const std::vector<gfx::Rect>& rects);
361 #endif 361 #endif
362 362
363 // Method to indicate if this instance is shutting down or closing. 363 // Method to indicate if this instance is shutting down or closing.
364 // TODO(shrikant): Discuss around to see if it makes sense to add this method 364 // TODO(shrikant): Discuss around to see if it makes sense to add this method
365 // as part of RenderWidgetHostView. 365 // as part of RenderWidgetHostView.
366 bool IsClosing() const { return in_shutdown_; }; 366 bool IsClosing() const { return in_shutdown_; }
367 367
368 protected: 368 protected:
369 friend class RenderWidgetHostView; 369 friend class RenderWidgetHostView;
370 virtual ~RenderWidgetHostViewAura(); 370 virtual ~RenderWidgetHostViewAura();
371 371
372 // Should be constructed via RenderWidgetHostView::CreateViewForWidget. 372 // Should be constructed via RenderWidgetHostView::CreateViewForWidget.
373 explicit RenderWidgetHostViewAura(RenderWidgetHost* host); 373 explicit RenderWidgetHostViewAura(RenderWidgetHost* host);
374 374
375 RenderWidgetHostViewFrameSubscriber* frame_subscriber() const { 375 RenderWidgetHostViewFrameSubscriber* frame_subscriber() const {
376 return frame_subscriber_.get(); 376 return frame_subscriber_.get();
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 // passed to windowless plugins like Flash/Silverlight, etc as the 804 // passed to windowless plugins like Flash/Silverlight, etc as the
805 // container window. 805 // container window.
806 HWND plugin_parent_window_; 806 HWND plugin_parent_window_;
807 #endif 807 #endif
808 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 808 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
809 }; 809 };
810 810
811 } // namespace content 811 } // namespace content
812 812
813 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 813 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698