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

Side by Side Diff: chrome/renderer/render_view.h

Issue 6289009: [Mac] Implement the system dictionary popup by implementing NSTextInput methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_RENDERER_RENDER_VIEW_H_ 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_
6 #define CHROME_RENDERER_RENDER_VIEW_H_ 6 #define CHROME_RENDERER_RENDER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 922 matching lines...) Expand 10 before | Expand all | Expand 10 after
933 const std::string& source_lang, 933 const std::string& source_lang,
934 const std::string& target_lang); 934 const std::string& target_lang);
935 void OnUndo(); 935 void OnUndo();
936 void OnUpdateBrowserWindowId(int window_id); 936 void OnUpdateBrowserWindowId(int window_id);
937 void OnUpdateTargetURLAck(); 937 void OnUpdateTargetURLAck();
938 void OnUpdateWebPreferences(const WebPreferences& prefs); 938 void OnUpdateWebPreferences(const WebPreferences& prefs);
939 #if defined(OS_MACOSX) 939 #if defined(OS_MACOSX)
940 void OnWindowFrameChanged(const gfx::Rect& window_frame, 940 void OnWindowFrameChanged(const gfx::Rect& window_frame,
941 const gfx::Rect& view_frame); 941 const gfx::Rect& view_frame);
942 void OnSelectPopupMenuItem(int selected_index); 942 void OnSelectPopupMenuItem(int selected_index);
943 void OnCharacterIndexForPoint(gfx::Point point);
944 void OnFirstRectForCharacterRange(uint location, uint length);
945 void OnStringForRange(uint location, uint length);
943 #endif 946 #endif
944 void OnZoom(PageZoom::Function function); 947 void OnZoom(PageZoom::Function function);
945 void OnJavaScriptStressTestControl(int cmd, int param); 948 void OnJavaScriptStressTestControl(int cmd, int param);
946 949
947 // Adding a new message handler? Please add it in alphabetical order above 950 // Adding a new message handler? Please add it in alphabetical order above
948 // and put it in the same position in the .cc file. 951 // and put it in the same position in the .cc file.
949 952
950 // Misc private functions ---------------------------------------------------- 953 // Misc private functions ----------------------------------------------------
951 954
952 // Helper method that returns if the user wants to block content of type 955 // Helper method that returns if the user wants to block content of type
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
1464 // bunch of stuff, you should probably create a helper class and put your 1467 // bunch of stuff, you should probably create a helper class and put your
1465 // data and methods on that to avoid bloating RenderView more. You can use 1468 // data and methods on that to avoid bloating RenderView more. You can use
1466 // the Observer interface to filter IPC messages and receive frame change 1469 // the Observer interface to filter IPC messages and receive frame change
1467 // notifications. 1470 // notifications.
1468 // --------------------------------------------------------------------------- 1471 // ---------------------------------------------------------------------------
1469 1472
1470 DISALLOW_COPY_AND_ASSIGN(RenderView); 1473 DISALLOW_COPY_AND_ASSIGN(RenderView);
1471 }; 1474 };
1472 1475
1473 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 1476 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698