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/browser/renderer_host/render_view_host.h

Issue 208020: Change the view mode when switching between moles and toolstrips, and (Closed)
Patch Set: build system workarounds Created 11 years, 3 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 429
430 // Send the response to an extension api call. 430 // Send the response to an extension api call.
431 void SendExtensionResponse(int request_id, bool success, 431 void SendExtensionResponse(int request_id, bool success,
432 const std::string& response, 432 const std::string& response,
433 const std::string& error); 433 const std::string& error);
434 434
435 // Send a response to an extension api call that it was blocked for lack of 435 // Send a response to an extension api call that it was blocked for lack of
436 // permission. 436 // permission.
437 void BlockExtensionRequest(int request_id); 437 void BlockExtensionRequest(int request_id);
438 438
439 // Notify the renderer that its view type has changed.
440 void ViewTypeChanged(ViewType::Type type);
441
439 void SignalModalDialogEvent(); 442 void SignalModalDialogEvent();
440 void ResetModalDialogEvent(); 443 void ResetModalDialogEvent();
441 444
442 // Tell renderer which browser window it is being attached to. 445 // Tell renderer which browser window it is being attached to.
443 void UpdateBrowserWindowId(int window_id); 446 void UpdateBrowserWindowId(int window_id);
444 447
445 void set_in_inspect_element_mode(bool enabled) { 448 void set_in_inspect_element_mode(bool enabled) {
446 in_inspect_element_mode_ = enabled; 449 in_inspect_element_mode_ = enabled;
447 } 450 }
448 451
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 // While in this mode, mouse click is converted into InspectElement 667 // While in this mode, mouse click is converted into InspectElement
665 // command. 668 // command.
666 bool in_inspect_element_mode_; 669 bool in_inspect_element_mode_;
667 670
668 NotificationRegistrar registrar_; 671 NotificationRegistrar registrar_;
669 672
670 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); 673 DISALLOW_COPY_AND_ASSIGN(RenderViewHost);
671 }; 674 };
672 675
673 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 676 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_shelf_model.cc ('k') | chrome/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698