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

Side by Side Diff: sky/engine/public/web/WebView.h

Issue 746713002: Move InspectorBackendMojo out of the blink namespace (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 /* 1 /*
2 * Copyright (C) 2009, 2010, 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2010, 2011, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 // for whether window.close() may be called. 117 // for whether window.close() may be called.
118 virtual void setOpenedByDOM() = 0; 118 virtual void setOpenedByDOM() = 0;
119 119
120 120
121 // Frames -------------------------------------------------------------- 121 // Frames --------------------------------------------------------------
122 122
123 virtual WebFrame* mainFrame() = 0; 123 virtual WebFrame* mainFrame() = 0;
124 124
125 virtual void injectModule(const WebString& path) = 0; 125 virtual void injectModule(const WebString& path) = 0;
126 126
127 virtual void connectInspectorBackend() = 0;
128
129 // Focus --------------------------------------------------------------- 127 // Focus ---------------------------------------------------------------
130 128
131 virtual WebFrame* focusedFrame() = 0; 129 virtual WebFrame* focusedFrame() = 0;
132 virtual void setFocusedFrame(WebFrame*) = 0; 130 virtual void setFocusedFrame(WebFrame*) = 0;
133 131
134 // Focus the first (last if reverse is true) focusable node. 132 // Focus the first (last if reverse is true) focusable node.
135 virtual void setInitialFocus(bool reverse) = 0; 133 virtual void setInitialFocus(bool reverse) = 0;
136 134
137 // Clears the focused element (and selection if a text field is focused) 135 // Clears the focused element (and selection if a text field is focused)
138 // to ensure that a text field on the page is not eating keystrokes we 136 // to ensure that a text field on the page is not eating keystrokes we
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 248
251 // Testing functionality for TestRunner --------------------------------- 249 // Testing functionality for TestRunner ---------------------------------
252 250
253 protected: 251 protected:
254 ~WebView() {} 252 ~WebView() {}
255 }; 253 };
256 254
257 } // namespace blink 255 } // namespace blink
258 256
259 #endif 257 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698