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

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

Issue 690433004: Add inspect command to skydb (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « no previous file | sky/engine/web/WebViewImpl.h » ('j') | sky/engine/web/WebViewImpl.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 122
123 // Marks the WebView as being opened by a DOM call. This is relevant 123 // Marks the WebView as being opened by a DOM call. This is relevant
124 // for whether window.close() may be called. 124 // for whether window.close() may be called.
125 virtual void setOpenedByDOM() = 0; 125 virtual void setOpenedByDOM() = 0;
126 126
127 127
128 // Frames -------------------------------------------------------------- 128 // Frames --------------------------------------------------------------
129 129
130 virtual WebFrame* mainFrame() = 0; 130 virtual WebFrame* mainFrame() = 0;
131 131
132 virtual void injectModule(const WebString&) = 0;
eseidel 2014/10/29 00:05:56 Can this be a WebURL?
133
134
132 // Focus --------------------------------------------------------------- 135 // Focus ---------------------------------------------------------------
133 136
134 virtual WebFrame* focusedFrame() = 0; 137 virtual WebFrame* focusedFrame() = 0;
135 virtual void setFocusedFrame(WebFrame*) = 0; 138 virtual void setFocusedFrame(WebFrame*) = 0;
136 139
137 // Focus the first (last if reverse is true) focusable node. 140 // Focus the first (last if reverse is true) focusable node.
138 virtual void setInitialFocus(bool reverse) = 0; 141 virtual void setInitialFocus(bool reverse) = 0;
139 142
140 // Clears the focused element (and selection if a text field is focused) 143 // Clears the focused element (and selection if a text field is focused)
141 // to ensure that a text field on the page is not eating keystrokes we 144 // to ensure that a text field on the page is not eating keystrokes we
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 316
314 // Testing functionality for TestRunner --------------------------------- 317 // Testing functionality for TestRunner ---------------------------------
315 318
316 protected: 319 protected:
317 ~WebView() {} 320 ~WebView() {}
318 }; 321 };
319 322
320 } // namespace blink 323 } // namespace blink
321 324
322 #endif 325 #endif
OLDNEW
« no previous file with comments | « no previous file | sky/engine/web/WebViewImpl.h » ('j') | sky/engine/web/WebViewImpl.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698