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

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

Issue 8383001: Add ENABLE_JAVA_BRIDGE (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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 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 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after
857 void OnUpdateWebPreferences(const WebPreferences& prefs); 857 void OnUpdateWebPreferences(const WebPreferences& prefs);
858 858
859 #if defined(OS_MACOSX) 859 #if defined(OS_MACOSX)
860 void OnWindowFrameChanged(const gfx::Rect& window_frame, 860 void OnWindowFrameChanged(const gfx::Rect& window_frame,
861 const gfx::Rect& view_frame); 861 const gfx::Rect& view_frame);
862 void OnSelectPopupMenuItem(int selected_index); 862 void OnSelectPopupMenuItem(int selected_index);
863 #endif 863 #endif
864 void OnZoom(PageZoom::Function function); 864 void OnZoom(PageZoom::Function function);
865 void OnEnableViewSourceMode(); 865 void OnEnableViewSourceMode();
866 866
867 #if defined(ENABLE_JAVA_BRIDGE)
jam 2011/10/24 17:43:21 nit: it's better to have as few ifdefs as possible
867 void OnJavaBridgeInit(const IPC::ChannelHandle& channel_handle); 868 void OnJavaBridgeInit(const IPC::ChannelHandle& channel_handle);
869 #endif
868 870
869 // Adding a new message handler? Please add it in alphabetical order above 871 // Adding a new message handler? Please add it in alphabetical order above
870 // and put it in the same position in the .cc file. 872 // and put it in the same position in the .cc file.
871 873
872 // Misc private functions ---------------------------------------------------- 874 // Misc private functions ----------------------------------------------------
873 875
874 void AltErrorPageFinished(WebKit::WebFrame* frame, 876 void AltErrorPageFinished(WebKit::WebFrame* frame,
875 const WebKit::WebURLError& original_error, 877 const WebKit::WebURLError& original_error,
876 const std::string& html); 878 const std::string& html);
877 879
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
1225 // bunch of stuff, you should probably create a helper class and put your 1227 // bunch of stuff, you should probably create a helper class and put your
1226 // data and methods on that to avoid bloating RenderView more. You can 1228 // data and methods on that to avoid bloating RenderView more. You can
1227 // use the Observer interface to filter IPC messages and receive frame change 1229 // use the Observer interface to filter IPC messages and receive frame change
1228 // notifications. 1230 // notifications.
1229 // --------------------------------------------------------------------------- 1231 // ---------------------------------------------------------------------------
1230 1232
1231 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1233 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1232 }; 1234 };
1233 1235
1234 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1236 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698