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

Side by Side Diff: chrome/browser/renderer_host/render_view_host.h

Issue 3060045: Making window.focus() work in Chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 474
475 protected: 475 protected:
476 // RenderWidgetHost protected overrides. 476 // RenderWidgetHost protected overrides.
477 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 477 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
478 bool* is_keyboard_shortcut); 478 bool* is_keyboard_shortcut);
479 virtual void UnhandledKeyboardEvent(const NativeWebKeyboardEvent& event); 479 virtual void UnhandledKeyboardEvent(const NativeWebKeyboardEvent& event);
480 virtual void OnUserGesture(); 480 virtual void OnUserGesture();
481 virtual void NotifyRendererUnresponsive(); 481 virtual void NotifyRendererUnresponsive();
482 virtual void NotifyRendererResponsive(); 482 virtual void NotifyRendererResponsive();
483 virtual void OnMsgFocusedNodeChanged(); 483 virtual void OnMsgFocusedNodeChanged();
484 virtual void OnMsgFocus();
485 virtual void OnMsgBlur();
484 486
485 // IPC message handlers. 487 // IPC message handlers.
486 void OnMsgShowView(int route_id, 488 void OnMsgShowView(int route_id,
487 WindowOpenDisposition disposition, 489 WindowOpenDisposition disposition,
488 const gfx::Rect& initial_pos, 490 const gfx::Rect& initial_pos,
489 bool user_gesture); 491 bool user_gesture);
490 void OnMsgShowWidget(int route_id, const gfx::Rect& initial_pos); 492 void OnMsgShowWidget(int route_id, const gfx::Rect& initial_pos);
491 void OnMsgRunModal(IPC::Message* reply_msg); 493 void OnMsgRunModal(IPC::Message* reply_msg);
492 void OnMsgRenderViewReady(); 494 void OnMsgRenderViewReady();
493 void OnMsgRenderViewGone(); 495 void OnMsgRenderViewGone();
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
734 int autofill_query_id_; 736 int autofill_query_id_;
735 std::vector<string16> autofill_values_; 737 std::vector<string16> autofill_values_;
736 std::vector<string16> autofill_labels_; 738 std::vector<string16> autofill_labels_;
737 std::vector<string16> autofill_icons_; 739 std::vector<string16> autofill_icons_;
738 std::vector<int> autofill_unique_ids_; 740 std::vector<int> autofill_unique_ids_;
739 741
740 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); 742 DISALLOW_COPY_AND_ASSIGN(RenderViewHost);
741 }; 743 };
742 744
743 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 745 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/notifications/balloon_host.h ('k') | chrome/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698