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

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

Issue 342143004: Defect 248426: Speak rendered text when no selection is made on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed empty lines from render_view_browsertest_mac.mm Created 6 years, 6 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_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after
748 void OnThemeChanged(); 748 void OnThemeChanged();
749 void OnUpdateTargetURLAck(); 749 void OnUpdateTargetURLAck();
750 void OnUpdateWebPreferences(const WebPreferences& prefs); 750 void OnUpdateWebPreferences(const WebPreferences& prefs);
751 void OnZoom(PageZoom zoom); 751 void OnZoom(PageZoom zoom);
752 void OnEnableViewSourceMode(); 752 void OnEnableViewSourceMode();
753 void OnDisownOpener(); 753 void OnDisownOpener();
754 void OnWindowSnapshotCompleted(const int snapshot_id, 754 void OnWindowSnapshotCompleted(const int snapshot_id,
755 const gfx::Size& size, const std::vector<unsigned char>& png); 755 const gfx::Size& size, const std::vector<unsigned char>& png);
756 void OnSelectWordAroundCaret(); 756 void OnSelectWordAroundCaret();
757 #if defined(OS_ANDROID) 757 #if defined(OS_ANDROID)
758 void OnExtractSmartClipData(const gfx::Rect& rect);
Alexei Svitkine (slow) 2014/06/25 13:58:29 Revert this part of the change.
sarka 2014/06/25 22:36:56 I think Android still uses it.
Alexei Svitkine (slow) 2014/06/26 13:06:26 I understand that. My point is you should revert t
758 void OnActivateNearestFindResult(int request_id, float x, float y); 759 void OnActivateNearestFindResult(int request_id, float x, float y);
759 void OnFindMatchRects(int current_version); 760 void OnFindMatchRects(int current_version);
760 void OnSelectPopupMenuItems(bool canceled, 761 void OnSelectPopupMenuItems(bool canceled,
761 const std::vector<int>& selected_indices); 762 const std::vector<int>& selected_indices);
762 void OnUndoScrollFocusedEditableNodeIntoRect(); 763 void OnUndoScrollFocusedEditableNodeIntoRect();
763 void OnUpdateTopControlsState(bool enable_hiding, 764 void OnUpdateTopControlsState(bool enable_hiding,
764 bool enable_showing, 765 bool enable_showing,
765 bool animate); 766 bool animate);
766 void OnExtractSmartClipData(const gfx::Rect& rect);
767 #elif defined(OS_MACOSX) 767 #elif defined(OS_MACOSX)
768 void OnGetRenderedText();
768 void OnPluginImeCompositionCompleted(const base::string16& text, 769 void OnPluginImeCompositionCompleted(const base::string16& text,
769 int plugin_id); 770 int plugin_id);
770 void OnSelectPopupMenuItem(int selected_index); 771 void OnSelectPopupMenuItem(int selected_index);
771 void OnSetInLiveResize(bool in_live_resize); 772 void OnSetInLiveResize(bool in_live_resize);
772 void OnSetWindowVisibility(bool visible); 773 void OnSetWindowVisibility(bool visible);
773 void OnWindowFrameChanged(const gfx::Rect& window_frame, 774 void OnWindowFrameChanged(const gfx::Rect& window_frame,
774 const gfx::Rect& view_frame); 775 const gfx::Rect& view_frame);
775 #endif 776 #endif
776 777
777 // Adding a new message handler? Please add it in alphabetical order above 778 // Adding a new message handler? Please add it in alphabetical order above
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
1176 // use the Observer interface to filter IPC messages and receive frame change 1177 // use the Observer interface to filter IPC messages and receive frame change
1177 // notifications. 1178 // notifications.
1178 // --------------------------------------------------------------------------- 1179 // ---------------------------------------------------------------------------
1179 1180
1180 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1181 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1181 }; 1182 };
1182 1183
1183 } // namespace content 1184 } // namespace content
1184 1185
1185 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1186 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698