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

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

Issue 7259004: Convert ViewMsg_NetworkStateChanged from routed -> control, allowing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Create a very simple observer, use it in BrowserProcess Created 9 years, 5 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_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_H_ 6 #define CONTENT_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 763 matching lines...) Expand 10 before | Expand all | Expand 10 after
774 void OnExecuteEditCommand(const std::string& name, const std::string& value); 774 void OnExecuteEditCommand(const std::string& name, const std::string& value);
775 void OnFileChooserResponse(const std::vector<FilePath>& paths); 775 void OnFileChooserResponse(const std::vector<FilePath>& paths);
776 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&); 776 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&);
777 void OnFindReplyAck(); 777 void OnFindReplyAck();
778 void OnEnableAccessibility(); 778 void OnEnableAccessibility();
779 void OnInstallMissingPlugin(); 779 void OnInstallMissingPlugin();
780 void OnMediaPlayerActionAt(const gfx::Point& location, 780 void OnMediaPlayerActionAt(const gfx::Point& location,
781 const WebKit::WebMediaPlayerAction& action); 781 const WebKit::WebMediaPlayerAction& action);
782 void OnMoveOrResizeStarted(); 782 void OnMoveOrResizeStarted();
783 void OnNavigate(const ViewMsg_Navigate_Params& params); 783 void OnNavigate(const ViewMsg_Navigate_Params& params);
784 void OnNetworkStateChanged(bool online);
785 void OnPaste(); 784 void OnPaste();
786 #if defined(OS_MACOSX) 785 #if defined(OS_MACOSX)
787 void OnPluginImeCompositionCompleted(const string16& text, int plugin_id); 786 void OnPluginImeCompositionCompleted(const string16& text, int plugin_id);
788 #endif 787 #endif
789 void OnRedo(); 788 void OnRedo();
790 void OnReloadFrame(); 789 void OnReloadFrame();
791 void OnReplace(const string16& text); 790 void OnReplace(const string16& text);
792 void OnReservePageIDRange(int size_of_range); 791 void OnReservePageIDRange(int size_of_range);
793 void OnResetPageEncodingToDefault(); 792 void OnResetPageEncodingToDefault();
794 void OnScriptEvalRequest(const string16& frame_xpath, 793 void OnScriptEvalRequest(const string16& frame_xpath,
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
1157 // bunch of stuff, you should probably create a helper class and put your 1156 // bunch of stuff, you should probably create a helper class and put your
1158 // data and methods on that to avoid bloating RenderView more. You can use 1157 // data and methods on that to avoid bloating RenderView more. You can use
1159 // the Observer interface to filter IPC messages and receive frame change 1158 // the Observer interface to filter IPC messages and receive frame change
1160 // notifications. 1159 // notifications.
1161 // --------------------------------------------------------------------------- 1160 // ---------------------------------------------------------------------------
1162 1161
1163 DISALLOW_COPY_AND_ASSIGN(RenderView); 1162 DISALLOW_COPY_AND_ASSIGN(RenderView);
1164 }; 1163 };
1165 1164
1166 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ 1165 #endif // CONTENT_RENDERER_RENDER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698